Release Notes > 6.5.0
Upgrade From 6.4.x to 6.5.0
Learn how to upgrade Webiny from 6.4.x to 6.5.0.
- how to upgrade Webiny from 6.4.x to 6.5.0
Make sure to check out the 6.5.0 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:
Note that the command above will run upgrades for all available versions of Webiny up to 6.5.0. If there are upgrades for 6.4.1, 6.4.5, they will be ran.
You can omit the version to upgrade to the latest available:
Once the upgrade has finished, running the yarn webiny --version command in your terminal should return 6.5.0.
If the above command fails or is not available in your setup, you can run the upgrade script directly via npx:
2. Deploy Your Project
Proceed by redeploying your Webiny project:
3. Upgrade Your Next.js Frontend Packages
In your Next.js project, bump @webiny/website-builder-nextjs and @webiny/sdk to 6.5.0, so they match your Webiny version.
No code changes are needed. Your components keep working, including ones that read mimeType, width, or height from a file input. Crops, focal points, and alt text set in the 6.5 editor show up once your components read file inputs through normalizeToAsset(). See File Inputs.
Optionally, move to the new @webiny/sdk-nextjs package, which adds Headless CMS content, live preview, and content entry inputs to your frontend. Upgrade Next.js Frontend to 6.5.0 has an AI prompt for it, plus the same changes as manual steps.
Your project keeps its existing “Website Builder” API key, which can only read Website Builder data. To use Headless CMS content, content entry inputs, or CMS live preview in your frontend, give the key read access to Headless CMS under Settings → Access Management → API Keys.
dev or staging.