v1.20
New Features
- Automatically set the correct instance URL in
SALEOR_API_URLwhen usingsaleor store create --demo - Introduced the
--exampleargument 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 switchcan 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 tunnelis 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


