@prisma/client
7.10.1 · 15 Oct 2026Apache-2.024.6M / weekRepositoryHomepagenpmAtom feed
4.16.2 is the newest release of 4.x.
In short
18 new
Release note
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Introspection of Views SQL improvements (Preview)
The views Preview feature significantly improved this release: prisma db pull now reads the SQL query used to define a view and stores it in a .sql file in a views folder next to your Prisma schema.
Note: These
.sqlfiles are not yet used for creating or updating views during migrations yet. For now, we are only looking for feedback. Let us know if the introspected SQL files match the views picked up in your database and if the correct files were created in your filesystem.
We encourage you to leave feedback in this GitHub issue.
Improvements to JSON protocol (Early Preview)
In 4.11.0, we announced the jsonProtocol Preview feature which had some rough edges. This release improves the Preview feature by providing polished and helpful error messages from Prisma Client when something goes wrong. Here is an example error message:
!(user-images.githubusercontent.com/33921841/2281…)
We would appreciate it if you would try it out to help us polish the feature and move it to General Availability. Testing it requires little effort. Please also leave any feedback in this issue, or open a new one if you want to report a bug.
Prisma Client startup performance
In this release, we've improved the startup performance of Prisma Client. We're keen on improving the performance of Prisma Client. If you experience any problems with the startup performance, be sure to report them so that we can look into them.
Open Telemetry tracing and logging for Prisma Client for Data Proxy
This release adds support for Open Telemetry tracing (via the tracing Preview feature) and logging to Prisma Client for Data Proxy.
Fixes and improvements
Prisma Migrate
Certain types of schema changes don't work with CockroachDB v22.2
Completions: provided by engines break right at the start of a newline
Unable to reset CockroachDB for table with foreign key relationship on v22.2.
MySQL multi-value index removes the primary key on introspection
Prisma Client
Missing
PrismaPromiseexport after update from 4.9.0 to 4.11.0Prisma 4.11 breaks multilevel relation with compound primary keys (typings)
4.11.0:
Unique constraint failed on the fieldson query that worked in 4.10.1jsonProtocolField/Enum is not included in the result of the findFirst/findMany functionToo many records are returned in 4.11.0 when using nested include and @unique field is null
Language tools (e.g. VS Code)
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, March 30 at 5 pm Berlin | 8 am San Francisco.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.