@prisma/client
- 7.10.0 is the latest, published 25 August 2026.
- No known security advisory.
- 7.x: 15 releases since 19 November 2025, 3 in the last 90 days.
Releases in the last 90 days
Feed of releases and advisoriesEvery stable release, newest first. Notes are quoted as the maintainers published them.
7.10.0
25 August 2026Fixed P2002 errors from nested writes so meta.modelName identifies the model where the unique constraint violation occurred, including models using @@map and @@schema. #29628
Section of a shared release note
Prisma Client
Fixed
P2002errors from nested writes someta.modelNameidentifies the model where the unique constraint violation occurred, including models using@@mapand@@schema. #29628Fixed automatically batched
findUniqueOrThrow()calls so every missing record rejects withP2025; later misses no longer resolve toundefined. #29654Parameter-chunked statements are now executed atomically in a transaction and rolled back if a later chunk fails. #29771
Improved interactive transaction cleanup during
$disconnect(), including transactions whose driver-level startup is still in progress. #28768Prevented transaction cleanup failures after a timeout or backend termination from becoming unhandled promise rejections. #29611
Fixed fluent relation queries when relation fields are literally named
selectorinclude. #29683Fixed handling of
DateandUint8Arrayvalues created in other JavaScript realms, such as iframes, jsdom, and Node.jsvmcontexts. #29177Invalid
Datevalues passed to$queryRawor$executeRawnow throwPrismaClientValidationErrorinstead of a generic error. #29718Fixed
moduleFormatinference for theprisma-clientgenerator in TypeScript projects usingmodule: "node16"or"nodenext". Generated output now follows the nearestpackage.jsontype, defaulting to CommonJS when absent. #29712Deserialized
Bytesvalues now own standaloneArrayBuffers rather than exposing unrelated contents from Node.js's sharedBufferpool. This applies to both regular and raw query results. #29701Fixed an incorrect logging context in the remote executor, including Accelerate-backed query execution. #28892
7.9.1
27 July 2026Today, we're issuing a patch release to resolve a security advisory in a transitive dependency of Prisma CLI (via @prisma/dev).
Today, we're issuing a patch release to resolve a security advisory in a transitive dependency of Prisma CLI (via
@prisma/dev).This fixes #29780.
It does not actually affect
@prisma/devor Prisma CLI so no urgent action is required, but it is recommended to upgrade nevertheless to avoid false positives from security scanners.7.9.0
20 July 2026Today, we are excited to share the 7.9.0 stable release π
Today, we are excited to share the
7.9.0stable release ππ Star this repo for notifications about new releases, bug fixes & features β or follow us on X!
Highlights
ORM
Tab completions for the Prisma CLI
Typing out CLI commands from memory is now optional. Prisma ships shell tab completions for
bash,zsh,fish, and PowerShell, covering commands, subcommands, options, flags, and even option values.Setting it up. Most projects run Prisma through a package manager, so completions are enabled through
@bomb.sh/tab's package-manager integration β install it once, then source the completion for your package manager and shell:# 1. Install @bomb.sh/tab globally npm install -g @bomb.sh/tab # 2. Wire up your package manager + shell (pnpm shown; swap in npm / yarn / bun): echo 'source <(tab pnpm zsh)' >> ~/.zshrc # zsh echo 'source <(tab pnpm bash)' >> ~/.bashrc # bash tab pnpm fish > ~/.config/fish/completions/pnpm.fish # fish tab pnpm powershell > ~/.tab-pnpm.ps1 # PowerShell (then dot-source it from $PROFILE)
@bomb.sh/tabdelegates to any locally-installed CLI that ships completions, sopnpm prisma <TAB>,pnpm exec prisma <TAB>,yarn prisma <TAB>, andbun x prisma <TAB>all complete Prisma's commands, options, and values β no per-project setup. (npxandbunxdon't support completion themselves; usenpm execandbun x.)If instead you have Prisma installed globally on your
PATH, source its own completion directly:source <(prisma complete zsh)(or thebash/fish/powershellvariant).This is built on
@bomb.sh/tab, the same completion library that powers other CLIs in the ecosystem β including Cloudflare, Nuxt, and Vitest β so the package-manager completions you enable for Prisma work for those tools too. A wonderful community contribution from @AmirSa12 (#28351) β thank you!github.com/user-attachments/assets/1f916a60-ee4β¦
Prisma ORM, ready for AI agents
Coding agents are now a first-class audience for Prisma, and 7.9.0 brings the first wave of work to make Prisma projects safe and productive for them to work in.
Agent skills installed with
prisma initprisma initnow installs the prisma/skills catalog into freshly scaffolded projects. Agents such as Claude Code, Cursor, Codex, and Windsurf start out with current, version-relevant Prisma knowledge instead of relying on whatever happened to be in their training data. The install is best-effort and never blocks scaffolding; opt out at any time with--no-skills.npx prisma@latest init
prisma init scaffolds a project and installs the Prisma agent skills catalog
A safer default around destructive commands (#29684, #29691, #29713)
Prisma's AI safety checkpoint refuses to run destructive commands when it detects that an AI agent is at the keyboard, unless the user has given explicit consent. In this release we:
Broadened agent detection to cover today's landscape β Codex CLI (now on Linux as well as macOS), Qwen Code, GitHub Copilot CLI, OpenCode, Cline, Goose, Amp, Crush, Augment Code, Antigravity, Replit Agent, and Devin β plus generic
AI_AGENT/AGENTconventions so future agents are caught without a code change.Extended the guard to
db push --accept-data-loss, which previously bypassed the checkpoint even though it can drop data.Removed the
migrate-resettool from theprisma mcpserver entirely β resetting a database drops it, and that is not an operation an agent should be handed as a first-class tool. An agent that needs a reset must run the CLI, where the checkpoint applies.
Bug Fixes
Many of the fixes below are community contributions β thank you to everyone who reported and fixed these!
Prisma Client
Fixed a severe TypeScript performance regression introduced in Prisma 7: restoring the
OmitOptsgeneric default letstscreuse cached type instantiations again, bringing type-checking on large schemas back from minutes to seconds (#29592, from @nfl1ryxditimo12).The
XORtype helper now rejects primitive values such asdata: 5, which were previously accepted at compile time even though the runtime rejected them (#29735, from @kyungseopk1m).$queryRawand$executeRawnow fail fast with a clear validation error when passed an invalidDate, instead of silently serializing it asnulland corrupting the value sent to the database (#29697, from @jibin7jose).The generated client is no longer corrupted by a
///documentation comment that contains a*/sequence; the comment terminator is now escaped when doc comments are emitted, in both the TypeScript and JavaScript generators (#29736, from @kyungseopk1m).
Major versions
- 7.xsince 19 November 2025 Β· latest 7.10.0 Β· 15 releases
- 6.xsince 28 November 2024 Β· latest 6.19.3 Β· 35 releases
- 5.xsince 11 July 2023 Β· latest 5.22.0 Β· 40 releases
- 4.xsince 28 June 2022 Β· latest 4.16.2 Β· 27 releases
- 3.xsince 7 September 2021 Β· latest 3.15.2 Β· 27 releases
- 2.xsince 9 June 2020 Β· latest 2.30.3 Β· 57 releases
Quality and security signals
What npm and deps.dev say about the latest release. Signals, not a verdict.
Reading npm and deps.devβ¦
Registry facts last checked 15 October 2026. Releases and advisories last read 15 October 2026.
Know when your own dependencies move
Inlinr tracks your coding time automatically. Switch dependency tracking on for a project and it reads that repository's manifest to show what is behind and what has been deprecated β off by default, one project at a time.