What you’ll learn
- how to upgrade Webiny from 5.9.0 to 5.10.0
Before continuing, make sure to take the necessary precautions, listed in the Overview section.
Make sure to check out the 5.10.0 changelog to get familiar with all the changes introduced in this release.
First, we need to prepare your project for the upgrade process.
We renamed our shared Elasticsearch package from
api-elasticsearch, and we need to update package.json files that are using it, before attempting to upgrade packages using
In your project root, run the following:
We're now ready to upgrade all
@webiny/* packages! Run the following command:
Once the upgrade has finished, running the
yarn webiny --version command in your terminal should return
Before moving on, make sure you commit all your changes.
Now let's run the project upgrade:
The upgrade script will make a couple of changes to your existing API project application's code (located within the
api folder). Once the upgrade command has finished, you can run the
git status command to see all changes that the command performed.
Finally, proceed by re-deploying your Webiny project:
As stated in the Overview section, we recommend that you first deploy your changes into one of your pre-production environments, like
Learn more about different deployment environments in the CI/CD / Environments key topic.