Releases: prisma/prisma
Release list
v8.0.0-rc.1
v8.0.0-rc.1
This is the first release on the v8 release-candidate line: releases are now versioned 8.0.0-rc.N instead of 0.x minors. It also makes every aggregate read back through the codec its target declares — count() returns a bigint — splits the SQL driver interface into a row-streaming call and a statistics call, and fixes four defects in query planning, emit, and driver error reporting.
The v8 release-candidate line
Releases are now versioned 8.0.0-rc.1, 8.0.0-rc.2, and so on, with the counter advancing on every release. "The v8 RC" is the product name; the number underneath iterates freely, so there is no promise that the last RC before 8.0.0 final is numbered rc.1. There are no further 0.x minors. The policy is written up in docs/oss/versioning.md. (#29899)
For every package this repository publishes, latest keeps tracking the newest release, RC included. These package names have no pre-v8 stable audience to protect — a bare npm install of one of them was already an early-access install, and still is. The bare prisma package is not published from this repository; its v8 CLI shim lives in prisma/prisma-cli.
Existing installs are not moved onto the RC line by npm update. Lockfiles pin resolved versions, and a ^0.x range can never match a 8.0.0-rc.N pre-release, because pre-releases do not satisfy stable ranges. Only a fresh install, or an explicit version change on your side, lands on the RC.
Development builds move to the same line: every push to main that does not change the root version publishes 8.0.0-rc.X-dev.N under the dev dist-tag.
An RC respin may still contain breaking changes. Until 8.0.0 final ships, the pre-1.0 latitude documented in docs/oss/versioning.md carries over: a new rc.N may remove or rename APIs, change the semantics of existing ones, or change the contract format. Read the breaking-changes section of each release before you upgrade.
Breaking changes
-
Aggregate results carry the codec their target declares — an aggregate is now read back through the codec its target declares for that result rather than through whatever the driver handed over, so aggregate application types change.
count()is abiginton both PostgreSQL and SQLite, at the top level and inside an include, and an empty relation reads0n. On PostgreSQL,sumoverint2/int4widens to abigint, whilesum(int8)andavgover any integer arenumericand read as exact decimal strings;min/maxkeep the column's own type, except overvarchar, which returnstext. On SQLite,sumover an integer column is abigintandavgis always anumber. Sweep your code for equality and arithmetic against an aggregate result (count === 2is false whencountis2n) and forJSON.stringifyover one (it throws on a bigint).having(...)operands are the exception and stay plain numbers — they are compared inside SQL and never cross a codec. Regenerate your contracts (prisma-next contract emit):contract.d.tsgains anAggregateTypesblock that both the ORM and the SQL builder resolve result types from, and against an older contract an aggregate resolves toneverin the ORM andunknownin the SQL builder. The type is not the only guard: an aggregate whose operation and input codec the composed target does not declare is rejected before the query runs, with the error codeORM.AGGREGATE_UNSUPPORTED. See the upgrade recipe and the extension-author recipe. (#29867)Before:
const rows = await posts.include('comments', (comments) => comments.count()).all(); rows[0].comments === 2; // number; 0 when the relation is empty
After:
const rows = await posts.include('comments', (comments) => comments.count()).all(); rows[0].comments === 2n; // bigint; 0n when the relation is empty
-
The SQL driver interface splits row streaming from statement statistics —
SqlQueryable(exported from@internal/sql-relational-core/ast) is now two methods wide:query()streams rows andexecute()returns{ affectedRows }. The separate prepared-execution method is gone; a prepared plan is expressed by an optionalpreparedStatementHandleon the request instead, and a driver branches on whether that property isundefined. Application code, query results, and the contract format are unaffected — this only matters if you implement or wrapSqlQueryableyourself, in which case update your implementation to the two-method shape. There is no upgrade recipe entry for this; the change is the interface itself. (#29907)Before:
interface SqlQueryable { execute<Row>(request: SqlExecuteRequest): AsyncIterable<Row>; executePrepared<Row>(request: PreparedExecuteRequest): AsyncIterable<Row>; query<Row>(sql: string, params?: readonly unknown[]): Promise<SqlQueryResult<Row>>; }
After:
interface SqlQueryable { query<Row>(request: SqlExecuteRequest): AsyncIterable<Row>; execute(request: SqlExecuteRequest): Promise<SqlStatementStats>; }
Features
prisma-next initinstalls oneprisma-8skill instead of eleven per-workflow skills, and removes the retired skill directories from every agent's install root on each run. Each skill is now installed by name —prisma-8,prisma-next-upgrade, andprisma-8-extension-upgrade— rather than by matching a wildcard against a directory, so a new skill landing beside them is not picked up by accident. (#29853)
Fixes
- A column, table, or model mapped to a name that is not a bare TypeScript identifier —
@map("has space"),@@map("data rows")— now emits a quoted property key incontract.d.tsinstead of producing a syntactically invalid file that killedcontract emit. String literals in emitted TypeScript also survive control characters and line separators, which previously produced the same failure by a different route. (#29889, #29898) - Nested
some/every/nonepredicates over a self-referential relation now keep a distinct SQL alias at every level, so an inner scope no longer shadows the parent it is supposed to correlate against. This covers one-to-one, many-to-one, one-to-many, implicit many-to-many, and explicit-junction many-to-many relations in both directions, and relations whose physical tables share a bare name across namespaces. (#29900) - Scalar reducers on a many-to-many include —
count(),sum(),avg(),min(),max()— now traverse the junction table instead of emitting a predicate against a foreign-key column that only exists on the junction, so a filtered relation count over a many-to-many relation returns the right number. (#29888) - A failed retry of a stale PostgreSQL prepared statement now surfaces a structured error envelope with the code
DRIVER.PREPARE_FAILED, carrying the normalized driver error as its cause, instead of an unlabelled failure. (#29907)
v0.17.0
v0.17.0
This is the namespace release: Prisma Next now publishes as 17 packages under the @prisma scope, and an application depends on exactly one database facade. It also completes the structured error-code scheme across every plane, makes relation-loading lossless for big numbers and temporal values, and gives every SQL index and RLS policy an exact, migratable name.
Breaking changes
-
One
@prismapackage per application — the@prisma-next/*scope is retired; nothing publishes under it again. An application depends on exactly one database facade —@prisma/orm-postgres,@prisma/orm-sqlite, or@prisma/orm-mongo— plus any extension packs it uses (now named@prisma/orm-extension-*); everything else arrives as the facade's exact-pinned dependencies. Regenerating your contract rewrites generated imports to facade entrypoints with nocontractHashchange. See the 0.16-to-0.17 upgrade recipe and the extension-author recipe. (#29864, #29880, #29883, #29884)Before:
"dependencies": { "@prisma-next/postgres": "0.16.0", "@prisma-next/framework-components": "0.16.0", "@prisma-next/sql-runtime": "0.16.0" }
After:
"dependencies": { "@prisma/orm-postgres": "0.17.0" }
-
Every published error is a structured envelope with a dotted code — the four legacy error systems (
PN-CLI-4001-style codes,RUNTIME.DECODE_FAILED-style codes, and codeless error classes) consolidate into one scheme: a structural envelope carrying aNAMESPACE.SUBCODEcode, recognized by theisStructuredErrortype predicate instead ofinstanceof. The ORM, contract-authoring, adapter/target, extension, and framework planes are all swept; legacy error classes (PslFormatError, the Supabase and SQL-escape classes, framework classes) are deleted. Prisma 7'sP1001-style codes are not carried over. (#1016, #1021, #1025, #1049, #1053, #1063)Before:
if (error instanceof PslFormatError) { report(error.diagnostics); }
After:
if (isStructuredError(error) && error.code === 'PSL.PARSE_FAILED') { report(error.meta.diagnostics); }
-
Content hashes are bare hex — the
sha256:prefix is gone from every surface (emitted contracts, migration manifests, refs, CLI output, and the database marker), and loaders reject the prefixed form. Contract hash values are unchanged;migrationHashvalues change. A codemod in the 0.16-to-0.17 recipe converts checked-in migration trees. (#1033) -
Migration contract snapshots move into a content-addressed store — per-migration sibling snapshot files and ref-paired copies are replaced by a single
migrations/snapshots/<hex>/store per migrations root; every distinct contract is stored once, andmigration.tsimports its bookend contracts from the store. This is a clean break with no fallback reader; a one-shot migrator (scripts/migrate-migrations-layout.mjs) converts existing trees and re-verifies everymigrationHashunchanged. (#1018, #1024) -
PostgreSQL native types are authored in type position; the
@db.*attribute channel is removed — write the native type directly (VarChar(255),Uuid,Timestamptz) instead of a base type plus@db.*attribute; remaining@db.X(args)usage fails with the exact replacement spelled out.Jsonre-binds to nativejsonstorage, with a newJsonbscalar for jsonb (what every pre-0.16Jsonfield meant — switch those fields to keep a byte-identical contract), andDatere-binds to the correctpg/date@1codec. (#1022, #1036, #1054)Before:
model User { id String @id @db.Uuid name String @db.VarChar(255) }
After:
model User { id Uuid @id name VarChar(255) }
-
Relation-loading and aggregates are lossless — values read through
.include()no longer pass through lossy JSON: every codec gains an explicit lossless JSON form produced inside the database. 64-bit integers arrive asbigintinstead of silently rounding, decimals as exact strings, and temporal columns decode correctly. Aggregate result types change accordingly:count()is abigint, decimal sums are strings. Regenerate your contract after upgrading. (#29844, #1023, #1051) -
SQL indexes and RLS policies are name-identified — every index and RLS policy carries an exact name in the contract, names travel on the wire, live objects can be adopted by exact name (
@@map), and a rename converges by renaming instead of drop-and-recreate. (#1047, #29807, #29865) -
extensionPacksconfig key renamed toextensions— inprisma-next.config.ts, the TS builder, client options, and the emitted contract's top-level key. The old key fails loudly. Because the key sits in the hashed contract bytes, all contract hashes change: re-emit and re-anchor migrations per the recipe. Two smaller key renames ride along:contract.source.sourceFormat→format, and the facadedefineConfigoptionoutputPath→output. (#1032) -
Count-only mutation terminals renamed —
createCount(...)/updateCount(...)/deleteCount()becomecreateAndCount(...)/updateAndCount(...)/deleteAndCount(); behavior andPromise<number>results are unchanged, with no compatibility aliases. (#1044)
Features
- Expression, partial, and unique indexes are authorable in both PSL and the TypeScript builder. (#1048)
contract inferreaches full fidelity — indexes, policy blocks, and@@rlsare captured — and signs the database, so introspect-then-verify works end to end on an adopted database. It also infers 1:1 relations from unique indexes. (#29808, #1038)- Every error code is documented on an in-repo reference page (221 codes), kept complete by a CI check, and error envelopes carry a
docsUrlpointing at their per-code anchor. (#1027, #29806)
Fixes
- MongoDB write results decode through their type codecs instead of returning raw wire values. (#29879)
- The Postgres runtime driver serializes queries per pinned client, fixing interleaved-query failures on a shared connection. (#29839)
- Mixed-case native-enum casts are quoted, so PascalCase enum type names survive Postgres case-folding. (#1034)
- Driver cursor streaming runs inside an explicit transaction, fixing dropped-portal failures under load. (#1017)
- Published type declarations name only dependencies a consumer will actually have installed. (#29862)
7.9.1
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/dev or 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
Today, we are excited to share the 7.9.0 stable 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/tab delegates to any locally-installed CLI that ships completions, so pnpm prisma <TAB>, pnpm exec prisma <TAB>, yarn prisma <TAB>, and bun x prisma <TAB> all complete Prisma's commands, options, and values — no per-project setup. (npx and bunx don't support completion themselves; use npm exec and bun x.)
If instead you have Prisma installed globally on your PATH, source its own completion directly: source <(prisma complete zsh) (or the bash / fish / powershell variant).
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!
prisma.mp4
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 init (#29689)
prisma init now 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
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). - Improved the runtime and TypeScript error messages shown when a driver adapter is missing from the
PrismaClientconstructor; both now include a copy-pasteable example and a link to the driver adapters docs (#29624). - Unmapped database errors from driver adapters now surface as a user-facing
P2039(PrismaClientKnownRequestError) carrying the original code and message, instead of an opaque failure, which keeps schema-drift-style problems debuggable (#29512). - The
prisma-client-jsgenerator no longer emits a strayundefinedstatement when generating from a schema that declares only enums or types and no models (#29738, from @kyungseopk1m). - Fixed a connection leak when an interactive transaction times out (
maxWait) while it is still starting: the discarded transaction now sends an explicitROLLBACKbefore the connection is returned to the pool, instead of releasing it mid-transaction. Previously, on adapters like@prisma/adapter-pgand@prisma/adapter-neon, the next query to reuse that connection could fail withthere is already a transaction in progress— or silently commit the leaked transaction's work (#29727, from @lazerg).
CLI
prisma validate(and other schema-loading commands) no longer hangs forever on a multi-file schema whose directories contain a symlink cycle, and no longer reports the same file twice when a directory is reachable under two spellings (e.g./tmp→/private/tmpon macOS) (#29740, from @kyungseopk1m).- On Windows, engine binaries are now cached in a stable, user-level directory (
%APPDATA%\Prisma) instead of acwd-relativenode_modules\.cache, which eliminated duplicate cache directories and the bloated Serverless/Docker bundles they caused (#29730, from @santichausis; closes #22574, #6670, #11577).
Driver Adapters
- @prisma/adapter-pg, @prisma/adapter-neon, @prisma/adapter-ppg: Reading a
Bytescolumn no longer emits Node.js'DEP0005deprecation warning, thanks to an upstreampostgres-byteabump (#29538, from @kolia-zamnius). - @prisma/adapter-ppg:
ColumnNotFound(P2022) errors now parse both quoted and unquoted PostgreSQL column names, including identifiers containing spaces, matching the fix previously applied toadapter-pg(#29737, from @kyungseopk1m). - @prisma/adapter-mssql: Setting a
Bytes?(@db.VarBinary) field tonullno longer fails with an implicit-conversion error; the adapter now sends the parameter typed asVarBinaryinstead of letting SQL Server default it tonvarchar(#29630, from @AnupamKumar-1).
Schema Engine
prisma migrate statusnow reports a rolled-back migration that still exists on disk as unapplied, instead of incorrectly treating the schema as up to date (prisma/prisma-engines#5817, from @goutamadwant).- Primary-key constraint renames are now rendered as separate
ALTER TABLEstatements on PostgreSQL, avoiding a database error when a single table has multiple changes in one migration (prisma/prisma-engines#4906, from @eruditmorina).
Security
- Resolved the
honosecurity advisories at their source:@prisma/devwas updated to a version that no longer depends onhonoat all, so the CLI is no longer exposed to those advisories through that path. We also patched moderate-severity advisories inajvanduuidacross production dependencies (#29514). - Hardened the Prisma Platfor...
7.8.0
Today, we are excited to share the 7.8.0 stable release 🎉
🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ORM
Features
Prisma Client
- Added a
queryPlanCacheMaxSizeoption to thePrismaClientconstructor for fine-grained control over the query plan cache. Pass0to disable the cache entirely, or omit it to use the default cache size. A larger value can improve performance in applications that execute many unique queries, while a smaller one can reduce memory usage. (#29503)
Bug Fixes
Prisma Client
- Fixed an equality filter panic and incorrect
::jsonbcast when filtering on PostgreSQL JSON list columns. Queries usingwhere: { jsonListField: { equals: [...] } }no longer panic with a type mismatch or emit invalid SQL. (prisma/prisma-engines#5804) - Fixed case-insensitive JSON field filtering (
mode: insensitive), allowingwhere: { jsonField: { equals: "...", mode: "insensitive" } }to work correctly. (prisma/prisma-engines#5806) - Fixed incorrect parameterization of enum values that have a custom database name set via
@map. (#29422) - Fixed a database parameter limit check (
P2029), which could incorrectly reject or miss over-limit queries. (#29422) - Fixed a regression that caused missing SQL Server
VARCHARcasts for parameterized values. (prisma/prisma-engines#5801)
Schema Engine
- Fixed a misleading error message in
prisma migrate diffthat referenced the--shadow-database-urlCLI flag, which was removed in Prisma 7. (#29455) - Fixed
prisma migrate dev(and shadow database migration replay in general) failing withCREATE INDEX CONCURRENTLY cannot run inside a transaction blockwhen a migration contained concurrent index creation statements on PostgreSQL. (prisma/prisma-engines#5799) - Fixed PostgreSQL introspection silently dropping sequence defaults when the database returns the schema-qualified form
pg_catalog.nextval('sequence_name'::regclass)instead of the barenextval(...). Columns backed by sequences now correctly appear as@default(autoincrement())in the Prisma schema in all cases. (prisma/prisma-engines#5802)
Driver Adapters
- @prisma/adapter-d1: Savepoint operations (
createSavepoint,rollbackToSavepoint,releaseSavepoint) now silently no-op with debug logging instead of executing SQL statements, consistent with how the D1 adapter already treats top-level transactions. (#29499)
Open roles at Prisma
Interested in joining Prisma? We're growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our Careers page and find the role that's right for you.
Enterprise support
Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.
With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.
7.7.0
Today, we are excited to share the 7.7.0 stable release 🎉
🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ORM
prisma bootstrap command
A new prisma bootstrap command (#29374, #29424) sequences the full Prisma Postgres setup into a single interactive flow. It detects the current project state and runs only the steps that are needed:
- Init or scaffold — In an empty directory, offers a choice of 10 starter templates (Next.js, Express, Hono, Fastify, Nuxt, SvelteKit, Remix, React Router 7, Astro, NestJS) from prisma-examples. In an existing project without a schema, runs
prisma init. - Link — Authenticates via the browser and connects to a Prisma Postgres database. Skips if already linked.
- Install dependencies — Detects the package manager and offers to install missing
@prisma/client,prisma, anddotenv. - Migrate — Runs
prisma migrate devif the schema contains models. - Generate — Runs
prisma generate. - Seed — Runs
prisma db seedif a seed script is configured.
Each side-effecting step prompts for confirmation. Re-running the command skips already-completed steps.
Basic usage
npx prisma@latest bootstrap
With a starter template
npx prisma@latest bootstrap --template nextjs
Non-interactive (CI)
npx prisma@latest bootstrap --api-key "$PRISMA_API_KEY" --database "db_abc123"
Open roles at Prisma
Interested in joining Prisma? We're growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our Careers page and find the role that's right for you.
Enterprise support
Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.
With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.
6.19.3
Today, we are issuing a 6.19.3 patch release in the Prisma 6 release line. It updates the effect dependency to resolve a security vulnerability.
Changes:
#29416
7.6.0
Today, we are excited to share the 7.6.0 stable release 🎉
🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ORM
Features
CLI
- Added a
prisma postgres linkcommand that connects a local project to a Prisma Postgres database. This is the first command in a newprisma postgrescommand group for managing Prisma Postgres databases directly from the CLI. (#29352)
Driver Adapters
- @prisma/adapter-pg: Added a
statementNameGeneratoroption that accepts a custom prepared statement name generator to allow users to leveragepgstatement caching (#29395) - @prisma/adapter-pg: Added support for usage of connection strings directly in the constructor for improved ergonomics (#29287)
- @prisma/adapter-mariadb: Added a
useTextProtocoloption in the constructor to toggle between text and binary protocols (#29392)
Bug Fixes
Prisma Client
- Disabled caching of
createManyqueries to avoid cache bloat and potential Node.js crashes in bulk operations (#29382) - Made
NowGeneratorlazy to avoid synchronousnew Date()calls, fixing Next.js "dynamic usage" errors in cached components (#28724) - Fixed missing export of
Get<Model>GroupByPayloadtype in the newprisma-clientgenerator, making it accessible for TypeScript usage (#29346)
CLI
- Added streaming parsing with automatic fallback to handle Prisma schemas that produce extremely large intermediate strings (>500MB) that hit V8's string limits (#29377)
Driver Adapters
- @prisma/adapter-pg: Relaxed the
@types/pgversion constraint to^8.16.0for compatibility with newer PostgreSQL type definitions (#29390) - @prisma/adapter-pg: Corrected error handling for
ColumnNotFounderrors to correctly extract column names from both quoted and unquoted PostgreSQL error messages (#29307) - @prisma/adapter-mariadb: Modified the adapter to disable
mariadbstatement caching by default to address a reported leak (#29392)
Prisma Studio
We’re continuing our work to improve Prisma Studio with more features being added.
Dark Mode
Need we say more? You’ve all asked for it, and it’s back.
dark-mode-studio.mp4
Copy as markdown
Now, you can copy one or more rows as either CSV or Markdown
Multi-cell editing
This is big one, something that folks have been asking for. Now, it’s possible to edit multiple cells while inspecting your database. If you make any changes, you’ll be prompted to either save or discard them. This makes manually adding new rows much easier to accomplish.
Back relations
If your data references another table, Prisma Studio now links to the related records, making it easy to inspect them. This makes traversing your database much simpler.
CleanShot.2026-03-24.at.20.39.01.mp4
Generative SQL with AI
If you need to inspect your database, instead of manually writing the SQL you may need, you can use natural language and AI to generate the appropriate SQL statements.
CleanShot.2026-03-19.at.00.01.53.mp4
Open roles at Prisma
Interested in joining Prisma? We’re growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our Careers page and find the role that’s right for you.
Enterprise support
Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.
With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.
7.5.0
Today, we are excited to share the 7.5.0 stable release 🎉
🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ORM
Features
-
Added support for nested transaction rollbacks via savepoints (#21678)
Adds support for nested transaction rollback behavior for SQL databases: if an outer transaction fails, the inner nested transaction is rolled back as well. Implements this by tracking transaction ID + nesting depth so Prisma can reuse an existing open transaction in the underlying engine, and it also enables using
$transactionfrom an interactive transaction client.
Bug fixes
Driver Adapters
- Made the
adapter-mariadbuse the binary MySQL protocol to fix an issue with lossy number conversions (#29285) - Made
@types/pga direct dependency ofadapter-pgfor better TypeScript experience out-of-the-box (#29277)
Prisma Client
- Resolved
Prisma.DbNullserializing as empty object in some bundled environments like Next.js (#29286) - Fixed DateTime fields returning
Invalid Datewithunixepoch-mstimestamps in some cases (#29274) - Fixed a cursor-based pagination issue with
@db.Datecolumns (#29327)
Schema Engine
- Manual partial indexes are now preserved when
partialIndexespreview feature is disabled, preventing unnecessary drops and additions in migrations (#5790, #5795) - Enhanced partial index predicate comparison to handle quoted vs unquoted identifiers correctly, eliminating needless recreate cycles (#5788)
- Excluded partial unique indexes from DMMF
uniqueFieldsanduniqueIndexesto prevent incorrectfindUniqueinput type generation (#5792)
Studio
With the launch of Prisma ORM v7, we also introduced a rebuilt version of Prisma Studio. With the feedback we’ve gathered since the release, we’ve added some high requested features to help make Studio a better experience.
Multi-cell Selection & Full Table Search
This release brings the ability to select multiple cells when viewing your database. In addition to being able to select multiple cells, you can also search across your database. You can search for a specific table or for specific cells within that table.
More intuitive filtering
Filtering is now easier to use, and includes an option for raw SQL filters.
And if you are using Studio in Console, you can use ai generated filters:

Cmd+k Command Palette
You can now use the keyboard to perform most actions in Studio with the new cmd+k command palette

Run raw SQL queries
Another feature we’ve included in Prisma Studio is the ability to run raw SQL queries against your data. There’s a new “SQL” tab in the sidebar that will bring you to page where you can perform any queries against your data. Below, we’re getting all the rows in the “Todo” table.
Open roles at Prisma
Interested in joining Prisma? We’re growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our [Careers page](https://www.prisma.io/careers#current) and find the role that’s right for you.
Enterprise support
Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.
With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.
7.4.2
Today, we are issuing a 7.4.2 patch release focused on bug fixes and quality improvements.
🛠 Fixes
Prisma Client
- Fix a case-insensitive
INandNOT INfilter regression (#29243) - Fix a query plan mutation issue that resulted in broken cursor queries (#29262)
- Fix an array parameter wrapping issue in push operations (prisma/prisma-engines#5784)
- Fix
Uint8Arrayserialization in nested JSON fields (#29268) - Fix an issue with MySQL joins that relied on non-strict equality (#29251)
Driver Adapters
- @prisma/adapter-mariadb: Update text column detection to check for a binary collation (#29238)
- @prisma/adapter-mariadb: Correct
relationJoinscompatibility check for MariaDB 8.x versions (#29246)
Schema Engine
- Fix partial index predicate comparison on PostgreSQL and MSSQL (prisma/prisma-engines#5780)
🙏 Huge thanks to our community
Many of the fixes in this release were contributed by our amazing community members. We're grateful for your continued support and contributions that help make Prisma better for everyone!



