Redwood v0.30 🚀

the latest release is v0.30.1

This release brings in a few incremental fixes and features, primarily through the upgraded prisma dependency. Key fixes are:

  • Netlify builds were failing due to size limit for some users #2250
  • Fixes many-to-many relations handling in prisma (Prisma issue #1970)

:warning: This release contains a minor breaking change. See the “Breaking” section for more details.

Fixed

Changed

Breaking :warning:

A few small changes introduced in Prisma 2.21+, so watch out for these if you use aggregate or disconnect in your services.

  • Previously, aggregations on nullable fields always returned 0. All aggregated fields are now nullable. Aggregated fields can return null when there’s either no record in the database or if all the aggregated records are null.
  • disconnect no longer throws an error on unconnected records
  • @default(dbgenerated("")) is no longer permitted

Full prisma release notes here: Prisma 2.21.0 release notes

How to upgrade to Redwood v0.30 from v0.29

Upgrade Packages to v0.30

Run the following command within your App’s directory:

yarn redwood upgrade

Ensure yarn has installed everything correctly by running

yarn install --force

Upgrading from an earlier version? Please follow the “how to upgrade” sections for each newer version here :point_right: Releases · redwoodjs/redwood · GitHub

Need help or having trouble upgrading packages? See this forum topic for manual upgrade instructions and general upgrade help.

4 Likes

For more info on what’s new in Prisma 2.21 can watch:

They have some examples of the new count by aggregate and even answer some QA (and discuss pooling in serverless).

1 Like

Release v0.30.1

1 Like