Skip to content

Releases: saleor/cli

v1.24

06 Dec 16:00
84a01ac

Choose a tag to compare

New Features

(none)

Improvements

  • Improved error message if the environment is not found
  • Added alias for the key positional argument of backup remove command
  • Auto update of CLI docs during development
  • Refined the Sentry capture mechanism
  • Unified the error handling on the CLI boundary

Full Changelog: 1.23.0...1.24.0

v1.23

30 Nov 12:50
ab5b09e

Choose a tag to compare

New Features

  • Option --use-ngrok for app tunnel command. The tunnel command switches to use ngrok binary instead of the built-in tunnel.

Improvements

  • Validation of targetUrl for webhook create
  • CLI output width has been unset from 80 characters. This improves the help output readability.
  • Detection of open executable to handle headless environments. For commands that require browser, error is shown when the browser is not available.
  • Option --short for app token command. The CLI silences the output to token only so commands like pbcopy can properly grab it

Full Changelog: 1.22.0...1.23.0

v1.22

29 Nov 10:32
839aa18

Choose a tag to compare

New Features

  • Cache data between commands - the manifest URL of the most recent deployed app is hinted during app install command

Improvements

  • Detection of headless mode for commands requiring browser
    saleor login
    saleor github login
    saleor vercel login
    saleor register
  • Introduced validation of targetUrl for webhook create command
  • Updated the release process in the README

Full Changelog: 1.21.0...1.22.0

v1.21

22 Nov 12:58

Choose a tag to compare

New Features

(none)

Improvements

  • we improved handling of inaccessible environment.

The change introduced environment verification on Saleor Cloud.

Graphql endpoint availability:
CleanShot 2022-11-22 at 13 19 37@2x

Database layer availability:
CleanShot 2022-11-22 at 13 26 41@2x

Full Changelog: 1.20.0...1.21.0

v1.20

16 Nov 08:29
f01b9a7

Choose a tag to compare

New Features

  • Automatically set the correct instance URL in SALEOR_API_URL when using saleor store create --demo
  • Introduced the --example argument for the saleor app create. You can now quickly use our app examples as a starting point when building Saleor Apps
saleor app create --example external-webhook

If you pass this argument without its value, we will display a list of existing examples to choose from

saleor app create --example

CleanShot 2022-11-22 at 13 38 25@2x

Improvements

  • saleor env switch can now accept the environment name as input
  • reorganised the message display through the entire app, for better terminal compatibility we use alternate symbols while Unicode is not supported
  • we now inform that there is a built-in tunnel when creating a new Saleor App
    CleanShot 2022-11-22 at 13 47 20@2x
  • if there is just one organization or just one environment, it gets automatically selected during the prompt for convenience
  • we eliminated the direct calls to get the API instance endpoint. Instead, we use the middleware stack and harmonised the approach
  • we improved the watch mode in development with esbuild
  • we now display the Dashboard URL when the saleor app tunnel is run

We have added the additional line with link to the app in the Dashboard. It's handy to find the app among many App installs or instances. The link provides the App id in the URL.

CleanShot 2022-11-22 at 13 42 35@2x

  • we improved the system login status for different providers (saleor status)

Previously it verified the presence of the tokens in the configuration file to display the status of the connection.

Right now we verify the token validity. We also store the environment name along with the Saleor token. This allows to automatically pick the proper Cloud environment (useful for the Saleor team).

CleanShot 2022-11-22 at 11 56 25@2x

Fixes

  • fix the instance endpoint for saleor app list

Full Changelog: 1.19.0...1.20.0

v1.19.0

07 Nov 17:46
257c663

Choose a tag to compare

New Features

(none)

Improvements

  • Greatly improved automatic, nightly tests
  • Introduced the automatic test for the backup command
  • Improved the process of uninstalling Saleor apps
  • Introduced the automatic test for the app tunnel command
  • Make the telemetry upstream call non-blocking and properly handle the errors

Fixes

  • Fix the online checker on Windows operating system

Full Changelog: 1.18.2...1.19.0

v1.18.2

04 Nov 10:11
121357c

Choose a tag to compare

Fixes

  • fix the ping arguments for Win32

Full Changelog: 1.18.1...1.18.2

v1.18.1

21 Oct 16:26
7660c2a

Choose a tag to compare

Fixes

  • set the APL env variable to vercel for the app deployment

Full Changelog: 1.18.0...1.18.1

v1.18.0

17 Oct 07:26
5607161

Choose a tag to compare

New Features

Online Checker

Saleor CLI requires Internet connection to operate. This version detects if you're offline and informs about it before trying to perform given command.

GitHub Actions Testing Workflow

There is a process that periodically runs tests for critical paths of Saleor CLI.

Uninstall Saleor App

There is a new subcommand in the app family, i.e. app uninstall. Uninstalling Saleor Apps can be done only by the app ID, e.g.

saleor app uninstall <app id>

If a wrong ID, or no ID is passed, there's an appropriate error displayed

JSON Output

You can pass --json option to all commands that return an output to force its format to be JSON. This is especially useful in the automation or CI context.

For example:

saleor app list --json

will return a list of Saleor Apps as a JSON array.

Improvements

  • From this version, we use only stable/LTS Node.js versions
  • We introduced our own CLI library for pretty printing instead of boxen
  • We simplify the register command. Now, you'll be redirected to our web application to create a Saleor Cloud account
  • We now obfuscate tokens used in CLI in debug
  • Both, app create and store create default to stable branches in the respective repositories

Fixes

  • Fix the URL parsing for the Saleor instance arguments
  • Fix arguments for the ping invocation to accommodate the differences between various operating systems

Full Changelog: 1.17.2...1.18.0

v1.17.2

17 Oct 07:04
03c45f4

Choose a tag to compare

Fixes

  • Fix the Online Checker for GitHub Actions

Full Changelog: 1.17.1...1.17.2