npm @redwoodjs/core 4.4.2
v4.4.2

latest releases: 9.0.0-canary.153, 9.0.0-canary.152, 8.2.1-next.10...
18 months ago

Patch Release

This release includes critical fixes for projects that use Clerk auth or Prisma connection pooling.

Clerk auth

If you're using Clerk auth and are experiencing the redirect behavior detailed in this forum post, this release includes a new version of the web/src/auth.tsx template you should copy over to your project. The changes to the template were made in collaboration with the Clerk team. Again, copy this template to your project's web/src/auth.tsx file, taking care to preserve any changes you may have made. They key change is calling reauthenticate before navigate here which syncs Redwood's auth state with Clerk's before the router tries to render the page.

  • fix(Clerk): call reauthenticate before navigating #7917 by @jtoar

Prisma connection pooling

If you're currently using Prisma connection pooling, this is a critical patch for you as there's an edge case where you could destroy a production database during testing (yarn rw test api). Before this patch, if you specified directUrl in your schema.prisma, yarn rw test api could have run destructive commands like prisma migrate reset on the database directUrl is pointing to. This is now fixed—please upgrade and review your env vars.

Don't miss a new core release

NewReleases is sending notifications on new releases.