Prisma: 4.14.0 Release

Release date:
May 9, 2023
Previous version:
4.13.0 (released April 18, 2023)
Magnitude:
4,680 Diff Delta
Contributors:
11 total committers
Data confidence:
Commits:

93 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored April 27, 2023
Authored April 24, 2023
Authored April 27, 2023

Top Contributors in 4.14.0

SevInf
millsp
jkomyno
Jolg42
aqrln
prisma-bot
art049
luxaritas
mrazauskas
Weakky

Directory Browser for 4.14.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

Request for feedback for Preview features

We would appreciate your feedback on a handful of Preview features to help us move them to General Availability soon. The Preview features include:

You can test them by enabling the Preview feature in your Prisma schema and giving them a try already in your Prisma schema, e.g., PostgreSQL extensions, or regenerating Prisma Client and trying them in your queries.

Highlights

Improved Prisma Client startup performance

For the last couple of months, we've been working hard to improve the performance of Prisma Client. We also published a blog post on how How We Sped Up Serverless Cold Starts with Prisma by 9x, which we recommend you give it a read.

This release continues with the same theme by making the size of the generated Prisma Client smaller. We have roughly halved the size of Prisma Client's dependencies.

More Introspection Stopgaps

In 4.13.0, we introduced the first 6 Introspection Stopgaps. Introspection Stopgaps surface the existence of these features in your database and link to our documentation on how to manually work around the Prisma Schema with unsupported database features (”Stopgaps” as we will remove them as soon as we implement full support for these features).

In this release, we added 3 more stopgaps for the following features: - Check Constraints (MySQL + PostgreSQL) - Exclusion Constraints - MongoDB $jsonSchema

On introspecting a database using any of these features, you will get a warning from the Prisma CLI and a comment in your Prisma schema where the feature is being used. The warning will also contain a link to instructions on how to manually use the feature.

Fixes and improvements

Prisma Client

Prisma Migrate

Language tools (e.g. VS Code)

Credits

Huge thanks to @RobertCraigie, @KhooHaoYit, @art049, @luxaritas, @mrazauskas for helping!

πŸ“Ί Join us for another "What's new in Prisma" live stream

Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" live stream.

The stream takes place on YouTube on Thursday, May 11 at 5 pm Berlin | 8 am San Francisco.