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
27 Aug 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
10653 releases · first in 2020
Release timeline
10653 releases since 2020One column per quarter.
Releases
- 5.15.0-dev.2622 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2522 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2422 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2322 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2222 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2122 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.2021 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1921 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1821 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1717 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1617 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1516 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1416 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1316 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1215 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1115 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.1015 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.915 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.815 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.715 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.615 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.515 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.415 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.315 May 2024pre-release
Nothing published for this version
- 5.15.0-dev.214 May 2024pre-release
Nothing published for this version
- 5.14.014 May 2024
Release notes
Open source →Today, we are excited to share the
5.14.0stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release. 🌟
Highlights
Share your feedback about Prisma ORM
We want to know how you like working with Prisma ORM in your projects! Please take our 2min survey and let us know what you like or where we can improve 🙏
createManyAndReturn()We’re happy to announce the availability of a new, top-level Prisma Client query:
createManyAndReturn(). It works similarly tocreateMany()but uses aRETURNINGclause in the SQL query to retrieve the records that were just created.Here’s an example of creating multiple posts and then immediately returning those posts.
const postBodies = req.json()['posts'] const posts = prisma.post.createManyAndReturn({ data: postBodies }); return postsAdditionally,
createManyAndReturn()supports the same options asfindMany(), such as the ability to return only specific fields.const postBodies = req.json()['posts'] const postTitles = prisma.post.createManyAndReturn({ data: postBodies, select: { title: true, }, }); return postTitlesFull documentation for this feature can be found in the Prisma Client API Reference.
Note: Because
createManyAndReturn()uses theRETURNINGclause, it is only supported by PostgreSQL, CockroachDB, and SQLite databases. At this time,relationLoadStrategy: joinis not supported increateManyAndReturn()queries.MongoDB performance improvements
Previously, Prisma ORM suffered from performance issues when using the
inoperator or when including related models in queries against a MongoDB database. These queries were translated by the Prisma query engine in such a way that indexes were skipped and collection scans were used, leading to slower queries especially on large datasets.With 5.14.0, Prisma ORM now rewrites queries to use a combination of
$orand$eqoperators, leading to dramatic performance increases for queries that includeinoperators or relation loading.Fixes and improvements
Prisma Client
createMany()should return the created records- Generating Prisma client without any model in its schema
- MongoDB: Performance issue with nested
takeon many-to-one relationship - Slow queries on MongoDB using
includefor relations - [MongoDB] Performance issue in
findMany()query execution within - MongoDB nested/
includequery slow - MongoDB Connector generates queries which do not take advantage of indices.
- Mongodb Nested Queries Not Using Indexes
- MongoDB slow delete with
onDelete: SetNull - Slow query with many-to-one relationship on MongoDB
prisma init --with-model- Fixed version of
@opentelemetry/*dependencies - Usage of deprecated punycode module
- Bug: D1 One-to-Many Relation INSERTs fail with
The required connected records were not found.when using indices
Prisma Migrate
- Empty
dbgenerated()still breaking forUnsupported()types - Validation error when
shadowDatabaseUrlis identical tourl(ordirectUrl) - MongoDB Query with 'in' condition will cause COLLSCAN, without leveraging indexes
- "Not Authorised" when directly applying Prisma generated migrations to Cloudflare D1 with
PRAGMA foreign_key_check;
Language tools (e.g. VS Code)
- make superior: model generate
- Missing code autocomplete for referential actions with mongodb
- add codelens provider w/ generate client command
Company news
Prisma Changelog
Curious about all things Prisma? Be sure to check out the Prisma Changelog for updates across Prisma's products, including ORM, Accelerate, and Pulse!
New product announcement: Prisma Optimize
With this release, we are excited to introduce a new Prisma product. We’re calling it “Optimize” because that’s what it does! Let your favorite ORM also help you debug the performance of your application.
Check out our announcement blog post for more details, including a demo video.
Credits
Huge thanks to @pranayat, @yubrot, @skyzh, @anuraaga, @gutyerrez, @avallete, @ceddy4395, @Kayoshi-dev for helping!
- 5.14.0-integration-static-wasm-worker-loader.513 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-static-wasm-worker-loader.48 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-static-wasm-worker-loader.330 Apr 2024pre-release
Nothing published for this version
- 5.14.0-integration-static-wasm-worker-loader.230 Apr 2024pre-release
Nothing published for this version
- 5.14.0-integration-static-wasm-worker-loader.130 Apr 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.1014 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.914 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.810 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.710 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.68 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.58 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.48 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.37 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.27 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-schema-files-resolver.16 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-26-text-comp-multi-20f7cb6cf71d1ee66be7363748ca983d326e9db1.114 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-22-integration-rust-1-78-wasm-fc926224322c04c61c76032c9985a1d4fdfee13f.210 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-22-integration-rust-1-78-wasm-fc926224322c04c61c76032c9985a1d4fdfee13f.110 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-19-fix-ds-url-rn-03c57ba9ba8eea9dfcf11c5382fdb6822d5aa3d2.110 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-10-feat-create-many-and-return-31c187d29db487fb54d6bb593a851d2f9e5687a6.22 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-10-feat-create-many-and-return-31c187d29db487fb54d6bb593a851d2f9e5687a6.12 May 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-1-integration-vitess-constraint-fix-ca251465b6b966a5b9f61c3a8077ef99275ca330.223 Apr 2024pre-release
Nothing published for this version
- 5.14.0-integration-engines-5-14-0-1-integration-vitess-constraint-fix-ca251465b6b966a5b9f61c3a8077ef99275ca330.123 Apr 2024pre-release
Nothing published for this version
- 5.14.0-dev.7714 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7613 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7513 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7413 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7213 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7113 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.7013 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.6913 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.6813 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.6710 May 2024pre-release
Nothing published for this version
- 5.14.0-dev.6610 May 2024pre-release
Nothing published for this version