What you’ll learn
  • how to upgrade Webiny from 5.42.x to 5.43.4

Make sure to check out the 5.43.4 changelog to get familiar with the changes introduced in this release.

Step-by-Step Guide
anchor

1. Upgrade Webiny Packages
anchor

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.43.4.

2. Run the Upgrade Command (If Upgrading From 5.42.x)
anchor

In case you are upgrading to 5.43.4 from 5.42.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.42.x to 5.43.0 upgrade guide.

3. Update Your Project's Dependencies (Even if Upgrading From 5.43.x)
anchor

Because this patch addresses some of the security vulnerabilities in Webiny dependencies, you must run some commands to make sure your project is using latest possible versions of those dependencies.

This step is required because some of the dependencies are not directly controlled by Webiny, and you need to update them manually.

4. Deploy Your Project
anchor

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.