Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.
Last release 2 days ago
01 Sep 2026
Ships fairly regularly
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
7 years old
10657 releases · first in 2020
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Today we are excited to share the 2.6.0 stable release.
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
In prior releases, any manual changes to your Prisma schema would be overridden when invoking prisma introspect (e.g. usage of @map or @@map as well as the renaming of relation fields).
Keeping these manual changes in the Prisma schema file has been available as a preview feature via the --experimental-reintrospection already. After getting tested as a preview feature for a few releases, we are excited to promote this functionality to be the default behavior of prisma introspect into this stable release.
Note that you can opt-out of this behavior by using the new --force flag: prisma introspect --force. This will generate a schema purely based on the introspected database and override any prior manual changes.
📚 Documentation: Prisma Introspect
updateWith today's release, we introduce atomic number operations for update queries in Prisma Client. It allows you to update the values of certain fields atomically.
Atomic number operations needs to be enabled with the feature flag atomicNumberOperations like so:
generator client {
provider = "prisma-client-js"
previewFeatures = ["atomicNumberOperations"]
}
We are introducing five atomic operations for Int and Float fields :
increment: x: Adds x to the current valuedecrement: x: Subtracts x from the current valuemultiply: x: Multiplies the current value by xdivide: x: Divides the current value by xset: x: Sets the value to x (equivalent to data: { age: 18 })Note: Only one operation can be done per field at a time.
Here's an example of using the new operations:
const result = await prisma.user.update({
where: {
email: '[email protected]',
},
data: {
points: {
set: 99, // this just sets the value, equivalent to `data: { points: 18 }`
},
age: {
increment: 1, // age = age + 1 - Happy Birthday!
},
credits: {
decrement: 2, // credits = credits - 2
},
karma: {
multiply: 3, // karma = karma * 3
},
chocolates: {
divide: 4, // chocolates = chocolates / 4
},
},
})
📚 Documentation: Atomic operations on update
Please share your feedback on how this feature works for you. We are interested in both positive and negative feedback, so we know if this feature is already ready for production! (If encounter any problems, please open a new issue here).
Just a quick reminder:
2.5.0 we introduced one preview feature, namely insensitiveFilters.2.1.0 we introduced two preview features, namely connectOrCreate and transactionApi.In case they're useful for you, please give them a try and share your feedback! These features remain in preview in this release.
We'd love to hear from you how you describe Prisma to your developer friends and coworkers. If you have 2 minutes, please answer this question via this online form.
To help spread the word about Prisma, we'd very much appreciate if you would star this repo 🌟 And if you're excited about the features in this week's release, then help us and share it on Twitter.
prismaprisma/.env leads to confusing error messageprisma generate stack overflow on a large schemanode_modules/.prisma/client/index.d.tsintrospect@updatedAtprisma-client-jsPrismaClient constructormigrate Error querying the database: near ",": syntax errorsave outputs connection strings if included in schema filelanguage-tools[] instead of "" when using autocompletionstudiomiddlewares were removed, you can now safely remove them from your schema.prisma.prisma not @prisma/cliskip can be set to negativeprisma-enginesHuge thanks to @peter50216 for helping!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version