Skip to content

v0.39.4

Compare
Choose a tag to compare
@thedavidprice thedavidprice released this 10 Dec 01:36
· 6056 commits to main since this release

🗓 RedwoodJS Meetup: December 9th
Join us for a very special RedwoodJS Meetup next Thursday! With v1.0.0-rc as the focus, there will be presentations, demos, and discussions from community members and startup founders. You won’t want to miss it!

Changelog and Breaking

⚠️ This release has breaking changes. Please see the "Breaking" section for more info.

This release is equivalent to the v1.0.0-rc.4 release

See v1.0.0-rc.4 "Changelog" and "Breaking" sections.


How to Upgrade

🧭 Code Modifications: Follow the Upgrade Guide

The guide will walk you through everything required to get up and running. Fast! We've posted it on the Redwood Forums — be sure to ask questions as needed and let us know how it goes:

Here's a list of the upgrade steps included:

  1. Update Babel Config (required)
  2. Rename Router paramType Properties (required if applicable)
  3. Node.js package.json Engine (recommended)
  4. Update your Cell Mocks (required if applicable)
  5. Accessing API Paths (required if applicable)
  6. Upgrade Tailwindcss to v3 (recommended if applicable)
  7. Use Tailwindcss for Scaffolds (recommended if applicable)
  8. dbAuth: harden getCurrentUser() implementation (required if applicable)
  9. Upgrade Azure Active Directory Auth from msal to @azure/msal-* (required if applicable)

Once you're done, don't forget to upgrade your packages!

Upgrade Packages from v0.38.x to v0.39

Run the following command within your App's directory:

yarn redwood upgrade

✨New Step✨ Yarn Dedupe and Install

Sometimes packages don't get resolved correctly in yarn.lock. To make sure you project has a "healthy" lock file, run the following commands:

npx yarn-deduplicate
yarn install

This will fix any potential issues (if any) in your project's yarn.lock ✅and then install any necessary upgrades.

✅ Don't forget to git commit your updated yarn.lock file

Upgrading from an earlier version?

Please follow the "how to upgrade" sections for each newer version here 👉 https://github.com/redwoodjs/redwood/releases, as there may be manual code mods needed for each version.

Upgrading to a version that is not the latest?

The command yarn rw upgrade will always upgrade to the latest (i.e. most recent) Redwood version. If you need to upgrade incrementally to an earlier, specific release, use the --tag option. For example, if you need to upgrade from v0.34.1 to v0.35.0, run the following command:

yarn redwood upgrade --tag 0.35.0

Need help or having trouble upgrading packages?

See this forum topic for manual upgrade instructions and general upgrade help.