Release Notes > Older Releases > 5.40.4
Upgrade From 5.39.x to 5.40.4
Learn how to upgrade Webiny from 5.39.x to 5.40.4.
What you’ll learn
- how to upgrade Webiny from 5.39.x to 5.40.4
Make sure to check out the 5.40.4 changelog to get familiar with the changes introduced in this release.
Step-by-Step Guide
1. Upgrade Webiny Packages
Upgrade all Webiny NPM packages by running the following command:
Once the upgrade has finished, running the yarn webiny --version
command in your terminal should return 5.40.4.
2. Run the Upgrade Command (If Upgrading From 5.39.x)
In case you are upgrading to 5.40.4 from 5.39.x, you must upgrade your project. Depending on your project, you might also need to perform a couple of manual steps.
Before proceeding with the next step, make sure to check the 2. Run the Upgrade Command section of the Upgrade From 5.39.x to 5.40.0 upgrade guide.
3. Deploy Your Project
Proceed by redeploying your Webiny project:
Make sure you deploy the entire system using the command shown above! You have to deploy all apps before using the system. Partial deploys will cause the upgrade to be applied incorrectly.
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.