Packages
Prisma 8 ORM RC (v8.0.0-rc.34 / rc.24-dev.40) & Prisma 6 EOL: Savepoints, v7 Upgrade Footguns & Benchmarks
Prisma ORM 6 officially reached end of life on November 19, 2026, just as Prisma 8 release candidates shipped nested savepoint transactions (ADR 326) and SQL runtime fixes through November 22, 2026. With npm latest now installing prisma@8.0.0-rc.34 alongside @prisma/client@7.10.1, teams and coding agents face a breaking CLI mismatch unless they pin versions cleanly.
10 min read
Prisma 8 ORM RC (v8.0.0-rc.34 / rc.24-dev.40) & Prisma 6 EOL: Savepoints, v7 Upgrade Footguns & Benchmarks
Executive Summary
The TypeScript ORM ecosystem hit a major inflection point between November 19 and November 22, 2026. Per Prisma's official Release Status documentation (updated November 20–21, 2026), Prisma ORM 6 reached end of life on November 19, 2026, ending its 12-month security-patch window and leaving Prisma 6 applications without future updates. Simultaneously, Prisma continues rapid release-candidate iteration on Prisma ORM 8—a pure-TypeScript, contract-driven rewrite (prisma CLI 8.0.0-rc.34, @prisma/orm-postgres 8.0.0-rc.24, and dev builds up to v8.0.0-rc.24-dev.40 on November 22, 2026).
For engineering teams and AI coding agents managing package.json, the most urgent operational risk is not a missing feature—it is package-tag drift. Because npm install prisma now resolves latest to the Prisma 8 release candidate, running the update command printed by Prisma 7's CLI creates a broken hybrid install (prisma@8.0.0-rc.34 paired with @prisma/client@7.10.1), which immediately fails prisma generate and prisma migrate dev with CLI.V7_COMMAND as documented in GitHub issue #31110 (November 19, 2026).
- Latest Verified Versions:
prisma@8.0.0-rc.34(CLI),@prisma/orm-postgres@8.0.0-rc.24/@prisma/orm-mongo@8.0.0-rc.24(official docs, Nov 16–21, 2026), andv8.0.0-rc.24-dev.40(SQL runtime connection-pool fix, Nov 22, 2026 per Releasebot). - Runtime Floor: Node.js
22.18+,24.11+, or26+and TypeScript5.9+. - AI & Agent Relevance: Prisma 8 ships built-in
SKILL.mdworkflows (npx prisma skills sync) for Claude Code and Cursor alongside an official Prisma MCP Server. - Primary Takeaway: Stay on pinned
prisma@^7and@prisma/client@^7for production PostgreSQL/MySQL/SQLite workloads (supported for 18 months after Prisma 8 GA), and evaluate Prisma 8 RC on isolated branches—especially if you are migrating off MongoDB on Prisma 6.
Adoption Telemetry & Version Changelog
Prisma 8 (formerly developed under the name Prisma Next) is a ground-up TypeScript rewrite designed to eliminate the legacy Rust query engine, ship tree-shakeable ES modules for serverless and edge runtimes, and expose a public Service Provider Interface (SPI) for database extensions. Unlike Prisma 7—which removed the Rust engine on November 19, 2025, while keeping schema.prisma and @prisma/client—Prisma 8 splits the CLI from per-database runtime packages and introduces a separate version cadence between prisma and @prisma/orm-*.
| Package / Milestone | Verified Version / Date | Key Details & Source |
|---|---|---|
| Prisma ORM 6 EOL | November 19, 2026 |
Security-patch window ended 12 months after v7 (Prisma Release Status) |
prisma CLI (latest) |
8.0.0-rc.34 |
Tracks Prisma 8 RC; drops schema.prisma, generate, and migrate dev (Prisma Docs) |
@prisma/orm-postgres / orm-mongo |
8.0.0-rc.24 |
Per-database runtime packages; MongoDB in early access (Prisma Docs) |
@prisma/client (latest) |
7.10.1 |
Final v7 client line; receives fixes for 18 months after v8 GA (Prisma Docs) |
Dev Build rc.24-dev.40 |
November 22, 2026 |
Fixes first calls failing on a one-connection pool in SQL runtime (Releasebot) |
Dev Build rc.24-dev.37 (ADR 326) |
November 20, 2026 |
Closes nested-transactions savepoints project across SQL facades (Releasebot) |
| Node.js & TypeScript Floor | Node 22.18+ / 24.11+ / 26+, TS 5.9+ |
Required for Prisma 8 RC; temporal-polyfill peer dependency (Prisma Docs) |
November 17–22, 2026 Changelog Highlights
Recent v8.0.0-rc.24-dev.* builds documented in Releasebot's Prisma feed show rapid stabilization around transactions, PostgreSQL pooling, MongoDB schemas, and CLI reliability:
- Nested Savepoint Transactions (
dev.19,dev.36,dev.37/ ADR 326): Prisma closed its nested-transactions engineering track on November 20, 2026, with ADR 326 ("A nested transaction is a savepoint"). Every SQL facade (Postgres,MySQL,SQLite) now exposestx.transaction(cb)backed by SQL savepoints, and multi-statement ORM writes inside an outer transaction execute inside a savepoint so a failed write rolls back cleanly without aborting the outer transaction. Sibling calls fail fast withRUNTIME.TRANSACTION_SUSPENDEDrather than queuing. - PostgreSQL Connection & Pooling Fixes (
dev.29,dev.32,dev.40): AddedpoolOptions.maxconfiguration forpostgres(), stopped requestinglc_monetary=Con connect, and fixed a bug on November 22, 2026 (dev.40) where initial queries failed on single-connection pools. - MongoDB Early-Access Types (
dev.16,dev.20): Because Prisma ORM 7 never shipped MongoDB support, MongoDB teams coming off Prisma 6 EOL must target Prisma 8. Recent builds addedInt,BigInt,Float,Decimal, andStringschema types (TML-3790) plus value-object field renames/removals (TML-3538). - CLI & Agent Ergonomics (
dev.21,dev.25,dev.33): Fixed Windows path separators in contract globs, stoppedprisma orm initfrom retrying a failedpnpm installwithnpm, and updatedorm init --targetto accept arbitrary target package names.
Architecture, Breaking Changes & Upgrade Footguns
Prisma 8 replaces the monolithic schema.prisma + generated @prisma/client loop with a contract-first architecture and a minimal core + Extension SPI model.
flowchart LR
Contract[contract.prisma or contract.ts] -->|prisma contract emit| Artifacts[contract.json + contract.d.ts]
Config[prisma.config.ts] --> Artifacts
Artifacts --> Runtime[Runtime: @prisma/orm-postgres or orm-mongo]
Runtime --> Savepoints[SQL Runtime: Savepoints / ADR 326]
SPI[Extension SPI: pgvector, postgis, supabase] --> Runtime
Agent[Coding Agent: Claude Code / Cursor] -->|prisma skills sync| Config1. The prisma@latest vs. @prisma/client@7.10.1 Trap
The sharpest breaking change affecting production teams today is npm tag behavior. Because prisma@latest already points to 8.0.0-rc.34 while @prisma/client@latest points to 7.10.1, any unpinned npx prisma invocation or npm install prisma@latest command inside a Prisma 7 repo pulls down the Prisma 8 CLI.
As reproduced in GitHub issue #31110 on November 19, 2026, even Prisma 7's own npx prisma generate CLI prints an update banner instructing users—and autonomous coding agents—to run npm i --save-dev prisma@latest and npm i @prisma/client@latest. Doing so immediately breaks the project:
$ npx prisma generate
✘ [CLI.V7_COMMAND] `prisma generate` is a Prisma 7 command and is not available in Prisma 8
In Prisma 8, schema.prisma is replaced by prisma.config.ts (definePrismaConfig) and a contract (contract.prisma or TypeScript builder) compiled via prisma contract emit. Commands like prisma generate and prisma migrate dev do not exist in the v8 CLI.
2. Missing Features & Duplicate-Copy Gotcha in Prisma 8 RC
Prisma's Release Status page explicitly warns that several Prisma 7 capabilities are not yet available in the current release candidate:
$extendsclient extensions (replaced by the new Extension SPI, which requires rewriting extensions).- Filtering inside JSON columns.
- Atomic
incrementoperations and most nested writes. - Classic
P2002-style error codes.
Additionally, Prisma warns that every @prisma/orm-* library in a project must resolve to the exact same single copy: if two copies of @prisma/orm-framework are loaded in a monorepo, values created by one copy are not recognized by the other. Teams must audit monorepos with pnpm -r why @prisma/orm-framework or npm ls @prisma/orm-framework, and ensure temporal-polyfill is installed when using Yarn or pnpm with autoInstallPeers=false.
3. Safe Version Pinning & Prisma 8 Initialization Snippets
If you are maintaining a Prisma 7 codebase, pin both packages and suppress the misleading CLI update banner in CI/agent environments:
{
"devDependencies": {
"prisma": "^7"
},
"dependencies": {
"@prisma/client": "^7"
}
}
And invoke npx prisma@7 in scripts or set PRISMA_HIDE_UPDATE_MESSAGE=1. If you are starting a new Prisma 8 RC evaluation project on Node 22.18+, initialize the contract and sync agent skills cleanly:
# Install Prisma 8 CLI and PostgreSQL runtime library
npm install --save-dev prisma
npm install @prisma/orm-postgres
# Initialize prisma.config.ts, starter contract, and agent SKILL.md files
npx prisma orm init
npx prisma skills sync
Ecosystem Comparison & Upgrade Checklist
Independent November 2026 benchmarks published by Fab Waseem (tested on PostgreSQL 17.11, Node.js 24.22.0, 2,000 timed calls across 3 runs) highlight how Prisma 8 RC (@prisma/orm-postgres 8.0.0-rc.18 / prisma 8.0.0-rc.34) compares against Prisma 7.10.1 and Drizzle ORM (0.45.4 stable and 1.0.0-rc.4):
| Attribute / Benchmark | Prisma 8 RC (8.0.0-rc.34) |
Prisma 7 (7.10.1 Stable) |
Drizzle ORM (0.45.4 / 1.0.0-rc.4) |
|---|---|---|---|
| Release Status (Nov 2026) | Release Candidate (no GA date) | Stable (18-mo LTS post-v8 GA) | 0.45.4 Stable / 1.0.0-rc.5 RC |
| Production Install Size | 130 MB (118 packages) |
329 MB (345 packages) |
21 MB (0.45.4) / 30 MB (1.0 RC, 18 pkgs) |
| Bundled Cold Start | ~370 ms |
~100 ms |
~35 ms |
| Simple Query Latency | 0.12–0.21 ms (all clients similar) |
0.12–0.21 ms |
0.12–0.21 ms |
| Extension & AI Ecosystem | Public SPI (pgvector, postgis) + SKILL.md + MCP |
$extends API; mature adapters |
SQL-first builder; PlanetScale-backed |
| MongoDB Support | Early Access (@prisma/orm-mongo) |
None (v6 was last stable) | Not supported (SQL-focused) |
Note on benchmark methodology: In Waseem's November 17, 2026 tests, @prisma/orm-postgres pulled @prisma/orm-toolchain (including typescript, prettier, and rolldown) into the production dependency tree, explaining why Prisma 8 RC's 130 MB install and ~370 ms cold start remained heavier than Drizzle's 30 MB / 35 ms despite dropping 60% of Prisma 7's 329 MB footprint. On deep OFFSET relation queries, single-query joins were 6–19x slower than two-query loading across both Drizzle and Prisma—making keyset pagination essential regardless of ORM.
Safe Migration & Pinning Checklist
- Audit Prisma 6 Services Immediately: Prisma ORM 6 stopped receiving security patches on November 19, 2026. Plan SQL migrations to Prisma 7.10.1 (
prisma@^7) and MongoDB migrations to Prisma 8 RC on staging branches. - Lock Prisma 7 Projects Against
latest: Add"prisma": "^7"and"@prisma/client": "^7"topackage.json, replace barenpx prismacalls in CI withnpx prisma@7, and setPRISMA_HIDE_UPDATE_MESSAGE=1so coding agents do not auto-upgrade intoCLI.V7_COMMANDfailures. - Verify Peer Dependencies in Monorepos: If testing Prisma 8 RC with Yarn or
pnpm(autoInstallPeers: false), explicitly installtemporal-polyfilland runpnpm -r why @prisma/orm-frameworkto prevent duplicate runtime instances. - Check Ecosystem Adapter Compatibility: Verify third-party auth and framework adapters before upgrading—for example,
@better-auth/prisma-adapter 1.7.18currently declares peer support for Prisma 5, 6, and 7 rather than Prisma 8 (MakerKit).
Frequently Asked Questions
1. Why did npx prisma generate break with CLI.V7_COMMAND after running npm i prisma@latest?
Because prisma@latest on npm now resolves to Prisma 8 RC (8.0.0-rc.34), while @prisma/client@latest stays at 7.10.1. Prisma 8 removed schema.prisma, generate, and migrate dev in favor of prisma.config.ts and prisma contract emit. Downgrade the CLI back to npm install --save-dev prisma@7 and pin "^7" in package.json.
2. Is Prisma ORM 6 still safe to run in production?
Prisma ORM 6 reached end of life on November 19, 2026, meaning it no longer receives security patches or bug fixes. Teams on PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, or CockroachDB should upgrade to Prisma ORM 7 (7.10.1); teams on MongoDB should evaluate upgrading to Prisma ORM 8 (@prisma/orm-mongo).
3. Should I adopt Prisma ORM 8 RC or Prisma ORM 7 for a new production app?
For production SQL apps today, Prisma ORM 7 (7.10.1) is the safer default because Prisma 8 RC still lacks $extends, JSON-column filtering, atomic increment, most nested writes, and P2002-style error codes, and has no announced GA date yet. Prisma 7 will receive bug fixes and security updates for 18 months after Prisma 8 reaches GA.
4. What changed with nested transactions in Prisma 8's November 2026 builds?
On November 20, 2026 (v8.0.0-rc.24-dev.37 / ADR 326), Prisma finalized savepoint-based nested transactions across Postgres, MySQL, and SQLite. Calling tx.transaction(cb) inside an active transaction opens a SQL savepoint rather than joining the outer transaction, and multi-statement ORM writes inside a user transaction automatically wrap in a savepoint so partial failures roll back cleanly.
5. How does Prisma 8 compare to Drizzle ORM on bundle size and cold starts?
In November 2026 benchmarks on Node.js 24, Prisma 8 RC cut production node_modules size from 329 MB (Prisma 7) down to 130 MB, though Drizzle ORM (0.45.4 / 1.0.0-rc.4) remains smaller at 21–30 MB with a ~35 ms bundled cold start versus Prisma 8 RC's ~370 ms.
6. How do AI coding agents integrate with Prisma 8?
Both npm create prisma and npx prisma orm init scaffold a prisma-8.md primer, and npx prisma skills sync installs version-matched SKILL.md workflows into .claude/skills/ and .cursor/skills/ alongside Prisma's MCP server tools.
Sources
- Prisma Official Documentation — Prisma ORM Release Status (updated November 20–21, 2026): https://www.prisma.io/docs/orm/release-status
- GitHub (
prisma/orm) — Issue #31110: v7 update notice suggests prisma@latest (8.0.0-rc) with @prisma/client@latest (7.10.1), which breaks generate and migrate (opened November 19, 2026): https://github.com/prisma/orm/issues/31110 - Releasebot — Prisma Release Notes (
v8.0.0-rc.24-dev.16throughdev.40& ADR 326) (updated November 22, 2026): https://releasebot.io/updates/prisma - Fab Waseem — Drizzle vs Prisma 2026: Benchmarks and Which to Choose (published November 17, 2026): https://fabwaseem.com/blog/drizzle-vs-prisma
- Glama MCP Directory — Prisma MCP Server & Skills Overview (accessed November 23, 2026): https://glama.ai/mcp/servers/prisma/orm
- MakerKit — Drizzle vs Prisma ORM in 2026: A Practical Comparison (updated November 2026): https://makerkit.dev/blog/tutorials/drizzle-vs-prisma