What you’ll learn
  • how to upgrade Webiny from 5.21.0 to 5.22.1
This Webiny upgrade only requires an update of npm packages. Make sure to check out the 5.22.1 changelog to get familiar with the changes introduced in this release.

1. Upgrade Webiny Packages

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

yarn up "@webiny/*@5.22.1"

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

2. Deploy Your Project

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.