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 today
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 2020Releases
- 5.20.0-integration-feat-strict-undefined-checks.223 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-feat-strict-undefined-checks.113 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-feat-no-nextjs-workaround.26 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-feat-no-nextjs-workaround.16 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-9-integration-itx-refactor-51ed793416e8f8bd436b0a4802ba4e44d2c40263.221 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-9-integration-itx-refactor-51ed793416e8f8bd436b0a4802ba4e44d2c40263.121 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-6-integration-fix-planetscale-transactions-0deadde8739779d8360ea8c60d2b49693271abcf.23 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-6-integration-fix-planetscale-transactions-0deadde8739779d8360ea8c60d2b49693271abcf.13 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-5-integration-fix-planetscale-transactions-7cb8cc9f8e14bd5bde8f8f67c26ccace7c49a53f.23 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-5-integration-fix-planetscale-transactions-7cb8cc9f8e14bd5bde8f8f67c26ccace7c49a53f.13 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-2-integration-nested-transactions-70e4e8eaa9b1ca0ec042fa831bc2c81f668215a7.229 Aug 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-2-integration-nested-transactions-70e4e8eaa9b1ca0ec042fa831bc2c81f668215a7.129 Aug 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-13-integration-itx-refactor-412fc8ba6449e41c37627808a172c1f3daa46129.224 Sept 2024pre-release
Nothing published for this version
- 5.20.0-integration-engines-5-20-0-13-integration-itx-refactor-412fc8ba6449e41c37627808a172c1f3daa46129.124 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.2124 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.2024 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.1924 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.1824 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.1724 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.1623 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.1513 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.149 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.139 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.126 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.115 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.105 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.95 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.85 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.75 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.64 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.54 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.44 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.32 Sept 2024pre-release
Nothing published for this version
- 5.20.0-dev.228 Aug 2024pre-release
Nothing published for this version
- 5.20.0-dev.128 Aug 2024pre-release
Nothing published for this version
- 5.19.12 Sept 2024
Release notes
Open source →Today, we are issuing the
5.19.1patch release.What's Changed
We've fixed the following issues:
- https://github.com/prisma/prisma/issues/25103
- https://github.com/prisma/prisma/issues/25137
- https://github.com/prisma/prisma/issues/25104
- https://github.com/prisma/prisma/issues/25101
Full Changelog: https://github.com/prisma/prisma/compare/5.19.0...5.19.x, https://github.com/prisma/prisma-engines/compare/5.19.0...5.19.x
- 5.19.1-dev.42 Sept 2024pre-release
Nothing published for this version
- 5.19.1-dev.32 Sept 2024pre-release
Nothing published for this version
- 5.19.1-dev.22 Sept 2024pre-release
Nothing published for this version
- 5.19.1-dev.12 Sept 2024pre-release
Nothing published for this version
- 5.19.027 Aug 2024
Release notes
Open source →Today, we are excited to share the
5.19.0stable release 🎉🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
Introducing TypedSQL
TypedSQL is a brand new way to interact with your database from Prisma Client. After enabling the
typedSqlPreview feature, you’re able to write SQL queries in a newsqlsubdirectory of yourprismadirectory. These queries are then checked by Prisma during using the new--sqlflag ofprisma generateand added to your client for use in your code.To get started with TypedSQL:
-
Make sure that you have the latest version of
prismaand@prisma/clientinstalled:npm install -D prisma@latest npm install @prisma/client@latest -
Enable the
typedSqlPreview feature in your Prisma Schema.generator client { provider = "prisma-client-js" previewFeatures = ["typedSql"] } -
Create a
sqlsubdirectory of yourprismadirectory.mkdir -p prisma/sql -
You can now add
.sqlfiles to thesqldirectory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the filegetUsersWithPosts.sqlwith the following contents:SELECT u.id, u.name, COUNT(p.id) as "postCount" FROM "User" u LEFT JOIN "Post" p ON u.id = p."authorId" GROUP BY u.id, u.name -
Import your SQL query into your code with the
@prisma/client/sqlimport:import { PrismaClient } from '@prisma/client' import { getUsersWithPosts } from '@prisma/client/sql' const prisma = new PrismaClient() const usersWithPostCounts = await prisma.$queryRawTyped(getUsersWithPosts) console.log(usersWithPostCounts)
There’s a lot more to talk about with TypedSQL. We think that the combination of the high-level Prisma Client API and the low-level TypedSQL will make for a great developer experience for all of our users.
To learn more about behind the “why” of TypedSQL be sure to check out our announcement blog post.
For docs, check out our new TypedSQL section.
Bug fixes
Driver adapters and D1
A few issues with our
driverAdaptersPreview feature and Cloudflare D1 support were resolved via https://github.com/prisma/prisma-engines/pull/4970 and https://github.com/prisma/prisma/pull/24922- Mathematic operations such as
max,min,eq, etc in queries when using Cloudflare D1. - Resolved issues when comparing
BigIntIDs whenrelationMode="prisma"was enabled and Cloudflare D1 was being used.
Joins
- https://github.com/prisma/prisma/issues/23742 fixes Prisma Client not supporting deeply nested
someclauses when therelationJoinsPreview feature was enabled.
MongoDB
The MongoDB driver for Rust (that our query engine users under the hood) had behavior that prioritized IPv4 connections over IPv6 connections. In IPv6-only environments, this could lead to significant "cold starts" where the query engine had to wait for IPv4 to fail before the driver would try IPv6.
With help from the MongoDB team, this has been resolved. The driver will now try IPv4 and IPv6 connections in parallel and then move forward with the first response. This should prevent cold start issues that have been seen with MongoDB in Prisma Accelerate.
Thank you to the MongoDB team!
Join us
Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team!
- Senior Engineer (TypeScript): This person will be primarily working on the TypeScript side and evolving our Prisma client. Rust knowledge (or desire to learn Rust) is a plus.
- Senior Engineer (Rust): This person will be focused on the
prisma-enginesRust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus.
Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh for helping!
-
- 5.19.0-integration-feat-typed-sql.2623 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2523 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2423 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2323 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2223 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2122 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.2022 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1922 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1822 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1722 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1622 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1522 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1422 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1321 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1221 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1121 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.1021 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.921 Aug 2024pre-release
Nothing published for this version
- 5.19.0-integration-feat-typed-sql.820 Aug 2024pre-release
Nothing published for this version