What you’ll learn
  • how to upgrade Webiny from 5.23.1 to 5.24.0
Make sure to check out the 5.24.0 changelog to get familiar with the changes introduced in this release.

1. Upgrade Webiny Packages
anchor

Upgrade all @webiny/* packages by running the following command:

yarn up "@webiny/*@5.24.0"

Once the upgrade has finished, running the yarn webiny --version command in your terminal should return 5.24.0.

As we mentioned in the changelog, we’re in the process of tightening the Typescript rules, making it stricter, and improving the code quality. Because of that, there is a possibility of some build issues in your existing projects, if you have a non-default setup or custom plugins.

To minimize the impact of TS strictness, we are NOT CHANGING your existing tsconfig.json configuration. If you want to use stricter rules, you’ll have to enable them yourself.

2. Deploy Your Project
anchor

Proceed by redeploying your Webiny project:

# Execute in your project root.
yarn webiny deploy --env {environment}
As stated in the Upgrade Webiny section, we recommend that you first deploy your changes into one of your pre-production environments, like dev or staging.
Learn more about different deployment environments in the CI/CD / Environments key topic.