@prisma/client breaking changes
Updated December 4, 2026
On this page
Latest version 7.10.1, released October 15, 2026. Source repository
Its 6.0.0 release requires Node.js 18.18.0 or later. Node.js end of life dates.
- From 6.18.0 to 7.10.1: 495 breaking changes in 11 versions.
- From 4.16.0 to 7.10.1: 819 breaking changes in 43 versions.
@prisma/client 7.10.1 breaking changes
- Behavior changed
Prisma Migrate now stops with error P3025 when the shadow database URL points at the main database. Previously this setup dropped the real schema and reported an empty diff, so scripts relying on that must use a separate shadow database. github.com
@prisma/client 7.10.0 breaking changes
- Behavior changed
Deadlocks with SQLSTATE 40P01 now surface as P2034 transaction write conflicts. Code matching the old error must be updated. github.com - Behavior changed
Chunked statements now execute in a transaction and roll back if a later chunk fails, instead of leaving earlier chunks committed. github.com - Behavior changed
RESTRICT violations with SQLSTATE 23001 now surface as P2003 foreign key errors. Code matching the old error must be updated. github.com - Behavior changed
Studio's local HTTP server now binds to 127.0.0.1, rejects browser requests from other origins, and no longer sends wildcard CORS headers. Clients that relied on those must change. github.com - Behavior changed
$queryRaw
Invalid Date values passed to raw queries now throw PrismaClientValidationError instead of a generic error. Code that checks the error type must be updated. github.com - Behavior changed
prisma db push
The safety checkpoint now also applies to interactive prisma db push confirmations that involve data-loss warnings, not only to runs using --accept-data-loss. github.com - Default changed
With node16 or nodenext in TypeScript, generated output follows the nearest package.json type and defaults to CommonJS when it is absent. github.com - Configuration changed
Prisma 7 now looks for prisma7.config.* first and falls back to prisma.config.* only if none is found. Existing prisma.config.* projects keep working. github.com - Signature changed
runtime/client:DynamicResultExtensionArgs
Was type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {[K in keyof R_]: {[P in keyof R_[K]]?: {needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>; compute(data: DynamicResultExtensionData<TypeMap... npmjs.com - Signature changed
runtime/client:ResultArgsFieldCompute
Was type ResultArgsFieldCompute = (model: any) => unknown; now type ResultArgsFieldCompute = (model: any, modelName: string) => unknown. npmjs.com
And 1 more in this version. Sign up to see every change
@prisma/client 7.9.0 breaking changes
- Removed
migrate-reset
Agents can no longer reset a database through the MCP server. Run the CLI command instead, where the safety checkpoint applies. github.com - Behavior changed
$executeRaw
Invalid Date values used to be silently sent as null. They now fail with a validation error, so code passing invalid dates must be fixed. github.com - Behavior changed
$queryRaw
Invalid Date values used to be silently sent as null. They now fail with a validation error, so code passing invalid dates must be fixed. github.com - Behavior changed
db push --accept-data-loss
When an AI agent is detected, this command is now refused unless the user gives explicit consent. Scripts run by agents may stop working. github.com - Behavior changed
PrismaClientKnownRequestError
Errors from driver adapters that were previously opaque now arrive as PrismaClientKnownRequestError with code P2039. Code that matched the old error shape may need updating. github.com - Behavior changed
XOR
Primitive values such as data: 5 that used to compile now fail type-checking. Pass a proper object instead. github.com - Signature changed
runtime/client:JsonBatchQuery
Was type JsonBatchQuery = {batch: JsonQuery[]; transaction?: {isolationLevel?: IsolationLevel_2;};}; now type JsonBatchQuery = {batch: JsonQuery[]; transaction?: {isolationLevel?: IsolationLevel;};}. npmjs.com - Signature changed
runtime/client:JsonBatchQuery.transaction
Was transaction?: {isolationLevel?: IsolationLevel_2;}; now transaction?: {isolationLevel?: IsolationLevel;}. npmjs.com - Signature changed
runtime/client:JsonBatchQuery.transaction.isolationLevel
Was isolationLevel?: IsolationLevel_2; now isolationLevel?: IsolationLevel. npmjs.com - Signature changed
runtime/client:PrismaClientOptions
Was type PrismaClientOptions = PrismaClientMutuallyExclusiveOptions & {errorFormat?: ErrorFormat; transactionOptions?: Transaction_2.Options; log?: Array<LogLevel | LogDefinition>; omit?: GlobalOmitOptions; comments?: SqlCommenterPlugin[]... npmjs.com
@prisma/client 7.8.0 breaking changes
- Signature changed
runtime/client:DynamicClientExtensionThisBuiltin
Was type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {$extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {extArgs: ExtArgs;}>>... npmjs.com - Signature changed
runtime/client:DynamicClientExtensionThisBuiltin.$transaction
Was $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {isolationLevel?: TypeMap['meta']['txIsolationLevel'];}): Promise<UnwrapTuple<P>>; now $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {maxWait?... npmjs.com - Signature changed
runtime/client:PrismaClientOptions
Was type PrismaClientOptions = PrismaClientMutuallyExclusiveOptions & {errorFormat?: ErrorFormat; transactionOptions?: Transaction_2.Options; log?: Array<LogLevel | LogDefinition>; omit?: GlobalOmitOptions; comments?: SqlCommenterPlugin[]... npmjs.com - Signature changed
runtime/client:Types.Extensions.DynamicClientExtensionThisBuiltin
Was type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {$extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {extArgs: ExtArgs;}>>... npmjs.com - Signature changed
runtime/client:Types.Extensions.DynamicClientExtensionThisBuiltin.$transaction
Was $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {isolationLevel?: TypeMap['meta']['txIsolationLevel'];}): Promise<UnwrapTuple<P>>; now $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {maxWait?... npmjs.com
@prisma/client 7.5.0 breaking changes
- Signature changed
runtime/client:getPrismaClient
Was function getPrismaClient(config: GetPrismaClientConfig): {new (optionsArg: PrismaClientOptions): {_originalClient: any; _runtimeDataModel: RuntimeDataModel; _requestHandler: RequestHandler; _connectionPromise?: Promise<any> |... npmjs.com
@prisma/client 7.4.1 breaking changes
- Renamed
runtime/client:deserializeJsonResponse
Use deserializeJsonObject instead. npmjs.com
Older versions
38 older versions, each with its first changes. Sign up to see every change
Show 38 older versions
@prisma/client 7.4.0 breaking changes
- Signature changed
runtime/client:DMMF.SchemaArg
Was type SchemaArg = ReadonlyDeep_2<{name: string; comment?: string; isNullable: boolean; isRequired: boolean; inputTypes: InputTypeRef[]; requiresOtherFields?: string[]; deprecation?: Deprecation;}>; now type SchemaArg =... npmjs.com - Signature changed
runtime/client:GetPrismaClientConfig
Was type GetPrismaClientConfig = {runtimeDataModel: RuntimeDataModel; previewFeatures: string[]; clientVersion: string; engineVersion: string; activeProvider: ActiveConnectorType; inlineSchema: string; compilerWasm?... npmjs.com
And 1 more in this version.
@prisma/client 7.3.0 breaking changes
- Removed
runtime/client:DMMF.DatamodelSchemaEnum
DMMF.DatamodelSchemaEnum was removed in @prisma/client 7.3.0 npmjs.com - Removed
runtime/client:DMMF.datamodelSchemaEnumToSchemaEnum
DMMF.datamodelSchemaEnumToSchemaEnum was removed in @prisma/client 7.3.0 npmjs.com
And 6 more in this version.
@prisma/client 7.2.0 breaking changes
- Behavior changed
Byte upsert behavior changed by removing a legacy byte-array representation path; code relying on the old representation may be affected. github.com - Behavior changed
DataMapperError
Code that catches DataMapperError may now see it surfaced as a user-facing error. github.com
And 3 more in this version.
@prisma/client 7.1.0 breaking changes
- Signature changed
runtime/client:JsonQuery
Was type JsonQuery = {modelName?: string; action: JsonQueryAction; query: JsonFieldSelection;}; now type JsonQuery = {modelName?: string; action: JsonQueryAction_2; query: JsonFieldSelection;}. npmjs.com - Signature changed
runtime/client:JsonQuery.action
Was action: JsonQueryAction; now action: JsonQueryAction_2. npmjs.com
And 1 more in this version.
@prisma/client 7.0.0 breaking changes
- Removed
MongoDB users must stay on Prisma v6 until support returns. github.com - Removed
BinaryEngine
The long-running executable engine is no longer available. github.com
And 445 more in this version.
@prisma/client 6.18.0 breaking changes
- Behavior changed
New projects created with prisma init now get a prisma.config.ts file. Existing projects are not affected, but users should expect the new config file to appear. github.com - Behavior changed
Bytes
Generated types for Bytes fields map to Uint8Array depending on the TypeScript version, which can change the types code sees for Bytes fields. github.com
@prisma/client 6.16.3 breaking changes
- Behavior changed
Generated migrations omit the default schema (namespace) unless it is specified in the schema file, restoring pre-6.13.0 output. Users who adapted to the 6.13.0 migration output may need to review their migration files. github.com
@prisma/client 6.16.2 breaking changes
- Behavior changed
Combining Prisma Postgres URLs with driver adapters now produces an explicit error saying they are mutually exclusive, instead of being silently permitted. github.com
@prisma/client 6.16.0 breaking changes
- Removed
Prisma.validator
Prisma.validator is removed in the prisma-client generator. Use the TypeScript satisfies keyword instead. github.com
@prisma/client 6.15.0 breaking changes
- Removed
deno-deploy
The deno-deploy runtime value was removed from the Prisma Client generator. Use runtime = "deno" instead. github.com - Removed
node
The node runtime value was removed from the Prisma Client generator. Use runtime = "nodejs" instead. github.com
And 3 more in this version.
@prisma/client 6.14.0 breaking changes
- Removed
prisma.$use
The prisma.$use middleware method was removed, after being deprecated since v4.16.0. Use Prisma Client extensions instead. github.com - Signature changed
runtime/binary:getPrismaClient
Was function getPrismaClient(config: GetPrismaClientConfig): {new (optionsArg?: PrismaClientOptions): {_originalClient: any; _runtimeDataModel: RuntimeDataModel; _requestHandler: RequestHandler; _connectionPromise?: Promise<any> |... npmjs.com
@prisma/client 6.13.0 breaking changes
- Behavior changed
The Prisma schema no longer allows relationships that involve a view. Remove such relations from schemas that use views. github.com - Behavior changed
Prisma Client no longer allows writes or implicit ordering on views. Code that writes to or relies on implicit ordering of a view will fail. github.com
And 6 more in this version.
@prisma/client 6.10.0 breaking changes
- Configuration changed
The entrypoint for the new prisma-client generator changed, so imports of the generated client may need updating. Check the linked docs for the new import paths. github.com
@prisma/client 6.9.0 breaking changes
- Signature changed
runtime/binary:getPrismaClient
Was function getPrismaClient(config: GetPrismaClientConfig): {new (optionsArg?: PrismaClientOptions): {_originalClient: any; _runtimeDataModel: RuntimeDataModel; _requestHandler: RequestHandler; _connectionPromise?: Promise<any> |... npmjs.com - Signature changed
runtime/binary:JsonBatchQuery
Was type JsonBatchQuery = {batch: JsonQuery[]; transaction?: {isolationLevel?: IsolationLevel;};}; now type JsonBatchQuery = {batch: JsonQuery[]; transaction?: {isolationLevel?: IsolationLevel_2;};}. npmjs.com
And 3 more in this version.
@prisma/client 6.8.0 breaking changes
- Removed
deno
The deno Preview feature is gone from the prisma-client-js generator. To use Prisma ORM with Deno, switch to the prisma-client generator with runtime = "deno". github.com
@prisma/client 6.6.0 breaking changes
- Removed
runtime/binary:DriverAdapter
DriverAdapter was removed in @prisma/client 6.6.0 npmjs.com - Removed
runtime/binary:FluentOperation
FluentOperation was removed in @prisma/client 6.6.0 npmjs.com
And 18 more in this version.
@prisma/client 6.5.0 breaking changes
- Removed
runtime/binary:TypeMapCbDef.params.clientOptions
TypeMapCbDef.params.clientOptions was removed in @prisma/client 6.5.0 npmjs.com - Removed
runtime/binary:Types.Extensions.TypeMapCbDef.params.clientOptions
Types.Extensions.TypeMapCbDef.params.clientOptions was removed in @prisma/client 6.5.0 npmjs.com
And 41 more in this version.
@prisma/client 6.4.0 breaking changes
- Removed
runtime/binary:Decimal.Constructor.abs
Decimal.Constructor.abs was removed in @prisma/client 6.4.0 npmjs.com - Removed
runtime/binary:Decimal.Constructor.acos
Decimal.Constructor.acos was removed in @prisma/client 6.4.0 npmjs.com
And 65 more in this version.
@prisma/client 6.3.0 breaking changes
- Signature changed
runtime/binary:DMMF.Field
Was type Field = ReadonlyDeep_2<{kind: FieldKind; name: string; isRequired: boolean; isList: boolean; isUnique: boolean; isId: boolean; isReadOnly: boolean; isGenerated?: boolean; isUpdatedAt?: boolean; type: string; nativeType?: [string... npmjs.com - Signature changed
runtime/binary:DriverAdapter.provider
Was readonly provider: 'mysql' | 'postgres' | 'sqlite'; now readonly provider: Flavour. npmjs.com
And 1 more in this version.
@prisma/client 6.2.0 breaking changes
- Signature changed
runtime/binary:DMMF.ModelMapping
Was type ModelMapping = ReadonlyDeep_2<{model: string; plural: string; findUnique?: string | null; findUniqueOrThrow?: string | null; findFirst?: string | null; findFirstOrThrow?: string | null; findMany?: string | null; create?: string |... npmjs.com - Signature changed
runtime/binary:GetFindResult
Was type GetFindResult<P extends OperationPayload, A, ClientOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, ClientOptions> : A extends {select: infer S extends object;} & Record<string, unknown> | {include: infer I extends... npmjs.com
And 6 more in this version.
@prisma/client 6.1.0 breaking changes
- Behavior changed
The prisma:engine span is replaced by prisma:engine:query and prisma:engine:response_json_serialization is added. Code that relies on the old span names in traces must be updated. github.com - Configuration changed
@opentelemetry/api is now a peer dependency instead of a regular dependency, so projects must install it themselves. github.com
@prisma/client 6.0.0 breaking changes
- Removed
fullTextSearch
On PostgreSQL the fullTextSearch preview feature is replaced by fullTextSearchPostgres. Update the previewFeatures list in your schema. github.com - Removed
NotFoundError
Catch PrismaClientKnownRequestError with code P2025 instead of NotFoundError in findUniqueOrThrow and findFirstOrThrow. github.com
And 10 more in this version.
@prisma/client 5.22.0 breaking changes
- Behavior changed
The tracing Preview feature's spans were changed to match OpenTelemetry Semantic Conventions for Database Client Calls. Code that reads or depends on the previous span names or attributes may need updating. github.com
@prisma/client 5.21.0 breaking changes
- Removed
runtime/binary:DriverAdapter.startTransaction
Use transactionContext instead. npmjs.com - Signature changed
runtime/binary:DriverAdapter
Was interface DriverAdapter extends Queryable, WithTransactionDeprecated, WithTransaction; now interface DriverAdapter extends Queryable. npmjs.com
And 1 more in this version.
@prisma/client 5.20.0 breaking changes
- Behavior changed
With the strictUndefinedChecks Preview feature enabled, any value explicitly set to undefined in a query throws a runtime error instead of being silently handled. Use Prisma.skip to omit a filter, or fix the code that passes undefined. github.com - Signature changed
runtime/binary:DriverAdapter
Was interface DriverAdapter extends Queryable; now interface DriverAdapter extends Queryable, WithTransactionDeprecated, WithTransaction. npmjs.com
And 10 more in this version.
@prisma/client 5.19.0 breaking changes
- Removed
runtime/binary:Types.Utils.JsonArray
Types.Utils.JsonArray was removed in @prisma/client 5.19.0 npmjs.com - Removed
runtime/binary:Types.Utils.JsonObject
Types.Utils.JsonObject was removed in @prisma/client 5.19.0 npmjs.com
And 7 more in this version.
@prisma/client 5.17.0 breaking changes
- Behavior changed
queryRaw
The response format of queryRaw changed to reduce its size. Code that reads queryRaw results may need to be checked and updated. github.com - Signature changed
runtime/binary:BaseDMMF
Was type BaseDMMF = Pick<DMMF.Document, 'datamodel'>; now type BaseDMMF = {readonly datamodel: Omit<DMMF.Datamodel, 'indexes'>;}. npmjs.com
And 3 more in this version.
@prisma/client 5.16.0 breaking changes
- Removed
<Model>OrderByWithRelationAndSearchRelevanceInput
With the fullTextSearch preview feature, the OrderByWithRelationAndSearchRelevanceInput TypeScript type name is removed; use the OrderByWithRelationInput type instead. github.com - Removed
runtime/binary:GetSelectIncludeResult
GetSelectIncludeResult was removed in @prisma/client 5.16.0 npmjs.com
And 48 more in this version.
@prisma/client 5.15.0 breaking changes
- Behavior changed
Int
The release notes flag that Int switched to Int32 for MongoDB, which may change how existing Int fields behave. Check existing MongoDB data and code that depends on the previous Int type. github.com
@prisma/client 5.14.0 breaking changes
- Signature changed
runtime/binary:DMMF.ModelMapping
Was type ModelMapping = ReadonlyDeep_2<{model: string; plural: string; findUnique?: string | null; findUniqueOrThrow?: string | null; findFirst?: string | null; findFirstOrThrow?: string | null; findMany?: string | null; create?: string |... npmjs.com - Signature changed
runtime/binary:getPrismaClient
Was function getPrismaClient(config: GetPrismaClientConfig): {new (optionsArg?: PrismaClientOptions): {_originalClient: any; _runtimeDataModel: RuntimeDataModel; _requestHandler: RequestHandler; _connectionPromise?: Promise<any> |... npmjs.com
And 6 more in this version.
@prisma/client 5.13.0 breaking changes
- Signature changed
runtime/binary:GetFindResult
Was type GetFindResult<P extends OperationPayload, A> = Equals<A, any> extends 1 ? DefaultSelection<P> : A extends {select: infer S extends object;} & Record<string, unknown> | {include: infer I extends object;} & Record<string, unknown> ?... npmjs.com - Signature changed
runtime/binary:getPrismaClient
Was function getPrismaClient(config: GetPrismaClientConfig): {new (optionsArg?: PrismaClientOptions): {_originalClient: any; _runtimeDataModel: RuntimeDataModel; _requestHandler: RequestHandler; _connectionPromise?: Promise<any> |... npmjs.com
And 2 more in this version.
@prisma/client 5.11.0 breaking changes
- Removed
runtime/binary:detectRuntime
detectRuntime was removed in @prisma/client 5.11.0 npmjs.com - Behavior changed
prisma.user.update
Nested create queries now send INSERTs in bulk in a single roundtrip, which can change the order or timing of database writes; review code that depends on per-record insert behavior. github.com
@prisma/client 5.10.0 breaking changes
- Removed
runtime/binary:Debug.__call
Debug.__call was removed in @prisma/client 5.10.0 npmjs.com - Removed
runtime/binary:Debug.disable
Debug.disable was removed in @prisma/client 5.10.0 npmjs.com
And 8 more in this version.
@prisma/client 5.9.1 breaking changes
- Signature changed
extension:Prisma.Args
Was export import Args = runtime.Types.Public.Args; now type Args<T, F extends Operation> = T extends {[K: symbol]: {types: {operations: {[K in F]: {args: any;};};};};} ? T[symbol]['types']['operations'][F]['args'] : any. npmjs.com - Signature changed
extension:Prisma.Exact
Was export import Exact = runtime.Types.Public.Exact; now type Exact<A, W> = (A extends unknown ? (W extends A ? {[K in keyof A]: Exact<A[K], W[K]>;} : W) : never) | (A extends Narrowable ? A : never). npmjs.com
And 4 more in this version.
@prisma/client 5.3.0 breaking changes
- Behavior changed
Prisma Client now returns an error when an array in a Json field contains an undefined value. Replace undefined with null or filter it out before querying. github.com
@prisma/client 5.2.0 breaking changes
- Behavior changed
PrismaClient
If the connection string starts with prisma://, Prisma Client now connects through Prisma Accelerate or Prisma Data Proxy automatically. Check any prisma:// URLs you use to confirm they should route this way. github.com
@prisma/client 5.0.0 breaking changes
- Removed
Prisma 5 requires Node.js 16.13.0 or later. Upgrade Node.js before upgrading Prisma. github.com - Removed
Wrap single values in arrays, for example OR: [{ email: 'alice@prisma.io' }]. github.com
And 27 more in this version.
@prisma/client 4.16.0 breaking changes
- Renamed
Prisma
Utilities for authoring extensions must now be imported from @prisma/client/extension instead of @prisma/client. github.com - Behavior changed
$on
Calling $on on an extended Prisma Client is no longer allowed. Call $on before $extends if you use event handlers with extensions. github.com
And 1 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.