Skip to content

Releases: saleor/cli

v1.22

29 Nov 10:32
839aa18
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Fixes

  • Fix the Online Checker for GitHub Actions

Full Changelog: 1.17.1...1.17.2

v1.17.1

04 Oct 07:27
fc2c922
Compare
Choose a tag to compare

Fixes

  • Fix args for ping on different OSes

Full Changelog: 1.17.0...1.17.1

v1.17.0

04 Oct 07:25
b88261f
Compare
Choose a tag to compare

Major

  • Allow to skip create GH repo prompt by @2can in #387
  • Improve contentBox header by @2can in #388
  • Fix the yargs middleware composition by @zaiste in #391
  • Fix app deploy re-deployment by @2can in #393
  • Introduce set of functional tests for deploy commands by @2can in #394
  • Direct Saleor URL in storefront and checkout by @zaiste in #401
  • Fix the store --demo creation by @zaiste in #406
  • Add project tests by @michalina-graczyk in #403
  • Simplify the app tunnel and adds app uninstall by @zaiste in #410
  • Use commit hash for store create & app create by @2can in #412
  • Fix the instance URL assignment flow by @zaiste in #411

Minor

  • Improve the PR template by @zaiste in #392
  • Update docs for deploy commands by @2can in #397
  • Document dev commands in docs by @2can in #398
  • Show more descriptive error for failed Vercel deployment by @2can in #399
  • Allow to skip dashboard admin email for env create by @2can in #407
  • Improve env show functional test by @2can in #413

Full Changelog: 1.16.0...1.17.0