For the full list of changes, check out the Webiny 5.40.0external link release on GitHub.

Breaking Changes❗
anchor

Removed Deprecated APIs (#4051external link)
anchor

With this release, we’ve removed a couple of backend JavaScript APIs that were marked as deprecated in previous releases.

Essentially, we’ve removed a couple of older methods used for subscribing to lifecycle events and also for performing Headless CMS-related security permissions checks.

For more information and how to migrate your code, please refer to the separate Deprecated APIs article.

Other Improvements
anchor

Webiny CLI andcreate-webiny-project(#4045external link)
anchor

With this release, we took some time to improve the Webiny CLI and the create-webiny-project CLI, which is used to create new Webiny projects. The focus was on improving the overall user experience and making the CLI tools more user-friendly.

In the following sections, we cover some of the user-facing improvements that were made. For a full list of changes, check out the linked pull requestexternal link.

Pulumi Output Hidden by Default
anchor

When running the webiny deploy command, the Pulumi output is now hidden by default. This is to reduce the amount of noise in the terminal and to make the output more readable.

Pulumi Output Hidden By DefaultPulumi Output Hidden By Default
(click to enlarge)

If you still want to see the Pulumi output, you can use the --deployment-logs flag, for example:

Note that no matter if the --deployment-logs flag was passed or not, the Pulumi output will always be shown in case of an error.

Graceful Error Handling
anchor

We’ve improved the error handling in the Webiny CLI. Now, when an error occurs, the CLI will display a more user-friendly error message, along with a suggestion on how to resolve the issue.

Graceful Error HandlingGraceful Error Handling
(click to enlarge)

Note that, at the moment, only a handful of errors are covered by this improvement. We plan to expand this feature in future releases.

Always Showing Project Details After a Full Deployment
anchor

After a successful full project deployment, Webiny CLI will now always show the project details.

Always Showing Project Details After A Full DeploymentAlways Showing Project Details After A Full Deployment
(click to enlarge)

Prior to this release, the project details would need to be fetched manually by running the webiny info command. This way, you can quickly see the project details after a deployment.

Improvedwebiny aboutCommand
anchor

The webiny about command has been improved to provide more information about the Webiny project you’re working on. The command now also includes the following information:

  1. the database setup the project is using
  2. user’s current version of NPM.
  3. whether the command was run in a CI/CD environment
Improved "webiny about" CommandImproved "webiny about" Command
(click to enlarge)

Refreshedwebiny infoCommand
anchor

The webiny info command has been visually refreshed a bit.

Refreshed "webiny info" CommandRefreshed "webiny info" Command
(click to enlarge)

Webiny Control Panel (WCP) Badge in Admin App
anchor

A small WCP badge was added to the main menu in the Admin application.

The badge is shown when your Webiny project is linked to the Webiny Control Panel (WCP). Also, by hovering over the badge, the project ID will be displayed in a tooltip.

WCP Badge In Admin AppWCP Badge In Admin App
(click to enlarge)