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 3 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.16.0-dev.3812 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.379 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.369 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.358 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.348 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.338 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.328 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.317 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.307 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.297 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.287 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.277 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.267 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.256 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.246 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.235 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.225 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.215 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.205 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.195 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.185 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.175 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.165 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.155 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.142 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.132 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.122 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.112 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.102 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.92 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.81 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.71 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.61 Jun 2023pre-release
Nothing published for this version
- 4.16.0-dev.531 May 2023pre-release
Nothing published for this version
- 4.16.0-dev.430 May 2023pre-release
Nothing published for this version
- 4.16.0-dev.330 May 2023pre-release
Nothing published for this version
- 4.16.0-dev.230 May 2023pre-release
Nothing published for this version
- 4.16.0-dev.130 May 2023pre-release
Nothing published for this version
- 4.15.030 May 2023
Release notes
Open source →🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
For this release, we focused on fixing bugs and making smaller quality-of-life improvements.
Support for custom arguments for
prisma db seedThis release adds support for defining and passing arbitrary arguments to
prisma db seed. This creates the opportunity for you to define your own arguments in your seed file that you could pass to theprisma db seedcommand. A few example use-cases include, but are not limited to:- Seeding different data in different environments
- Partially seeding data in some tables
Here is an example
seed.tsfile that defines custom arguments for seeding different data in different environments:// prisma/seed.ts import { parseArgs } from "node:util"; const options = { environment: { type: 'string', }, } async function main() { const { values: { environment } } = parseArgs({ options }) switch (environment) { case "development": /** do something for development */ break; case "test": /** do something for test environment */ break; default: break; } } main()You can then provide the
environmentargument when executing the seed script as follows:npx prisma db seed -- --environment developmentLet us know what you think, share example usage of this feature, and create a bug report if you run into any issues.
Improved error messages when Query Engine file is not found
This release improves the error messages returned by Prisma Client when the Query Engine file is not found. A few reasons the Query Engine file might be missing from your application bundle include when:
- The downloaded Query Engine doesn’t match the runtime/ target platform your application is running on.
- The Query Engine is not copied to your final application bundle during the build step.
We hope these error messages are helpful while debugging your application.
Prisma VS Code extension improvements
In this release, we made a few improvements to our VS Code extension:
-
Updated the file system watcher that is responsible for restarting the TypeScript server when
prisma generateis run to ensure the types are in syncNote:
- This new approach is currently only available on Windows and Linux. We plan on adding support for the new file system watcher on macOS soon.
- This requires both Prisma CLI & VS code extension version
4.15.0or higher
-
Added Quick Fixes action for unique identifiers for MongoDB to add the
@map("_id")attribute function when it’s missing on an identifier fieldhttps://user-images.githubusercontent.com/29753584/239030357-2b6613bf-b6b5-48f2-a2df-b93df0692fda.mov
-
Support for renaming symbols for composite types and views
https://user-images.githubusercontent.com/33921841/242042225-87dfee9b-0698-4e1d-b05e-5cb0b8ab1349.mov
Fixes and improvements
Prisma Client
- Prisma generate -
Error: write EPIPEon WSL <-> Windows prisma generateis blocked byquery-engine-rhel-openssl-1.0.xopening in Notepad on Windows- Generated client output path hardcoded to build environment
- Issue with Yarn Workspace Monorepo: Query engine binary for current platform could not be found.
- Cloning a project with checked in
node_modules(from another platform) leads to platform engine not being present - SvelteKit, Vite and Prisma "module not defined"
- Schema File Not Found in non monorepo with custom
output - Deploying to Cloudflare Workers | "PrismaClient is unable to be run in the browser"
- Inline/bundle the contents of the prisma schema on generate
- Netlify:
Query engine library for current platform "rhel-openssl-1.0.x" could not be found. You incorrectly pinned it to rhel-openssl-1.0.x - Query Engine Library Not Found
- No client schema when using PrismaClient during cached (standard) Netlify build
- Module "@prisma/client" has no exported member "PrismaClient"
- EPERM: operation not permitted
- prisma/client crashes when used with older versions of react-refresh
- Unable to run prisma cli in pnpm monorepo from workspace install
- Misleading error message when the query engine is not found
- When setting custom client output directory, generated package.json does not include "sideEffects: false"
- You already added the platform "debian-openssl-1.1.x" to the "generator" block in the "schema.prisma" file as described in https://pris.ly/d/client-generator, but something went wrong.
- Prisma seems to be looking in the wrong location for rhel-openssl-1.0.x
- Can't find prisma engine
Cannot find name '$PrismaModel'due to featureextendedWhereUniquewith preview featurefieldReference- Netlify build fails with PrismaClientInitializationError
- i'm getting the error while requesting the api
- Query engine library for current platform could not be found.
- Prisma unable to reconnect if initial connection fails
- GraphQL protocol encoder incorrectly turns empty array into empty object.
- GraphQL protocol: Invalid
Datevalues silently turn intonulls - @prisma/client/edge + Cloudflare Worker / wrangler = Could not resolve "os"
- Client is bricked from connecting to DB if first attempt fails.
- JSON protocol: incorrect recursive composites detection through multiple nesting levels
fieldReferenceis not working with enums
Prisma Migrate
- Pass extra arguments to
prisma db seedto the seed command - Typo in generating migration SQL to add enum.
Language tools (e.g. VS Code)
- MongoDB: Quick fix for missing
@map("_id")annotation - Rename composite types
- Views: Support for rename
- TextDocument deprecation
- Lib name change vsce -> @vscode/vsce
Credits
Huge thanks to @RobertCraigie, @KhooHaoYit, @art049, @luxaritas, @mrazauskas, @maxmartynov, @haneenmahd for helping!
📺 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, June 1 at 5 pm Berlin | 8 am San Francisco.
- 4.15.0-integration-windows-portability.617 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-windows-portability.517 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-windows-portability.417 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-windows-portability.317 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-windows-portability.217 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-windows-portability.117 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.316 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.216 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.116 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path.416 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path.316 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path.216 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-search-location-datamodel-path.116 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-os-edge-client.111 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1925 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1824 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1724 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1624 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1524 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1423 May 2023pre-release
Nothing published for this version
- 4.15.0-integration-generator-error-handling.1323 May 2023pre-release
Nothing published for this version