---
title: "@mikro-orm/core 7.2.13 Breaking Changes on npm | Since.dev"
description: "What each @mikro-orm/core release removed, renamed or changed: 1,025 breaking changes in 41 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@mikro-orm/core
last_updated: 2026-12-04
---

# @mikro-orm/core breaking changes

@mikro-orm/core 7.2.13 (November 27, 2026) is its newest release with breaking changes, 2 of them. The first: Non-object having values in find and count options are now rejected in @mikro-orm/core 7.2.13. Every breaking API change we have recorded in @mikro-orm/core on npm: 1,025 breaking changes in 41 versions. Below, its 41 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.2.13`, released November 27, 2026. [Source repository](https://github.com/mikro-orm/mikro-orm)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.6.20](#v-6-6-20) to [7.2.13](#v-7-2-13): 1,016 breaking changes in 35 versions.
- From [6.6.11](#v-6-6-11) to [7.2.13](#v-7-2-13): 1,023 breaking changes in 40 versions.

## @mikro-orm/core 7.2.13 breaking changes

@mikro-orm/core 7.2.13, released November 27, 2026: 2 breaking changes.

- **Behavior changed**  

Find and count calls that pass a non-object having option now throw an error instead of silently accepting it. Pass having as an object. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.13)
- **Signature changed** `getWhereCondition`  

Was function getWhereCondition\<T extends object>(meta: EntityMetadata\<T>, onConflictFields: (keyof T)\[\] | Raw | undefined, data: EntityData\<T>, where: FilterQuery\<T>): {where: FilterQuery\<T>; propIndex: number | false;}; now function... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.13)

## @mikro-orm/core 7.2.12 breaking changes

@mikro-orm/core 7.2.12, released November 25, 2026: 8 breaking changes.

- **Removed** `dataloader:DataloaderUtils.getColFilter`  

DataloaderUtils.getColFilter was removed in @mikro-orm/core 7.2.12 [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Removed** `Hydrator.isRunning`  

Hydrator.isRunning was removed in @mikro-orm/core 7.2.12 [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Removed** `Hydrator.running`  

Hydrator.running was removed in @mikro-orm/core 7.2.12 [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Signature changed** `Collection.hydrate`  

Was hydrate(items: T\[\], forcePropagate?: boolean, partial?: boolean, readonly?: boolean, count?: boolean): void; now hydrate(items: T\[\], forcePropagate?: boolean, partial?: boolean, readonly?: boolean, count?: boolean, hydration?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Signature changed** `Collection.propagate`  

Was protected propagate(item: T, method: 'add' | 'remove' | 'takeSnapshot'): void; now protected propagate(item: T, method: 'add' | 'remove' | 'takeSnapshot', hydration?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Signature changed** `Collection.propagateToOwningSide`  

Was protected propagateToOwningSide(item: T, method: 'add' | 'remove' | 'takeSnapshot'): void; now protected propagateToOwningSide(item: T, method: 'add' | 'remove' | 'takeSnapshot', hydration?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Signature changed** `EntityHelper.defineReferenceProperty`  

Was static defineReferenceProperty\<T extends object>(meta: EntityMetadata\<T>, prop: EntityProperty\<T>, ref: T, hydrator: IHydrator): void; now static defineReferenceProperty\<T extends object>(meta: EntityMetadata\<T>, prop... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)
- **Signature changed** `WrappedEntity.constructor`  

Was constructor(entity: Entity, hydrator: IHydrator, pkGetter?: (e: Entity) => Primary\<Entity>, pkSerializer?: (e: Entity) => string, pkGetterConverted?: (e: Entity) => Primary\<Entity>); now constructor(entity: Entity, pkGetter?: (e... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.12)

## @mikro-orm/core 7.2.11 breaking changes

@mikro-orm/core 7.2.11, released November 20, 2026: 1 breaking change.

- **Signature changed** `Collection.removeWithoutPropagation`  

Was removeWithoutPropagation(entity: T): void; now removeWithoutPropagation(entity: T, reindex?: boolean): boolean. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.11)

## @mikro-orm/core 7.2.10 breaking changes

@mikro-orm/core 7.2.10, released November 16, 2026: 1 breaking change.

- **Signature changed** `Collection.hydrate`  

Was hydrate(items: T\[\], forcePropagate?: boolean, partial?: boolean, readonly?: boolean): void; now hydrate(items: T\[\], forcePropagate?: boolean, partial?: boolean, readonly?: boolean, count?: boolean): void. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.10)

## @mikro-orm/core 7.2.9 breaking changes

@mikro-orm/core 7.2.9, released November 12, 2026: 11 breaking changes.

- **Behavior changed** `assign`  

Date strings that cannot be parsed are rejected with a ValidationError in assign() instead of being silently accepted. Validate date input before assigning. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.9)
- **Behavior changed** `orderBy`  

Non-string order directions passed to orderBy now throw instead of being accepted. Use string directions such as 'asc' or 'desc'. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.9)
- **Default changed**  

The default request timeout for the MSSQL driver is now 60s. Code that relies on the previous default timeout should set it explicitly. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.9)
- **Signature changed** `EntityManager.find`  

Was find\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, where: \[Using\] extends \[never\] ?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.findAll`  

Was findAll\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, options?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.findAndCount`  

Was findAndCount\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, where: \[Using\] extends \[never\] ?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.findByCursor`  

Was findByCursor\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, IncludeCount extends boolean = true, Using extends string = never>(entityName: EntityName\<Entity>... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.findOne`  

Was findOne\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, where: \[Using\] extends \[never\] ?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.findOneOrFail`  

Was findOneOrFail\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, where: \[Using\] extends \[never\] ?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)
- **Signature changed** `EntityManager.stream`  

Was stream\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, Using extends string = never>(entityName: EntityName\<Entity>, options?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.9)

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

## @mikro-orm/core 7.2.7 breaking changes

@mikro-orm/core 7.2.7, released November 4, 2026: 3 breaking changes.

- **Signature changed** `ExpandProperty`  

Was type ExpandProperty\<T> = T extends LazyRef.Brand\<infer U> ? NonNullable\<U> : T extends ReferenceShape\<infer U> ? NonNullable\<U> : T extends CollectionShape\<infer U> ? NonNullable\<U> : T extends (infer U)\[\] ? NonNullable\<U>... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.7)
- **Signature changed** `FilterObject`  

Was type FilterObject\<T> = {-readonly \[K in EntityKey\<T>\]?: ExpandQuery\<ExpandProperty\<FilterObjectProp\<T, K>>> | ExpandQueryMerged\<ExpandProperty\<FilterObjectProp\<T, K>>> | FilterValue\<ExpandProperty\<FilterObjectProp\<T, K>>> |... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.7)
- **Signature changed** `IndexFilterQuery`  

Was type IndexFilterQuery\<T, Using extends string> = \[Using\] extends \[never\] ? FilterQuery\<T> : (OperatorMap\<T> & {-readonly \[K in Extract\<EntityKey\<T>, IndexColumns\<T, Using>>\]?: ExpandQuery\<ExpandProperty\<FilterObjectProp\<T, K>>> |... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.7)

## Older versions

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

### @mikro-orm/core 7.2.6 breaking changes

@mikro-orm/core 7.2.6, released October 31, 2026: 6 breaking changes.

- **Behavior changed**  

Query comments with forbidden sequences are now refused with an error instead of being accepted. Remove such sequences from comments. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.6)
- **Behavior changed**  

A commit that PostgreSQL answered with ROLLBACK is now rejected with an error. Code that relied on such a commit completing silently must handle the error. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.6)

And 4 more in this version.

### @mikro-orm/core 7.2.4 breaking changes

@mikro-orm/core 7.2.4, released October 6, 2026: 6 breaking changes.

- **Signature changed** `EntityMetadataWithProperties.concurrencyCheckKeys`  

Was concurrencyCheckKeys?: Set\<AllKeys\<TProperties, TBase>>; now concurrencyCheckKeys?: Set\<NoInfer\<AllKeys\<TProperties, TBase>>>. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.4)
- **Signature changed** `EntityMetadataWithProperties.indexes`  

Was indexes?: {properties?: NoInfer\<AllKeys\<TProperties, TBase>> | NoInfer\<AllKeys\<TProperties, TBase>>\[\]; name?: string; type?: string; options?: Dictionary; expression?: string | IndexCallback\<InferEntityFromProperties\<TProperties, TPK... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.4)

And 4 more in this version.

### @mikro-orm/core 7.2.2 breaking changes

@mikro-orm/core 7.2.2, released September 28, 2026: 2 breaking changes.

- **Signature changed** `EntityManager.tryCache`  

Was tryCache\<T extends object, R>(entityName: EntityName\<T>, config: boolean | number | \[string, number\] | undefined, key: unknown, refresh?: boolean, merge?: boolean): Promise<{data?: R | null; key: string;} | undefined>; now tryCache\<T... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.2)
- **Signature changed** `getOnConflictReturningFields`  

Was function getOnConflictReturningFields\<T, P extends string>(meta: EntityMetadata\<T> | undefined, data: EntityData\<T>, uniqueFields: (keyof T)\[\] | Raw, options: UpsertOptions\<T, P>): (keyof T)\[\] | '\*'; now function... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.2)

### @mikro-orm/core 7.2.1 breaking changes

@mikro-orm/core 7.2.1, released September 19, 2026: 1 breaking change.

- **Signature changed** `EntityManager.withSessionContext`  

Was withSessionContext\<T>(ctx: Transaction | undefined, cb: (ctx?: Transaction) => Promise\<T>): Promise\<T>; now withSessionContext\<T>(ctx: Transaction | undefined, cb: (ctx?: Transaction) => Promise\<T>, connection?: Connection): Promise\<T>. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.1)

### @mikro-orm/core 7.2.0 breaking changes

@mikro-orm/core 7.2.0, released September 7, 2026: 25 breaking changes.

- **Behavior changed**  

Cursor pagination orders null values the way the database platform does, so result order for nullable sort columns can differ from earlier versions. Check paginated queries that sort by nullable columns. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.2.0)
- **Signature changed** `Connection.begin`  

Was begin(options?: {isolationLevel?: IsolationLevel | \`${IsolationLevel}\`; readOnly?: boolean; ctx?: Transaction; eventBroadcaster?: TransactionEventBroadcaster; loggerContext?: LogContext;}): Promise\<Transaction>; now begin(options?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.2.0)

And 23 more in this version.

### @mikro-orm/core 7.1.15 breaking changes

@mikro-orm/core 7.1.15, released September 3, 2026: 1 breaking change.

- **Signature changed** `PropertyChain.serializer`  

Was serializer(serializer: (value: Value, options?: SerializeOptions\<any>) => any): PropertyChain\<Value, Options>; now serializer(serializer: (value: SerializerValue\<Value, Options>, options?: SerializeOptions\<any>) => any)... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.15)

### @mikro-orm/core 7.1.14 breaking changes

@mikro-orm/core 7.1.14, released August 26, 2026: 6 breaking changes.

- **Signature changed** `defineEntity`  

Was function defineEntity\<const TName extends string, const TTableName extends string, const TProperties extends Record\<string, any>, const TPK extends (keyof TProperties)\[\] | undefined = undefined, const TBase = never, const TRepository =... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.14)
- **Signature changed** `EntityMetadataWithProperties`  

Was interface EntityMetadataWithProperties\<TName extends string, TTableName extends string, TProperties extends Record\<string, any>, TPK extends (keyof TProperties)\[\] | undefined = undefined, TBase = never, TRepository = never... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.14)

And 4 more in this version.

### @mikro-orm/core 7.1.13 breaking changes

@mikro-orm/core 7.1.13, released August 20, 2026: 3 breaking changes.

- **Behavior changed** `em.countBy`  

em.countBy() now uses the connectionType option when counting, so queries may hit a different connection than before. Check code that relied on the previous connection choice. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.13)
- **Behavior changed** `upsert`  

Upserts no longer overwrite existing rows with onCreate generated values. Code that relied on the old overwrite behavior may see different stored data. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.13)

And 1 more in this version.

### @mikro-orm/core 7.1.12 breaking changes

@mikro-orm/core 7.1.12, released August 17, 2026: 1 breaking change.

- **Signature changed** `EntityManager.prepareOptions`  

Was protected prepareOptions(options: (FindOptions\<any, any, any, any> | FindOneOptions\<any, any, any, any> | CountOptions\<any, any> | CountByOptions\<any>) & AbortQueryOptions): void; now protected prepareOptions\<Options extends... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.12)

### @mikro-orm/core 7.1.11 breaking changes

@mikro-orm/core 7.1.11, released August 6, 2026: 5 breaking changes.

- **Signature changed** `CacheAdapter.get`  

Was get\<T = any>(name: string): T | Promise\<T | undefined> | undefined; now get\<T = any>(name: string, origin?: string): T | Promise\<T | undefined> | undefined. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.11)
- **Signature changed** `fs-utils:FileCacheAdapter.get`  

Was get(name: string): any; now get(name: string, origin?: string): any. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.11)

And 3 more in this version.

### @mikro-orm/core 7.1.8 breaking changes

@mikro-orm/core 7.1.8, released July 28, 2026: 1 breaking change.

- **Signature changed** `UnitOfWork.tryGetById`  

Was tryGetById\<T extends object>(entityName: EntityName\<T>, where: FilterQuery\<T>, schema?: string, strict?: boolean): T | null; now tryGetById\<T extends object>(entityName: EntityName\<T>, where: FilterQuery\<T>, schema?: string, strict?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.8)

### @mikro-orm/core 7.1.6 breaking changes

@mikro-orm/core 7.1.6, released July 13, 2026: 7 breaking changes.

- **Signature changed** `defineEntity.properties`  

Was var properties: PropertyBuilders; now const propertyBuilders: PropertyBuilders. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.6)
- **Signature changed** `EntityManager.findByCursor`  

Was findByCursor\<Entity extends object, Hint extends string = never, Fields extends string = never, Excludes extends string = never, IncludeCount extends boolean = true, Using extends string = never>(entityName: EntityName\<Entity>... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.6)

And 5 more in this version.

### @mikro-orm/core 7.1.5 breaking changes

@mikro-orm/core 7.1.5, released June 26, 2026: 2 breaking changes.

- **Signature changed** `CreateContextOptions`  

Was interface CreateContextOptions; now interface CreateContextOptions extends Omit\<ForkOptions, 'useContext' | 'disableContextResolution' | 'keepTransactionContext' | 'clear'>. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.5)
- **Signature changed** `CreateContextOptions.loggerContext`  

Was loggerContext?: LoggingOptions; now loggerContext?: Dictionary. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.5)

### @mikro-orm/core 7.1.4 breaking changes

@mikro-orm/core 7.1.4, released June 6, 2026: 4 breaking changes.

- **Signature changed** `PropertyChain.onCreate`  

Was onCreate(onCreate: (entity: any, em: EntityManager) => Value): PropertyChain\<Value, Options & {onCreate: (...args: any\[\]) => any;}>; now onCreate(onCreate: (entity: any, em: EntityManager) => MaybeArray\<Value, Options>)... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.4)
- **Signature changed** `PropertyChain.onUpdate`  

Was onUpdate(onUpdate: (entity: any, em: EntityManager) => Value): PropertyChain\<Value, Options>; now onUpdate(onUpdate: (entity: any, em: EntityManager) => MaybeArray\<Value, Options>): PropertyChain\<Value, Options>. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.4)

And 2 more in this version.

### @mikro-orm/core 7.1.3 breaking changes

@mikro-orm/core 7.1.3, released May 31, 2026: 1 breaking change.

- **Signature changed** `Options.schemaGenerator`  

Was schemaGenerator: {disableForeignKeys?: boolean; disableForeignKeysForClear?: boolean; createForeignKeyConstraints?: boolean; ignoreSchema?: string\[\]; skipTables?: (string | RegExp)\[\]; skipViews?: (string | RegExp)\[\]; skipColumns?... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.3)

### @mikro-orm/core 7.1.2 breaking changes

@mikro-orm/core 7.1.2, released May 29, 2026: 2 breaking changes.

- **Signature changed** `EntityMetadataWithProperties.indexes`  

Was indexes?: {properties?: NoInfer\<AllKeys\<TProperties, TBase>> | NoInfer\<AllKeys\<TProperties, TBase>>\[\]; name?: string; type?: string; options?: Dictionary; expression?: string | IndexCallback\<InferEntityFromProperties\<TProperties, TPK... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.2)
- **Signature changed** `EntityMetadataWithProperties.uniques`  

Was uniques?: {properties?: NoInfer\<AllKeys\<TProperties, TBase>> | NoInfer\<AllKeys\<TProperties, TBase>>\[\]; name?: string; options?: Dictionary; expression?: string | IndexCallback\<InferEntityFromProperties\<TProperties, TPK, TBase>>... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.2)

### @mikro-orm/core 7.1.0 breaking changes

@mikro-orm/core 7.1.0, released May 20, 2026: 78 breaking changes.

- **Behavior changed** `em.remove`  

On MongoDB, em.remove of an M:N target whose owning side is uninitialized now throws instead of proceeding. Code that removes such entities may need to initialize the owning side first. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.1.0)
- **Signature changed** `BaseEntity.serialize`  

Was serialize\<Entity extends this = this, Naked extends FromEntityType\<Entity> = FromEntityType\<Entity>, Hint extends string = never, Exclude extends string = never>(options?: SerializeOptions\<Naked, Hint, Exclude>): SerializeDTO\<Naked... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.1.0)

And 76 more in this version.

### @mikro-orm/core 7.0.16 breaking changes

@mikro-orm/core 7.0.16, released May 14, 2026: 61 breaking changes.

- **Behavior changed** `beforeUpsert`  

The beforeUpsert hook is passed the entity instance instead of the previous input, and changes made to it are written to the SQL statement. Review existing beforeUpsert hooks that mutate data. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.16)
- **Signature changed** `AutoPath`  

Was type AutoPath\<O, P extends string | boolean, E extends string = never, D extends Prev\[number\] = 9> = P extends boolean ? P : \[D\] extends \[never\] ? never : P extends any ? P extends string ? P extends \`${infer A}.${infer B}\` ? A extends... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.16)

And 59 more in this version.

### @mikro-orm/core 7.0.15 breaking changes

@mikro-orm/core 7.0.15, released May 9, 2026: 11 breaking changes.

- **Signature changed** `defineEntity`  

Was function defineEntity\<const TName extends string, const TTableName extends string, const TProperties extends Record\<string, any>, const TPK extends (keyof TProperties)\[\] | undefined = undefined, const TBase = never, const TRepository =... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.15)
- **Signature changed** `EntityMetadataWithProperties`  

Was interface EntityMetadataWithProperties\<TName extends string, TTableName extends string, TProperties extends Record\<string, any>, TPK extends (keyof TProperties)\[\] | undefined = undefined, TBase = never, TRepository = never... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.15)

And 9 more in this version.

### @mikro-orm/core 7.0.11 breaking changes

@mikro-orm/core 7.0.11, released April 16, 2026: 3 breaking changes.

- **Signature changed** `EntityData`  

Was type EntityData\<T, C extends boolean = false> = {\[K in EntityKey\<T>\]?: EntityDataItem\<T\[K\] & {}, C>;}; now type EntityData\<T, C extends boolean = false> = {\[K in EntityKey\<T>\]?: RestoreOptUnknown\<T\[K\]> | EntityDataItem\<T\[K\] & {}, C>;}. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.11)
- **Signature changed** `EntityDTOProp`  

Was type EntityDTOProp\<E, T, C extends TypeConfig = never, Flat extends boolean = false> = T extends Scalar ? T : T extends ScalarReference\<infer U> ? U : T extends {\_\_serialized?: infer U;} ? IsUnknown\<U> extends false ? U : T : T extends... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.11)

And 1 more in this version.

### @mikro-orm/core 7.0.10 breaking changes

@mikro-orm/core 7.0.10, released April 10, 2026: 1 breaking change.

- **Signature changed** `EntityManager.map`  

Was map\<Entity extends object>(entityName: EntityName\<Entity>, result: EntityDictionary\<Entity>, options?: {schema?: string;}): Entity; now map\<Entity extends object>(entityName: EntityName\<Entity>, result: EntityDictionary\<Entity>... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.10)

### @mikro-orm/core 7.0.8 breaking changes

@mikro-orm/core 7.0.8, released April 1, 2026: 1 breaking change.

- **Signature changed** `EntityMetadataWithProperties.primaryKeys`  

Was primaryKeys?: TPK & InferPrimaryKey\<TProperties>\[\]; now primaryKeys?: TPK & InferPrimaryKeyConstraint\<TProperties>\[\]. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.8)

### @mikro-orm/core 7.0.7 breaking changes

@mikro-orm/core 7.0.7, released March 31, 2026: 3 breaking changes.

- **Signature changed** `EntityMetadataWithProperties`  

Was interface EntityMetadataWithProperties\<TName extends string, TTableName extends string, TProperties extends Record\<string, any>, TPK extends (keyof TProperties)\[\] | undefined = undefined, TBase = never, TRepository = never... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.7)
- **Signature changed** `EntityMetadataWithProperties.filters`  

Was filters: Dictionary\<FilterDef>; now filters?: Dictionary<{name: string; cond: | Dictionary | ((args: Dictionary, type: 'read' | 'update' | 'delete', em: any, options?: FindOptions\<any, any, any, any> | FindOneOptions\<any, any, any... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.7)

And 1 more in this version.

### @mikro-orm/core 7.0.6 breaking changes

@mikro-orm/core 7.0.6, released March 26, 2026: 4 breaking changes.

- **Behavior changed**  

Queries that were previously accepted may now be rejected by validation. Check existing query construction code for inputs that no longer pass. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v7.0.6)
- **Signature changed** `PropertyBuilders`  

Was type PropertyBuilders = {\[K in Exclude\<keyof typeof types, PropertyBuildersOverrideKeys>\]: () => UniversalPropertyOptionsBuilder\<InferPropertyValueType<(typeof types)\[K\]>, EmptyOptions, IncludeKeysForProperty>;} & {bigint: \<Mode... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.6)

And 2 more in this version.

### @mikro-orm/core 7.0.5 breaking changes

@mikro-orm/core 7.0.5, released March 23, 2026: 1 breaking change.

- **Signature changed** `EntitySchema.REGISTRY`  

Was static REGISTRY: Map\<AnyEntity, EntitySchema>; now readonly static REGISTRY: Map\<AnyEntity, EntitySchema>. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.5)

### @mikro-orm/core 7.0.4 breaking changes

@mikro-orm/core 7.0.4, released March 20, 2026: 2 breaking changes.

- **Signature changed** `EnumArrayType.constructor`  

Was constructor(owner: string, items?: T\[\] | undefined, hydrate?: (i: string) => T); now constructor(owner: string, items?: readonly T\[\] | undefined, hydrate?: (i: string) => T). [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.4)
- **Signature changed** `EnumOptions.items`  

Was items?: (number | string)\[\] | (() => Dictionary); now items?: readonly (number | string)\[\] | (() => Dictionary). [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.4)

### @mikro-orm/core 7.0.3 breaking changes

@mikro-orm/core 7.0.3, released March 18, 2026: 47 breaking changes.

- **Signature changed** `BaseEntity.init`  

Was init\<Entity extends this = this, Hint extends string = never, Fields extends string = '\*', Excludes extends string = never>(options?: FindOneOptions\<Entity, Hint, Fields, Excludes>): Promise\<Loaded\<Entity, Hint, Fields, Excludes> |... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.3)
- **Signature changed** `Cursor`  

Was class Cursor\<Entity extends object, Hint extends string = never, Fields extends string = '\*', Excludes extends string = never, IncludeCount extends boolean = true>; now class Cursor\<Entity extends object, Hint extends string = never... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.3)

And 45 more in this version.

### @mikro-orm/core 7.0.2 breaking changes

@mikro-orm/core 7.0.2, released March 14, 2026: 56 breaking changes.

- **Signature changed** `AutoPath`  

Was type AutoPath\<O, P extends string | boolean, E extends string = never, D extends Prev\[number\] = 9> = P extends boolean ? P : \[D\] extends \[never\] ? never : P extends any ? P extends string ? P extends \`${infer A}.${infer B}\` ? A extends... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.2)
- **Signature changed** `BaseEntity.assign`  

Was assign\<Entity extends this, Naked extends FromEntityType\<Entity> = FromEntityType\<Entity>, Convert extends boolean = false, Data extends EntityData\<Naked, Convert> | Partial\<EntityDTO\<Naked>> = EntityData\<Naked, Convert> |... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/7.0.2)

And 54 more in this version.

### @mikro-orm/core 7.0.0 breaking changes

@mikro-orm/core 7.0.0, released March 11, 2026: 649 breaking changes.

- **Removed**  

Node.js 22.17 or later is now required. Upgrade Node.js before moving to v7. [mikro-orm.io](https://mikro-orm.io/docs/upgrading-v6-to-v7)
- **Removed**  

TypeScript 5.8 or later is now required, unless the project is ESM. [mikro-orm.io](https://mikro-orm.io/docs/upgrading-v6-to-v7)

And 647 more in this version.

### @mikro-orm/core 6.6.20 breaking changes

@mikro-orm/core 6.6.20, released November 27, 2026: 2 breaking changes.

- **Behavior changed**  

Find and count calls now throw when the having option is not an object. Pass an object for having. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.20)
- **Signature changed** `getWhereCondition`  

Was function getWhereCondition\<T extends object>(meta: EntityMetadata\<T>, onConflictFields: (keyof T)\[\] | RawQueryFragment | undefined, data: EntityData\<T>, where: FilterQuery\<T>): {where: FilterQuery\<T>; propIndex: number | false;}; now... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/6.6.20)

### @mikro-orm/core 6.6.19 breaking changes

@mikro-orm/core 6.6.19, released November 20, 2026: 1 breaking change.

- **Behavior changed**  

Queries that contain more placeholders than supplied parameters are now rejected instead of running. Check queries that pass extra parameters. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.19)

### @mikro-orm/core 6.6.18 breaking changes

@mikro-orm/core 6.6.18, released November 12, 2026: 1 breaking change.

- **Behavior changed** `orderBy`  

The query builder's orderBy now throws when an array is passed as the order direction. Pass a single direction value such as 'asc' or 'desc' instead. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.18)

### @mikro-orm/core 6.6.16 breaking changes

@mikro-orm/core 6.6.16, released July 17, 2026: 1 breaking change.

- **Behavior changed**  

Order by directions are now checked against known values, so code passing other direction values may now fail where it previously ran. Use only the supported direction values. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.16)

### @mikro-orm/core 6.6.12 breaking changes

@mikro-orm/core 6.6.12, released April 1, 2026: 2 breaking changes.

- **Behavior changed**  

Nested inline embeddable columns are now set to null recursively when the parent embeddable is null, which changes stored values for such entities. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.12)
- **Behavior changed**  

Orphan removal no longer nullifies a foreign key that is part of the primary key, changing how such rows are handled on removal. [github.com](https://github.com/mikro-orm/mikro-orm/releases/tag/v6.6.12)

### @mikro-orm/core 6.6.11 breaking changes

@mikro-orm/core 6.6.11, released March 31, 2026: 2 breaking changes.

- **Signature changed** `raw`  

Was function raw\<T extends object = any, R = any>(sql: EntityKey\<T> | EntityKey\<T>\[\] | AnyString | ((alias: string) => string) | RawQueryFragment, params?: readonly unknown\[\] | Dictionary\<unknown>): NoInfer\<R>; now function raw\<T extends... [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/6.6.11)
- **Signature changed** `sql.ref`  

Was var ref: \<T extends object>(...keys: string\[\]) => NoInfer\<RawQueryFragment>; now var ref: \<T extends object>(...keys: string\[\]) => RawQueryFragment. [npmjs.com](https://www.npmjs.com/package/@mikro-orm/core/v/6.6.11)

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