Releases: saleor/cli
v1.22
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
forwebhook create
command - Updated the release process in the README
Full Changelog: 1.21.0...1.22.0
v1.21
New Features
(none)
Improvements
- we improved handling of inaccessible environment.
The change introduced environment verification on Saleor Cloud.
Graphql endpoint availability:
Full Changelog: 1.20.0...1.21.0
v1.20
New Features
- Automatically set the correct instance URL in
SALEOR_API_URL
when usingsaleor store create --demo
- Introduced the
--example
argument for thesaleor 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
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
- 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.
- 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).
Fixes
- fix the instance endpoint for
saleor app list
Full Changelog: 1.19.0...1.20.0
v1.19.0
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
v1.18.1
v1.18.0
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
andstore 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
v1.17.1
v1.17.0
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 addsapp 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