Release Notes > 6.5.4
Upgrade From 6.5.x to 6.5.4
Learn how to upgrade Webiny from 6.5.x to 6.5.4.
- how to upgrade Webiny from 6.5.x to 6.5.4
Make sure to check out the 6.5.4 changelog to get familiar with the changes introduced in this release.
Step-by-Step Guide
1. Upgrade Webiny Packages
Upgrade all Webiny packages by running the following command:
yarn webiny upgrade 6.5.4 --debugNote that the command above will run upgrades for all available versions of Webiny up to 6.5.4. If there are upgrades for 6.5.1, 6.5.5, they will be ran.
You can omit the version to upgrade to the latest available:
yarn webiny upgrade --debugOnce the upgrade has finished, running the yarn webiny --version command in your terminal should return 6.5.4.
If the above command fails or is not available in your setup, you can run the upgrade script directly via npx:
npx https://github.com/webiny/webiny-upgrades-v6 6.5.4 --debug2. Deploy Your Project
Proceed by redeploying your Webiny project:
# Execute in your project root.
yarn webiny deploy --env {environment}{/ custom-steps:start - kept when the guide is regenerated /}
3. Add Emotion to Admin Extensions That Use It
Webiny packages no longer install Emotion (@emotion/css, @emotion/react, @emotion/styled). If your admin extensions import Emotion, add the packages they use to the package.json of each extension, then run yarn again. Imports that relied on Webiny installing Emotion fail to build otherwise.
ButtonContainer is no longer an Emotion component either. Replace styled(ButtonContainer) and the as prop with a className.
{/ custom-steps:end /}
dev or staging.