Skip to main content

Upgrade from 5.15.0 to 5.16.0

What you’ll learn
  • how to upgrade Webiny from 5.15.0 to 5.16.0
danger

Before continuing, make sure to take the necessary precautions, listed in the Overview section.

info

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

1. Upgrade Webiny Packages

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

yarn up "@webiny/*@5.16.0"

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

info

Before moving on, make sure you commit all your changes.

2. Run the Upgrade Command

The next step is to run the project upgrade:

yarn webiny upgrade
note

Starting from this release, we've decided to slightly change the way we approach project upgrades. For more information, please check out the changelog.

Once the upgrade command has finished, you can run the git status command to see all changes that the command performed.

3. Deploy Your Project

Finally, proceed by re-deploying your Webiny project:

# Execute in your project root.
yarn webiny deploy --env {environment}
caution

As stated in the Overview section, we recommend that you first deploy your changes into one of your pre-production environments, like dev or staging.

tip

Learn more about different deployment environments in the CI/CD / Environments key topic.