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 4 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
- 4.3.0-dev.910 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.810 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.710 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.610 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.510 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.410 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.310 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.210 Aug 2022pre-release
Nothing published for this version
- 4.3.0-dev.19 Aug 2022pre-release
Nothing published for this version
- 4.2.110 Aug 2022
- 4.2.1-dev.210 Aug 2022pre-release
Nothing published for this version
- 4.2.09 Aug 2022
Release notes
Open source โ๐ Help us spread the word about Prisma by starring the repo or tweeting about the release. ๐
Major improvements
Prisma Client tracing support (Preview)
We're excited to announce Preview support for tracing in Prisma Client! ๐
Tracing allows you to track requests as they flow through your application. This is especially useful for debugging distributed systems where each request can span multiple services.
With tracing, you can now see how long Prisma takes and what queries are issued in each operation. You can visualize these traces as waterfall diagrams using tools such as Jaeger, Honeycomb, or DataDog.
Read more about tracing in our announcement post and learn more in our documentation on how to start working with tracing.
Try it out and let us know what you think.
Isolation levels for interactive transactions
We are improving the
interactiveTransactionsPreview feature with the support for defining the isolation level of an interactive transaction.Isolation levels describe different types of trade-offs between isolation and performance that databases can make when processing transactions. Isolation levels determine what types of data leaking can occur between transactions or what data anomalies can occur.
To set the transaction isolation level, use the
isolationLeveloption in the second parameter of the API. For example:await prisma.$transaction( async (prisma) => { // Your transaction... }, { isolationLevel: Prisma.TransactionIsolationLevel.Serializable, maxWait: 5000, timeout: 10000, } )Prisma Client supports the following isolation levels if they're available in your database provider:
ReadCommittedReadUncommittedRepeatableReadSerializableSnapshot
Learn more about in our documentation. Try it out, and let us know what you think in this GitHub issue.
Renaming of Prisma Client Metrics
In this release, we've renamed the metrics โ counters, gauges, and histograms โ returned from
prisma.$metrics()to make it a little easier to understand at a glance.Previous Updated query_total_operationsprisma_client_queries_totalquery_total_queriesprisma_datasource_queries_totalquery_active_transactionsprisma_client_queries_activequery_total_elapsed_time_msprisma_client_queries_duration_histogram_mspool_wait_duration_msprisma_client_queries_wait_histogram_mspool_active_connectionsprisma_pool_connections_openpool_idle_connectionsprisma_pool_connections_idlepool_wait_countprisma_client_queries_waitGive Prisma Client
metricsa shot and let us know what you think in this GitHub issueTo learn more, check out our documentation.
Syntax highlighting for raw queries in Prisma Client
This release adds syntax highlighting support for raw SQL queries when using
$queryRaw``and$executeRaw``. This is made possible using Prisma's VS Code extension.<img width="678" alt="Screenshot 2022-08-09 at 12 30 27" src="https://user-images.githubusercontent.com/33921841/183627500-ad866a4d-8624-4f05-839f-81daaaf3ce2d.png">
Note: Syntax highlighting currently doesn't work with when using parentheses,
(),$queryRaw(),$executeRaw(),$queryRawUnsafe(), and$executeRawUnsafe().If you are interested in having this supported, let us know in this GitHub issue.
Experimental Cloudflare Module Worker Support
We fixed a bug in this release that prevented the Prisma Edge Client from working with Cloudflare Module Workers.
We now provide experimental support with a workaround for environment variables.
Try it out and let us know how what you think! In case you run into any errors, feel free to create a bug report.
Upgrade to Prisma 4
In case you missed it, we held a livestream a few weeks ago and walked through issues you may run into while upgrading to Prisma 4 and how to fix them!
Request for feedback
Our Product teams are currently running two surveys to help close the feature gaps and improve Prisma.
If you have a use-case for geographical data (GIS) or full-text search/ indexes (FTS), we would appreciate your feedback on your needs:
- Prisma GIS User Research Survey
- Prisma Full-Text Search User Research Survey
Many thanks! ๐๐ฝ
Fixes and improvements
Prisma Client
- Allow
dataproxyto have datasource overrides - Warning during build: equals-negative-zero
- getGraphQLType throws error if object has no prototype
- Prisma Client: Log Data Proxy usage explicitly
- Cannot read property 'name' of undefined attempting to create row
- Edge client crashes when enabling debug logs in constructor
- TypeError: Cannot read properties of undefined (reading '_hasPreviewFlag')
- Large package.json log output in prisma:client:dataproxyEngine
Prisma
- Error: [libs/datamodel/connectors/dml/src/model.rs:338:29] Crash probably due to cyrillic table names
- Prisma doesn't validate composite attributes correctly
- Not letting me add Int as a type?
- Introspection crash,
libs\datamodel\connectors\dml\src\model.rs:494:29(missing PK?) - SQL Server introspection panic
- Hi Prisma Team! Prisma Migrate just crashed.
- Primary key in model using a missing column
- Migrate just crashed sqlserver
- Prisma is trying to find column that doesn't exists
prisma db pullonSQL Server - Issue that occurred during
prisma db pull
Language tools (e.g. VS Code)
Prisma Studio
Credits
Huge thanks to @shian15810, @zifeo, @lodi-g, @Gnucki, @apriil15, @givensuman, @peter-gy for helping!
Prisma Data Platform
We're working on the Prisma Data Platform โ a collaborative environment for connecting apps to databases. It includes the:
- Data Browser for navigating, editing, and querying data
- Data Proxy for persistent, reliable, and scalable connection pooling for your database.
- Query Console for experimenting with queries
Try it out and let us know what you think!
๐ผ We're hiring!
If you're interested in joining our growing team to help empower developers to build data-intensive applications, Prisma is the place for you.
We're looking for a Developer Advocate (Frontend / Fullstack) and Back-end Engineer: Prisma Data Platform.
Feel free to read the job descriptions and apply using the links provided.
๐บ Join us for another "What's new in Prisma" livestream
Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" livestream.
The stream takes place on YouTube on Thursday, August 11 at 5 pm Berlin | 8 am San Francisco.
- 4.2.0-integration-update-pkg-annotations.18 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-tracing-fix.51 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-tracing-fix.41 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-tracing-fix.31 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-tracing-fix.21 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-tracing-fix.11 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-fix-localdev-postinstall.126 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-fix-failing-ecosystem-tests.14 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-fix-debug-types.15 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-6-integration-test-auto-release-f254950bf249ea064a25252bc81800f9715b9f44.121 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-32-fix-dmmf-test-8dd177a7c20a62f107b8d21725f1c1b7461d563b.18 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-26-integration-tracing-fix-0e187b820c59614bb23d16c1f22332c991de1892.13 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-21-integration-tracing-more-fixes-ae7c377d84048fc7fc2e1a1f97780b1f2f3c41dd.12 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-19-integration-tracing-fix-8cd3da4cf873bb75ec82d00295e47a2e078c4aea.11 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-16-integration-tracing-more-fixes-ae7c377d84048fc7fc2e1a1f97780b1f2f3c41dd.129 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-15-integration-metric-renaming-1f993ff682f550307ef63b792a1c5f678f6963a8.129 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-14-query-engine-itx-isolation-1261b1df947d7ed71189ea4497d996e45522f3f6.129 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-13-query-engine-itx-isolation-ef54f39c384a756a790818f4bba8386936d705ca.128 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engines-4-2-0-12-integration-tracing-fix-895bd692464d00b535a72dc05f189e5bced5c584.128 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.188 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.178 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.168 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.158 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.145 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.135 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.125 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.115 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.105 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.95 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.85 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.75 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.65 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.55 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.44 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.34 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.24 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-engine-local-postinstall.13 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-debug-unpkg-com.219 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-debug-unpkg-com.119 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-add-fmt-wasm-to-cli.48 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-add-fmt-wasm-to-cli.38 Aug 2022pre-release
Nothing published for this version
- 4.2.0-integration-add-fmt-wasm-to-cli.222 Jul 2022pre-release
Nothing published for this version
- 4.2.0-integration-add-fmt-wasm-to-cli.122 Jul 2022pre-release
Nothing published for this version
- 4.2.0-dev.589 Aug 2022pre-release
Nothing published for this version
- 4.2.0-dev.578 Aug 2022pre-release
Nothing published for this version
- 4.2.0-dev.568 Aug 2022pre-release
Nothing published for this version
- 4.2.0-dev.558 Aug 2022pre-release
Nothing published for this version
- 4.2.0-dev.548 Aug 2022pre-release
Nothing published for this version