npm @redwoodjs/core 0.30.0
v0.30.0

latest releases: 9.0.0-canary.239, 9.0.0-canary.237, 9.0.0-canary.236...
3 years ago

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)

⚠️ This release contains a minor breaking change. See the "Breaking" section for more details.

Fixed

Changed

Breaking ⚠️

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 👉 https://github.com/redwoodjs/redwood/releases

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

Don't miss a new core release

NewReleases is sending notifications on new releases.