@prisma/internals
7.10.1 · 15 Oct 2026Apache-2.02M / weekRepositoryHomepagenpmAtom feed
Upgrading @prisma/internals From 5.9.1 to 7.10.1
72 releases in betweennotes for 47
- 34+
- changes to make
- 0
- advisories fixed
- 156+
- new
- 97+
- fixes
Counted from 47 of 72 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking7.3.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
- Breaking7.0.0
Security
- 7.10.1
It also updates dependencies that had security advisories.
- 7.10.1
@prisma/adapter-mariadbnow depends onmariadb3.5.4, which fixes several security advisories in 3.5.3. - 7.10.1
- 7.9.0
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). - 7.9.0
Hardened the Prisma Platform credentials file (
~/.config/prisma-platform/auth.json) and its directory to0o600/0o700so OAuth tokens are no longer world-readable, bringing Prisma in line with the GitHub, AWS, and Google Cloud CLIs (#29568, from Jaeyoung Yun). - 7.9.0
Bumped the
opensslcrate in the schema engine binaries from 0.10.74 to 0.10.81 (prisma/prisma-engines#5815). - 7.0.1
Fix potential vulnerabilities in installed dependencies (via #28592)
- 6.19.3
It updates the
effectdependency to resolve a security vulnerability. - 5.22.0
Release by release
- Security
It also updates dependencies that had security advisories.
- Security
@prisma/adapter-mariadbnow depends onmariadb3.5.4, which fixes several security advisories in 3.5.3. - Security
- Fixed
If the old transaction had committed, the new one failed with
P2028; - Fixed
If the old transaction was still open, the new one silently ran as a savepoint inside another request's transaction.
- Security
7.9.1 – 7.10.02 releases, no release note
- 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). - Security
Hardened the Prisma Platform credentials file (
~/.config/prisma-platform/auth.json) and its directory to0o600/0o700so OAuth tokens are no longer world-readable, bringing Prisma in line with the GitHub, AWS, and Google Cloud CLIs (#29568, from Jaeyoung Yun). - Security
Bumped the
opensslcrate in the schema engine binaries from 0.10.74 to 0.10.81 (prisma/prisma-engines#5815). - New
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.
- Security
- New
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. - Fixed
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
Fixed case-insensitive JSON field filtering (
mode: insensitive), allowingwhere: { jsonField: { equals: "...", mode: "insensitive" } }to work correctly. (prisma/prisma-engines#5806) - Fixed
Fixed incorrect parameterization of enum values that have a custom database name set via
@map.
- New
- New
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. - New
Link — Authenticates via the browser and connects to a Prisma Postgres database. Skips if already linked.
- New
Install dependencies — Detects the package manager and offers to install missing
@prisma/client,prisma, anddotenv. - New
Migrate — Runs
prisma migrate devif the schema contains models. - New
Generate — Runs
prisma generate. - New
Seed — Runs
prisma db seedif a seed script is configured.
- New
- New
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. - New
@prisma/adapter-pg: Added a
statementNameGeneratoroption that accepts a custom prepared statement name generator to allow users to leveragepgstatement caching - New
@prisma/adapter-pg: Added support for usage of connection strings directly in the constructor for improved ergonomics
- New
@prisma/adapter-mariadb: Added a
useTextProtocoloption in the constructor to toggle between text and binary protocols
- New
- New
Added support for nested transaction rollbacks via savepoints (#21678)
- Fixed
Made the
adapter-mariadbuse the binary MySQL protocol to fix an issue with lossy number conversions - Fixed
Made
@types/pga direct dependency ofadapter-pgfor better TypeScript experience out-of-the-box - Fixed
Resolved
Prisma.DbNullserializing as empty object in some bundled environments like Next.js
- New
59 other lines we could not sort, mostly version bumps
- 7.3.0
Fast and Small Query Compilers We've been working on various performance-related bugs since the initial ORM 7.0 release. With 7.3.0, we're introducing a new
compilerBuildoption for the client generator block inschema.prismawith two options:fastandsmall. This allows you to swap the underlying Query Compiler engine based on your selection, one built for speed (with an increase in size), and one built for size (with the trade off for speed). By default, thefastmode is used, but this can be set by the user: - 7.3.0
Bypass the Query Compiler for Raw Queries Raw queries (
$executeRaw,$queryRaw) can now skip going through the query compiler and query interpreter infrastructure. They can be sent directly to the driver adapter, removing additional overhead. - 7.3.0
Update MSSQL to v12.2.0 This community PR updates the
@prisma/adapter-mssqlto use MSSQL v12.2.0. Thanks Jay-Lokhande! - 7.3.0
Pin better-sqlite3 version to avoid SQLite bug An underlying bug in SQLite 3.51.0 has affected the
better-sqlite3adapter. We’ve bumped the version that powers@prisma/better-sqlite3and have pinned the version to prevent any unexpected issues. If you are using@prisma/better-sqlite3, please upgrade to v7.3.0. - 7.3.0
prisma-engines#5745: Cast BigInt to text in JSON aggregation When using
relationJoinswith BigInt fields in Prisma 7, JavaScript'sJSON.parseloses precision for integers larger thanNumber.MAX_SAFE_INTEGER(2^53 - 1). This happens because PostgreSQL'sJSONB_BUILD_OBJECTreturns BigInt values as JSON numbers, which JavaScript cannot represent precisely. - 7.1.0
implement sql commenter plugins for Prisma Client This PR implements support for SQL commenter plugins to Prisma Client. The feature will allow users to add metadata to SQL queries as comments following the sqlcommenter format.
- 7.1.0
added error message when constructing client without configs This commit adds an additional error message when trying to create a new PrismaClient instance without any arguments.
- 7.1.0
mark
@opentelemetry/apias external in instrumentation Ensures@opentelemetry/apiis treated as an external dependency rather than bundled. Since it is a peer dependency, this prevents applications from ending up with duplicate copies of the package. - 7.1.0
allow
env()helper to accept interface-based generics Updates theenv()helper’s type definition so it works with interfaces as well as type aliases. This removes the previous constraint requiring an index signature and resolves TS2344 errors when using interface-based env types. Runtime behavior is unchanged. - 7.1.0
Add support for Prisma 7 Users of the read-replicas extension can now use the extension in Prisma v7. You can update by installing:
20 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.