- what does it mean to upgrade Webiny
- how to upgrade Webiny to a specific version
Whenever you’re doing an upgrade, we recommended that you first deploy your changes into one of your pre-production environments, like
staging. Once you’ve confirmed everything works as expected, then you can start planning moving into the production.
If you have any additional questions or concerns, please don’t hesitate to send us a message via our community Slack channel .5.9.0 → 5.10.0. If you see the guide that matches your versions, follow it. It may contain additional steps to upgrade your Webiny project, as sometimes there are changes in project file organization, project configs, etc.
If there’s no dedicated article, upgrades are as easy as upgrading all the
@webiny/* packages to the desired version.
// Make sure you replace the version number in the command. yarn up "@firstname.lastname@example.org"
yarn up command updates all your
package.json files in all workspaces across the project. Learn more about it in the official documentation .
Once that’s done, you can deploy your project.
You should never skip versions as each upgrade can contain additional manual steps that need to be taken. The steps will always be listed in upgrade guides.
yarn webiny deploycommand.
Additionally, before you re-deploy the changes into the production environment, it’s recommended that you re-deploy the changes into one of your test or preview environments first.
Differences between these two versions are so vast that it’s simply impossible to do the upgrade. If you’re interested in migrating your existing project to v5, unfortunately, you will have to recreate your existing content in a new v5 project, either manually, or by writing your own custom migration scripts.
In your terminal of choice and in your project root, run the following command:
yarn webiny --version
Additionally, the version is also shown in the deployed Admin Area React application, at the bottom of the main menu: