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.
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.