Packages

@prisma/internals

7.10.1 · 15 Oct 2026Apache-2.02M / weekRepositoryHomepagenpmAtom feed

Upgrading @prisma/internals From 4.2.0 to 7.10.1

114 releases in betweennotes for 49

Other targets from 4.2.0Newest 4.x4.16.2
  1. 4.2.0yours
  2. 23 releases
  3. 5.0.0major
  4. 38 releases
  5. 5.22.0security
  6. 6.0.0major
  7. 33 releases
  8. 6.19.3security
  9. 7.0.0major
  10. 7.0.1security
  11. 10 releases
  12. 7.9.0security
  13. 2 releases
  14. 7.10.1target
46+
changes to make
0
advisories fixed
205+
new
98+
fixes

Counted from 49 of 114 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

  • It also updates dependencies that had security advisories.

    7.10.1
  • @prisma/adapter-mariadb now depends on mariadb 3.5.4, which fixes several security advisories in 3.5.3.

    7.10.1
  • Dependencies with security advisories were updated: mysql2, fast-uri, deepmerge-ts, mariadb and source-map-js. (#30314, #30189, #30668)

    7.10.1
  • Resolved the hono security advisories at their source: @prisma/dev was updated to a version that no longer depends on hono at all, so the CLI is no longer exposed to those advisories through that path. We also patched moderate-severity advisories in ajv and uuid across production dependencies (#29514).

    7.9.0
  • Hardened the Prisma Platform credentials file (~/.config/prisma-platform/auth.json) and its directory to 0o600 / 0o700 so 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 openssl crate in the schema engine binaries from 0.10.74 to 0.10.81 (prisma/prisma-engines#5815).

    7.9.0
  • Fix potential vulnerabilities in installed dependencies (via #28592)

    7.0.1
  • It updates the effect dependency to resolve a security vulnerability.

    6.19.3
  • 5.22.0

Release by release

  1. 7.10.1

    Security fix15 Oct 20262 fixes
    • Security

      It also updates dependencies that had security advisories.

    • Security

      @prisma/adapter-mariadb now depends on mariadb 3.5.4, which fixes several security advisories in 3.5.3.

    • Security

      Dependencies with security advisories were updated: mysql2, fast-uri, deepmerge-ts, mariadb and source-map-js. (#30314, #30189, #30668)

    • 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.

  2. 7.9.1 – 7.10.02 releases, no release note

  3. 7.9.0

    Security fix20 Jul 202610 new · 17 fixes
    • Security

      Resolved the hono security advisories at their source: @prisma/dev was updated to a version that no longer depends on hono at all, so the CLI is no longer exposed to those advisories through that path. We also patched moderate-severity advisories in ajv and uuid across production dependencies (#29514).

    • Security

      Hardened the Prisma Platform credentials file (~/.config/prisma-platform/auth.json) and its directory to 0o600 / 0o700 so 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 openssl crate 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 / AGENT conventions so future agents are caught without a code change.

  4. 7.8.0

    22 Apr 20261 new · 9 fixes
    • New

      Added a queryPlanCacheMaxSize option to the PrismaClient constructor for fine-grained control over the query plan cache. Pass 0 to 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 ::jsonb cast when filtering on PostgreSQL JSON list columns. Queries using where: { 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), allowing where: { 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.

  5. 7.7.0

    7 Apr 20266 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, and dotenv.

    • New

      Migrate — Runs prisma migrate dev if the schema contains models.

    • New

      Generate — Runs prisma generate.

    • New

      Seed — Runs prisma db seed if a seed script is configured.

  6. 7.6.0

    27 Mar 20265 new · 6 fixes
    • New

      Added a prisma postgres link command that connects a local project to a Prisma Postgres database. This is the first command in a new prisma postgres command group for managing Prisma Postgres databases directly from the CLI.

    • New

      @prisma/adapter-pg: Added a statementNameGenerator option that accepts a custom prepared statement name generator to allow users to leverage pg statement 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 useTextProtocol option in the constructor to toggle between text and binary protocols

  7. 7.5.0

    11 Mar 20261 new · 8 fixes
    • New

      Added support for nested transaction rollbacks via savepoints (#21678)

    • Fixed

      Made the adapter-mariadb use the binary MySQL protocol to fix an issue with lossy number conversions

    • Fixed

      Made @types/pg a direct dependency of adapter-pg for better TypeScript experience out-of-the-box

    • Fixed

      Resolved Prisma.DbNull serializing as empty object in some bundled environments like Next.js

  8. 7.4.2

    27 Feb 20268 fixes
    • Fixed

      Fix a case-insensitive IN and NOT IN filter regression (#29243)

    • Fixed

      Fix a query plan mutation issue that resulted in broken cursor queries (#29262)

    • Fixed

      Fix an array parameter wrapping issue in push operations (#5784)

    • Fixed

      Fix Uint8Array serialization in nested JSON fields (#29268)

59 other lines we could not sort, mostly version bumps
  • 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 compilerBuild option for the client generator block in schema.prisma with two options: fast and small. 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, the fast mode 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-mssql to 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-sqlite3 adapter. We’ve bumped the version that powers @prisma/better-sqlite3 and 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 relationJoins with BigInt fields in Prisma 7, JavaScript's JSON.parse loses precision for integers larger than Number.MAX_SAFE_INTEGER (2^53 - 1). This happens because PostgreSQL's JSONB_BUILD_OBJECT returns BigInt values as JSON numbers, which JavaScript cannot represent precisely.

    7.3.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/api as external in instrumentation Ensures @opentelemetry/api is 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 the env() 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:

    7.1.0

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.