RedwoodJS v0.19.0

v0.19.0 Highlights

  • We’ve upgraded to Apollo Client v3!
  • We’ve dropped support for IE 11 and remove some things in the bundle that are no longer required. This gave us a ~80KB reduction in bundle size.

Changed

Added

Fixed

Breaking :warning:

  • We’ve dropped support for IE 11, which might be a concern for some users, if you absolutely want to support IE 11 please reach out to @peterp and he’ll write up some instructions.
  • We’ve upgraded Apollo Client to v3.1.4, if you modified the cache when a mutation ran then you might experience some issues, please check the migration notes for Apollo Client: Migrating to Apollo Client 3.0 - Apollo GraphQL Docs

How to upgrade RedwoodJS to v0.19.0

:point_right: IMPORTANT: Skipping versions when upgrading is not recommended and will likely cause problems. Do read through all Release Notes between your current version and this latest version. Each minor release will likely require you to implement breaking change fixes and apply manual code modifications.

Manual Code Modifications

  1. In the last few releases, we let you know that db should not be passed createGraphQLHandler . We’ve now removed that. You should instead disconnect from Prisma in onException in the file api/src/functions/graphql.js :
  2. Drop support for IE 11 by updating Browserslist targets in web/package.json :
  3. Improve VS Code debugging by adding .vscode/launch.json :

Upgrade Packages

Run the following command within your App directory:

yarn rw upgrade

To run the upgrade command, your project must be using v0.6.0 or greater. See this forum topic for manual upgrade instructions and general upgrade help.


Redwood Releases on GitHub

You can see all Redwood release notes and version history on GitHub

2 Likes

Note: we updated the instructions for code modifications above to add the Browserslist target change and launch.json for VS Code debugging.

We’ve just released v0.19.1 with a few minor fixes: https://github.com/redwoodjs/redwood/releases/tag/v0.19.1

We’ve released v0.19.2 with fixes to get the VS Code Extension working:

We’ve released v0.19.3 to fix the VS Code extension on Windows: