---
title: "prisma 7.10.1 Breaking Changes on npm | Since.dev"
description: "What each prisma release removed, renamed or changed: 140 breaking changes in 32 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/prisma
last_updated: 2026-12-04
---

# prisma breaking changes

prisma 7.10.1 (October 15, 2026) is its newest release with breaking changes. The first: Migrate refuses a shadow database that is the same as the main database in prisma 7.10.1. Every breaking API change we have recorded in prisma on npm: 140 breaking changes in 32 versions. Below, its 32 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.10.1`, released October 15, 2026. [Source repository](https://github.com/prisma/orm)

Its 6.0.0 release drops Node.js 19, 21 and [23](https://since.dev/calendar/nodejs/23.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.18.0](#v-6-18-0) to [7.10.1](#v-7-10-1): 60 breaking changes in 6 versions.
- From [4.15.0](#v-4-15-0) to [7.10.1](#v-7-10-1): 139 breaking changes in 31 versions.

## prisma 7.10.1 breaking changes

prisma 7.10.1, released October 15, 2026: 1 breaking change.

- **Behavior changed**  

Prisma Migrate now stops with error P3025 when the shadow database URL points at the same database as the main database URL. Point the shadow database URL at a separate database. [github.com](https://github.com/prisma/orm/releases/tag/7.10.1)

## prisma 7.10.0 breaking changes

prisma 7.10.0, released August 25, 2026: 5 breaking changes.

- **Behavior changed**  

Studio's local HTTP server only listens on 127.0.0.1, rejects browser requests from origins other than its localhost Studio URL, and no longer sends wildcard CORS headers. Code that reaches Studio from other hosts or origins will be... [github.com](https://github.com/prisma/orm/releases/tag/7.10.0)
- **Behavior changed** `$queryRaw`  

Invalid Date values passed to $queryRaw or $executeRaw now throw PrismaClientValidationError instead of a generic error. Code that matches the old error type must check for the new one. [github.com](https://github.com/prisma/orm/releases/tag/7.10.0)
- **Behavior changed** `prisma db push`  

The AI-agent safety checkpoint now also applies to interactive prisma db push confirmations involving data-loss warnings, not only runs using --accept-data-loss. Agent-driven workflows may now stop at these prompts. [github.com](https://github.com/prisma/orm/releases/tag/7.10.0)
- **Default changed**  

The prisma-client generator in TypeScript projects using module node16 or nodenext now picks the module format from the nearest package.json type, defaulting to CommonJS when absent. Projects whose output format changes may need to adjust... [github.com](https://github.com/prisma/orm/releases/tag/7.10.0)
- **Configuration changed**  

Without an explicit --config option, Prisma 7 now looks for prisma7.config.\* and .config/prisma7.\* before falling back to prisma.config.\*. If a prisma7 config file exists but fails to load, Prisma reports the error instead of falling back. [github.com](https://github.com/prisma/orm/releases/tag/7.10.0)

## prisma 7.9.0 breaking changes

prisma 7.9.0, released July 20, 2026: 7 breaking changes.

- **Behavior changed**  

Agent detection was broadened, so destructive commands are refused in more agent environments unless the user explicitly consents. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Behavior changed** `$executeRaw`  

Invalid Date values are now rejected with a validation error rather than silently serialized as null. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Behavior changed** `$queryRaw`  

Invalid Date values are now rejected with a validation error rather than silently serialized as null. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Behavior changed** `db push --accept-data-loss`  

When an AI agent is detected, db push with --accept-data-loss is now refused unless the user gives explicit consent. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Behavior changed** `PrismaClientKnownRequestError`  

Unmapped database errors from driver adapters are now thrown as PrismaClientKnownRequestError with code P2039, so catch blocks that handled them differently may need updating. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Behavior changed** `XOR`  

Code that passed primitive values such as data: 5 now fails type-checking. Such values were already rejected at runtime. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)
- **Default changed**  

On Windows, engine binaries are now cached in %APPDATA%\\Prisma instead of a cwd-relative node_modules\\.cache directory. [github.com](https://github.com/prisma/orm/releases/tag/7.9.0)

## prisma 7.3.0 breaking changes

prisma 7.3.0, released January 21, 2026: 2 breaking changes.

- **Behavior changed**  

With relationJoins, BigInt columns are cast to text in JSON aggregation, so they arrive as JSON strings instead of numbers. Code that expects numeric BigInt values in these results must handle strings. [github.com](https://github.com/prisma/orm/releases/tag/7.3.0)
- **Behavior changed**  

Generated enum values no longer come from the @map value introduced in 7.0. Code that relied on the 7.0 mapped enum values must be updated to match the reverted behavior. [github.com](https://github.com/prisma/orm/releases/tag/7.3.0)

## prisma 7.2.0 breaking changes

prisma 7.2.0, released December 17, 2025: 3 breaking changes.

- **Behavior changed** `DataMapperError`  

DataMapperError is surfaced as a user-facing error for clearer error reporting, so code checking its error type may behave differently. [github.com](https://github.com/prisma/orm/releases/tag/7.2.0)
- **Behavior changed** `prisma init`  

prisma init tailors the generated setup depending on whether the runtime is Bun or another JavaScript runtime. [github.com](https://github.com/prisma/orm/releases/tag/7.2.0)
- **Behavior changed** `prisma version --json`  

Machine-readable JSON output is emitted cleanly to stdout without extra noise, so scripts parsing stdout may see different output. [github.com](https://github.com/prisma/orm/releases/tag/7.2.0)

## prisma 7.0.0 breaking changes

prisma 7.0.0, released November 19, 2025: 42 breaking changes.

- **Removed**  

Projects using MongoDB must stay on Prisma 6 because Prisma 7 does not support it. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed**  

The CLI no longer detects Prisma v1 projects. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `AccelerateEngine`  

Accelerate now uses a RemoteExecutor instead. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `adapter`  

The adapter option in the config file is no longer supported. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `BinaryEngine`  

The long-running executable binary engine has been removed. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `DataProxyEngine`  

The data proxy engine has been removed. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `datasource.directUrl`  

This schema option is no longer needed and has been removed. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `engine`  

The engine option in the config file is no longer supported. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `generator.runtime`  

The react-native runtime value for the generator has been removed. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)
- **Removed** `LibraryEngine`  

The Node-API client engine has been removed. [github.com](https://github.com/prisma/orm/releases/tag/7.0.0)

And 32 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

26 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### prisma 6.18.0 breaking changes

prisma 6.18.0, released October 22, 2025: 3 breaking changes.

- **Behavior changed**  

The generated type for Bytes fields now depends on the TypeScript version used, which can change types in existing code. [github.com](https://github.com/prisma/orm/releases/tag/6.18.0)
- **Default changed**  

New projects created with prisma init get a prisma.config.ts file automatically. Existing projects are not affected, but new projects should review the generated config. [github.com](https://github.com/prisma/orm/releases/tag/6.18.0)

And 1 more in this version.

### prisma 6.16.3 breaking changes

prisma 6.16.3, released September 30, 2025: 1 breaking change.

- **Behavior changed**  

Generated migrations no longer include the default schema (namespace) unless it is set explicitly in the schema file, restoring the pre-6.13.0 behaviour. Users relying on the 6.16.2 output may see different migration files. [github.com](https://github.com/prisma/orm/releases/tag/6.16.3)

### prisma 6.16.2 breaking changes

prisma 6.16.2, released September 16, 2025: 1 breaking change.

- **Behavior changed**  

Combining Prisma Postgres URLs with driver adapters, which validation previously permitted, now produces an error saying they are mutually exclusive. Remove the driver adapter when using a Prisma Postgres URL. [github.com](https://github.com/prisma/orm/releases/tag/6.16.2)

### prisma 6.16.0 breaking changes

prisma 6.16.0, released September 10, 2025: 1 breaking change.

- **Removed** `Prisma.validator`  

The new prisma-client generator no longer provides Prisma.validator; use the TypeScript satisfies keyword instead. [github.com](https://github.com/prisma/orm/releases/tag/6.16.0)

### prisma 6.15.0 breaking changes

prisma 6.15.0, released August 27, 2025: 4 breaking changes.

- **Removed** `deno-deploy`  

The deno-deploy runtime value was removed from the Prisma Client generator. Use runtime = "deno" instead. [github.com](https://github.com/prisma/orm/releases/tag/6.15.0)
- **Removed** `node`  

The node runtime value was removed from the Prisma Client generator. Use runtime = "nodejs" instead. [github.com](https://github.com/prisma/orm/releases/tag/6.15.0)

And 2 more in this version.

### prisma 6.14.0 breaking changes

prisma 6.14.0, released August 12, 2025: 1 breaking change.

- **Removed** `prisma.$use`  

The prisma.$use method (middleware), deprecated since v4.16.0, has been removed from Prisma Client. Use Prisma Client extensions instead. [github.com](https://github.com/prisma/orm/releases/tag/6.14.0)

### prisma 6.13.0 breaking changes

prisma 6.13.0, released July 29, 2025: 3 breaking changes.

- **Removed** `earlyAccess`  

Prisma Config is now Generally Available, so the earlyAccess option is no longer needed and should be removed from prisma.config.ts. [github.com](https://github.com/prisma/orm/releases/tag/6.13.0)
- **Behavior changed**  

Views in the Prisma schema can't use @id, @index or @unique anymore, and findUnique, cursor pagination, writes and relations involving views are disallowed. Remove those attributes and adjust code that relies on them. [github.com](https://github.com/prisma/orm/releases/tag/6.13.0)

And 1 more in this version.

### prisma 6.10.0 breaking changes

prisma 6.10.0, released June 17, 2025: 1 breaking change.

- **Behavior changed**  

Imports from the new prisma-client generator output may need to change. Check the generators docs for the new import paths. [github.com](https://github.com/prisma/orm/releases/tag/6.10.0)

### prisma 6.9.0 breaking changes

prisma 6.9.0, released June 3, 2025: 1 breaking change.

- **Default changed** `prisma init`  

Running prisma init now uses local Prisma Postgres by default instead of the previous default. Code or scripts that rely on the old init behavior should pass the relevant option explicitly. [github.com](https://github.com/prisma/orm/releases/tag/6.9.0)

### prisma 6.8.0 breaking changes

prisma 6.8.0, released May 15, 2025: 1 breaking change.

- **Removed** `deno`  

The deno Preview feature is removed from the prisma-client-js generator. To use Prisma ORM with Deno, switch to the prisma-client generator with runtime = "deno". [github.com](https://github.com/prisma/orm/releases/tag/6.8.0)

### prisma 6.6.0 breaking changes

prisma 6.6.0, released April 8, 2025: 3 breaking changes.

- **Behavior changed** `prismaSchemaFolder`  

If you relied on the implicit ./prisma/schema location, move your migrations folder from ./prisma/migrations to ./prisma/schema/migrations. [github.com](https://github.com/prisma/orm/releases/tag/6.6.0)
- **Configuration changed** `prismaSchemaFolder`  

When using the prismaSchemaFolder preview feature, the schema folder path must be given explicitly via the --schema option, the package.json prisma.schema field, or the schema property in prisma.config.ts. [github.com](https://github.com/prisma/orm/releases/tag/6.6.0)

And 1 more in this version.

### prisma 6.5.0 breaking changes

prisma 6.5.0, released March 11, 2025: 1 breaking change.

- **Behavior changed**  

When a migrate command cannot be applied cleanly, Prisma ORM now exits with an error rather than asking to reset the database. To get the previous behavior, run prisma migrate reset directly. [github.com](https://github.com/prisma/orm/releases/tag/6.5.0)

### prisma 6.3.0 breaking changes

prisma 6.3.0, released January 28, 2025: 1 breaking change.

- **Behavior changed**  

Fields inside a generator block are now sorted in a fixed order, so the first prisma db pull after upgrading may reorder them in your schema file. The order stays consistent after that. [github.com](https://github.com/prisma/orm/releases/tag/6.3.0)

### prisma 6.1.0 breaking changes

prisma 6.1.0, released December 17, 2024: 2 breaking changes.

- **Behavior changed**  

Some spans generated by Prisma Client changed, so trace monitoring that depends on the old span names may need updating. The prisma:engine:query and prisma:engine:response_json_serialization spans were added. [github.com](https://github.com/prisma/orm/releases/tag/6.1.0)
- **Configuration changed**  

@opentelemetry/api is now a peer dependency instead of a regular dependency, so users must add it to their own dependencies. [github.com](https://github.com/prisma/orm/releases/tag/6.1.0)

### prisma 6.0.0 breaking changes

prisma 6.0.0, released November 28, 2024: 7 breaking changes.

- **Removed**  

Prisma ORM v6 no longer officially supports Node.js below 18.18.0, 19, 21 or 23. Upgrade Node.js to a supported version before upgrading Prisma. [github.com](https://github.com/prisma/orm/releases/tag/6.0.0)
- **Removed**  

The minimum supported TypeScript version for Prisma ORM v6 is 5.1.0. Upgrade TypeScript if you use an older version. [github.com](https://github.com/prisma/orm/releases/tag/6.0.0)

And 5 more in this version.

### prisma 5.22.0 breaking changes

prisma 5.22.0, released November 5, 2024: 1 breaking change.

- **Behavior changed**  

The spans of the tracing Preview feature were made compliant with OpenTelemetry Semantic Conventions for Database Client Calls, so span output may differ for code or tools that read it. [github.com](https://github.com/prisma/orm/releases/tag/5.22.0)

### prisma 5.20.0 breaking changes

prisma 5.20.0, released September 24, 2024: 1 breaking change.

- **Configuration changed** `strictUndefinedChecks`  

When the strictUndefinedChecks Preview feature is enabled, any explicitly undefined value in a query throws a runtime error. Use Prisma.skip to keep the previous behavior for optional parts of a query. [github.com](https://github.com/prisma/orm/releases/tag/5.20.0)

### prisma 5.17.0 breaking changes

prisma 5.17.0, released July 16, 2024: 1 breaking change.

- **Behavior changed** `queryRaw`  

The response format of queryRaw changed to reduce its average size, so code that depends on the exact shape of its results may need to be checked. [github.com](https://github.com/prisma/orm/releases/tag/5.17.0)

### prisma 5.16.0 breaking changes

prisma 5.16.0, released June 25, 2024: 3 breaking changes.

- **Renamed** `<Model>OrderByWithRelationAndSearchRelevanceInput`  

With the fullTextSearch preview feature, the \<Model>OrderByWithRelationAndSearchRelevanceInput TypeScript type is removed; use \<Model>OrderByWithRelationInput instead. [github.com](https://github.com/prisma/orm/releases/tag/5.16.0)
- **Behavior changed** `prisma.schema`  

If both a prisma/schema folder and a prisma/schema.prisma file exist, Prisma now reports an error instead of silently ignoring the folder. Remove one of them. [github.com](https://github.com/prisma/orm/releases/tag/5.16.0)

And 1 more in this version.

### prisma 5.15.0 breaking changes

prisma 5.15.0, released June 4, 2024: 1 breaking change.

- **Behavior changed**  

The release notes flag that Int switched to Int32 for MongoDB, which may change how existing Int fields are read and written. Check code and data that depend on the previous Int type. [github.com](https://github.com/prisma/orm/releases/tag/5.15.0)

### prisma 5.11.0 breaking changes

prisma 5.11.0, released March 12, 2024: 1 breaking change.

- **Behavior changed** `prisma.create`  

Nested create queries are batched into a single roundtrip instead of multiple INSERT queries; behavior of data written is the same but query shape changes. [github.com](https://github.com/prisma/orm/releases/tag/5.11.0)

### prisma 5.3.0 breaking changes

prisma 5.3.0, released September 13, 2023: 1 breaking change.

- **Behavior changed** `prisma.user.findMany`  

Prisma Client now returns an error when a Json field array contains an undefined value. Filter out undefined values or convert them to null before querying. [github.com](https://github.com/prisma/orm/releases/tag/5.3.0)

### prisma 5.2.0 breaking changes

prisma 5.2.0, released August 22, 2023: 1 breaking change.

- **Behavior changed** `PrismaClient`  

If the connection string starts with prisma://, Prisma Client now connects through Prisma Accelerate or Prisma Data Proxy automatically. Check that any prisma:// connection strings in your code are meant to use those services. [github.com](https://github.com/prisma/orm/releases/tag/5.2.0)

### prisma 5.0.0 breaking changes

prisma 5.0.0, released July 11, 2023: 34 breaking changes.

- **Removed**  

Prisma ORM 5 needs TypeScript 4.7 or later. Upgrade TypeScript if your project uses an earlier version. [prisma.io](https://www.prisma.io/docs/guides/upgrade-prisma-orm/v5)
- **Removed**  

Prisma 5 requires Node.js 16.13.0 or later. Upgrade Node.js before upgrading Prisma. [github.com](https://github.com/prisma/orm/releases/tag/5.0.0)

And 32 more in this version.

### prisma 4.16.0 breaking changes

prisma 4.16.0, released June 20, 2023: 4 breaking changes.

- **Renamed** `Prisma`  

The utilities used for authoring extensions moved their import path. Import Prisma from @prisma/client/extension instead of @prisma/client when writing extensions. [github.com](https://github.com/prisma/orm/releases/tag/4.16.0)
- **Behavior changed** `$executeRaw`  

The args passed to query extension callbacks for $executeRaw are now always a Sql instance rather than the raw input. Code that expects another shape must be updated. [github.com](https://github.com/prisma/orm/releases/tag/4.16.0)

And 2 more in this version.

### prisma 4.15.0 breaking changes

prisma 4.15.0, released May 30, 2023: 1 breaking change.

- **Behavior changed** `prisma generate`  

The VS Code extension now uses a new file system watcher to restart the TypeScript server after prisma generate; it is only available on Windows and Linux for now and needs Prisma CLI and extension 4.15.0 or higher. [github.com](https://github.com/prisma/orm/releases/tag/4.15.0)

## Related packages

- [@prisma/client](https://since.dev/packages/npm/@prisma/client.md)
- [@prisma/adapter-planetscale](https://since.dev/packages/npm/@prisma/adapter-planetscale.md)
- [@prisma/adapter-pg](https://since.dev/packages/npm/@prisma/adapter-pg.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
