@mikro-orm/mariadb
7.2.11 · 20 Nov 2026MIT316.2k / weekRepositoryHomepagenpmAtom feed
251 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 7.x · latest line
7.2.11
20 Nov 2026core: do not replace entity methods with unknown keys in
assign()core: ignore commas inside default values when reading constructor params
Bug Fixes
core: do not replace entity methods with unknown keys in
assign()core: honor the per-call fail handler in
ScalarReference.loadOrFail()(#8767) (3728594), closes #8758core: ignore commas inside default values when reading constructor params
core: include filter params in the result cache key of queries loading relations
core: mark populated collection partial only when the populate filter targets it (#8755) (f882683), closes #8753
core: reuse identity-map entries with falsy primary keys
mssql: quote schema, table and column names in schema helper queries
mysql: read enum items of tables with a quote in their name
oracle: keep dollar signs followed by digits in values intact
seeder: normalize the seeder name to a valid class identifier in
seeder:createsql: handle unusual identifier names in schema introspection
sql: keep question marks in identifiers and inlined values out of placeholder matching
sql: quote every part of dotted identifiers (#8765) (527a554), closes #8760
Performance Improvements
core: compute populate child fields once per relation instead of per entity
core: reassign collection indexes once when removing many items
7.2.10
16 Nov 2026cli: resolve
MIKRO_ORM_TYPE=mongoto the mongo drivercore: accept numeric strings in
limitandoffsetoptions
Bug Fixes
cli: resolve
MIKRO_ORM_TYPE=mongoto the mongo drivercore: accept numeric strings in
limitandoffsetoptionscore: do not mark refreshed m:n items with custom types as dirty (#8742) (aabaa17), closes #8739
core: do not queue auto-flush when loading 1:m collections (#8699) (263b7ed), closes #6982
core: hydrate formulas typed as number to numbers (#8711) (fb1ad05), closes #8694
core: keep the CLI's dynamicImportProvider when re-creating Configuration
core: keep trailing empty strings in string arrays on non-postgres platforms (#8720) (de1ad6f), closes #8719
core: keep unflushed collection changes in
em.populate()(#8692) (149a957), closes #8690core: match upserted rows by all onConflictFields (#8696) (43943c2), closes #8695 #8294
core: snapshot merged
targetKeyand polymorphic to-one relations correctly (#8715) (faf7597), closes #8661mssql: do not mark string properties with a custom column type as dirty after load (#8747) (b5adf83), closes #8740
mssql: map date results of joined relations to strings (#8734) (f93338d), closes #8540 #8733
mssql: validate pooled connections without a query (#8743) (5ca2b66), closes #8741
postgres: quote array elements that postgres would read differently (#8748) (fab35eb), closes #8730
postgres: quote the sequence name in setval and nextval when adding autoincrement
Performance Improvements
core: avoid per-entity sets and repeated property lookups in
toObject()core: cut per-entity allocations when computing change sets
core: mark collections and references on the prototype
core: reset wrapper fields instead of deleting them
core: skip
ensurePropagation()for entities without bidirectional to-one relations (#8702) (137a009), closes #8671core: skip the merge cascade for entities freshly mapped via
em.map()core: speed up flushing removed entities (#8709) (e9012dc), closes #8698
core: trim per-row overhead when reading entities
core: walk only props with
onUpdatehooks when computing update change setssql: precompute joined column aliases and stop deleting them per row
7.2.9
12 Nov 2026cli: resolve TS loaders from the project root
core: clean up the serialization context when
toObject()orserialize()throws
Bug Fixes
cli: resolve TS loaders from the project root
core: accept
FindOptions<T>typed options in genericfind()wrappers (#8662) (932227e), closes #8655core: clean up the serialization context when
toObject()orserialize()throwscore: detect in-place mutations of Date properties on loaded entities (#8675) (2a02c9f), closes #4391
core: do not propagate STI sibling property checks to other subtypes (#8688) (b0b2303), closes #8687
core: don't re-query empty inverse 1:1 relations on repeated populate (#8627) (b074921), closes #8624
core: fill extra columns of a composite FK referencing non-PK target columns (#8646) (14737a2), closes #8641 #8640
core: keep unrefreshed properties in the snapshot on partial refresh (#8633) (254f21f), closes #8632
core: mark entities managed when merged via em.merge()
core: reject unparseable date strings with ValidationError in assign() (#8658) (092e0ba), closes #8656
core: reuse managed entity in
findOnewhenfieldsname an inline embeddable (#8626) (6b79fad), closes #8625core: store the database value of the FK in the snapshot set during hydration (#8661) (a868c92), closes #8657
core: treat copies of a custom type instance as the same type in polymorphic embeddables (#8651) (10a0998), closes #8650
core: write a scalar composite FK value to the column referencing the target PK (#8645) (c9cbb76), closes #8644 #7764 #8640 #8641
mongo: map property names to field names in the partial index
where(#8635) (1dd8144), closes #7593mongo: return the stored version from
em.upsert()andem.upsertMany()(#8623) (3af6998), closes #8620mssql: raise the default request timeout to 60s
mysql: unescape quotes in introspected check constraint expressions (#8639) (9481b56), closes #8485
oracledb: keep fractional seconds on datetime values returned via OUT binds
postgres: don't diff a check over a list of values as an enum (#8653) (64bd76a), closes #8652
schema: do not diff enum items of a non-enum STI discriminator column
sql: bump the version property when
upsert()updates an existing rowsql: compare bigint defaults by value (#8631) (4c740be), closes #8132 #8132 #7796
sql: merge every column of a composite FK on upsert conflict (#8648) (0a2d093), closes #8643 #8642
sql: reject non-string order directions in
orderBysql: run joined
qb.update()andqb.delete()as write queries inexecute()sql: skip generated columns in
em.clone()andqb.insertFrom()
Performance Improvements
core: avoid deopt loop when cloning query builder state
core: keep scalar properties as plain data properties (#8671) (e312571), closes #6982
core: skip re-snapshotting entities freshly mapped via em.map()
core: use Object.keys in getObjectQueryKeys
postgres: escape string literals in linear time (#8659) (2929460), closes #8001
7.2.8
6 Nov 2026core: handle non-JSON query values in result cache and dataloader keys
core: include regexp and raw fragment params in result cache keys
Bug Fixes
core: apply the entity default
orderByinem.stream()andem.findOne()(#8612) (840bc49), closes #7133 #8503core: handle non-JSON query values in result cache and dataloader keys
core: include regexp and raw fragment params in result cache keys
core: respect FK
deleteRulewhen removing an entity with loaded 1:M collections (#8608) (9dff7c8), closes #8606migrations: keep table partitioning in the schema snapshot (#8601) (03f85d8), closes #7816
mongo: convert
$reinside$elemMatchand keep$rekeys in entity data (#8611) (47ca87b), closes #8599mongo: convert
$reon renamed fields, next to other operators and under$notmongo: limit inverse M:N populate per parent instead of per owner array
mssql: handle composite PK
$in/$ninwith an empty list or multiple tuplesmysql: escape and parse enum items containing quotes or commas (#8614) (cdbc0cb), closes #8554
sql: keep
$or,$andand$notin the upsert conflict condition (#8602) (19d05e4), closes #8600sql: order by a composite relation key in paginated queries and with an alias prefix
sql: quote index names in
usinghints and validateusingonem.count()
Performance Improvements
7.2.7
4 Nov 2026core: don't treat record types as
LazyRef
Bug Fixes
core: don't convert a sub-query value with the property's custom type (#8574) (6843a82), closes #8572
core: don't treat record types as
LazyRefcore: keep class instances by reference when merging the config (#8496) (d11862d), closes #8495
core: respect the entity default
orderByinem.findByCursor()(#8503) (8d789d8), closes #7133core: use distinct pivot columns for M:N within one STI hierarchy
postgres: compare interval literals in generated expressions by value (#8585) (e19482b), closes #8482 #8481
postgres: keep element type modifiers when introspecting array columns (#8498) (08a55c7), closes #8497
postgres: map restrict violation errors to
ForeignKeyConstraintViolationExceptionschema: reject combining
deferModewithwhereon unique indexes (#8514) (1bc4d12), closes #8512sql: convert driver exceptions on the QueryBuilder read path (#8584) (fa08c33), closes #8577
sql: emit valid SQL for
$in/$ninon array columns (#8502) (2ab63ff), closes #8454sql: handle
$notnested under collection properties (#8471) (fee6fc5), closes #8468sqlite: fail fast when an entity declares a schema that is not attached
sqlite: keep child rows when a migration rebuilds a table (#8510) (0a3aa8a), closes #6300 #6358
sqlite: read the definition of the first column when introspecting a table
sql: keep aliased FK columns when they match a joined relation name (#8573) (0175b57), closes #8571
sql: resolve inherited columns in TPT child formulas to the parent alias (#8506) (e02bb16), closes #8492
sql: return one primary key per row from em.insertMany (#8582) (0d3333a), closes #8575
Features
core: embed a query builder passed as a raw fragment param as a sub-query (#8590) (64763fd), closes #8570
Performance Improvements
7.2.6
31 Oct 2026Bug Fixes
cli: report a configured TS config path skipped without TS support (#8537) (c9951e2), closes #8531
core: escape backslashes in string default values on the MySQL family (#8554) (a69516e), closes #8553 #8553
core: keep the options of property-level indexes and uniques (#8491) (c343f42), closes #8488
core: map MSSQL date results to strings so loaded entities are not dirty (d16b6ab), closes #8539
core: resolve circular type inference in defineEntity for non-inline filters (#8479) (f4e9f54), closes #7441 #8478
core: skip scalars of uninitialized references in
em.refresh()(#8444) (f231794), closes #8413 #8442core: support same-named properties of different kinds in polymorphic embeddables (#8440) (72ff876), closes #8438
core: unwrap references when checking nested partial fields in populate (#8549) (3237c58), closes #8548
mssql: keep composite foreign key columns paired when introspecting
mssql: write JSON values as Unicode literals (#8542) (0316a53), closes #8541
mysql: handle string defaults on text and blob columns
mysql: map generated ids of a batch insert that mixes explicit and generated primary keys
pglite: reject a commit of an aborted transaction (#8552) (c7b0de4), closes #8499 #8550
postgres: match index columns as whole items when introspecting their sort order (#8490) (2bff5a0), closes #8489
postgresql: reject a commit PostgreSQL answered with ROLLBACK (#8499) (743fafd), closes #8476
postgresql: release pooled client when its connection drops mid-transaction (#8448) (ada68f8), closes kysely-org/kysely#1990 #8069 #8447
schema: align introspected string defaults with the doubled-quote form (#8553) (70946fb), closes #8517
schema: treat index columns without options as default options when diffing
sql: avoid converting custom types twice in collection operator subqueries (#8470) (85154fb), closes #8467
sql: refuse to commit when rolling back to a savepoint failed (#8462) (1610b60), closes #8458
sql: reject forbidden sequences in query comments
sql: select a formula once when a column needs SQL conversion (#8494) (3887c22), closes #8492 #8493
sql: select the right column in joined loading when a property is named like another column (#8527) (c3563d7), closes #8526 #8292
sql: use the persisted JSON keys for indexes on object embeddable properties (#8487) (556bb2f), closes #8486
Performance Improvements
7.2.5
9 Oct 2026Bug Fixes
core: fix custom types and
serializedNameproperties inem.refresh()(#8413) (7463cb2), closes #8410core: hydrate STI object embeddables declared with different classes via the root (#8418) (863195c), closes #8417
core: keep null custom type values in upsert results (#8428) (1a7a9c0), closes #8429 #8427
core: order flush around relations to TPT subclasses
schema: respect
ignoreRoutinesandignoreTriggersin down migrationssql: match STI subclasses when joining into an STI entity (#8425) (74a0ba0), closes #8424
sql: persist conflicting STI properties via the row subtype's property
sql: prioritize formula over convertToJSValueSQL in joined queries (#8415) (404f04c), closes #8414
sql: select formulas of TPT descendants in polymorphic loads
7.2.4
6 Oct 2026core: match reloaded rows in
upsertManywhen inputs use different unique keys
Bug Fixes
core: check the version in batch updates (#8381) (5156bc4), closes #8380
core: don't infer
defineEntityproperties from indexwhereand key options (#8395) (dca7734), closes #8394core: match reloaded rows in
upsertManywhen inputs use different unique keyscore: support glob characters in the project path (#8390) (f2c02f0), closes #1073
core: upsert rows with a null unique key without touching unrelated rows (#8397) (bb4aa99), closes #8393
mongo: insert on upsert without a unique value
sqlite: respect
createForeignKeyConstraints: falsein schema create and update (#8383) (656fac7), closes #8382
Performance Improvements
7.2.3
30 Sep 2026core: detect changes to decimal strings beyond double precision (#8368) (6ba4d2b), closes high-precision
mssql: skip TPT child tables when reseeding identities in
clear()oracle: introspect primary keys so the schema diff can restore and change them
Bug Fixes
core: detect changes to decimal strings beyond double precision (#8368) (6ba4d2b), closes high-precision
mssql: skip TPT child tables when reseeding identities in
clear()oracle: introspect primary keys so the schema diff can restore and change them
oracle: return non-PK autoincrement and generated columns after inserts
postgres: don't restore stale inbound FKs when repartitioning a table (#8371) (5c15854), closes #8369
postgres: drop unique index expressions via
drop indexinstead ofdrop constraint(#8365) (d798236), closes #8363postgres: leave list/range partitions not declared in metadata unmanaged (#8370) (54d855b), closes #8362
postgres: normalize double precision casts and
betweenin check constraint diffs (#8366) (38cb8fc), closes #8361postgres: respect identity options when diffing and rendering columns (#8351) (77ad8e3), closes #8350
sql: declare the primary key once when replacing it with a new autoincrement column
sqlite: rebuild the table when the primary key is added or changed
sql: only convert regexps that LIKE can express
sql: only skip auto-generated enum checks when diffing check constraints (#8375) (ceeb1bc), closes #8374
sql: restore a missing primary key in the schema diff
7.2.2
28 Sep 2026core: allow falsy values in concurrency checks
Bug Fixes
core: allow falsy values in concurrency checks
core: compare FK column for primary key conditions on polymorphic relations (#8328) (7ead234), closes #8326
core: do not mutate the where condition and data passed to the EntityManager (#8291) (6b42e5b), closes #8290
core: handle primary key values and objects in polymorphic and relation conditions (#8329) (cc54e42), closes #8328
core: hydrate partial upsert results without mismatching entities
core: keep entity identity for relations using
targetKey(#8323) (10c73e3), closes #8322core: keep the input order in
em.upsertMany()when a split batch has duplicate rowscore: make compiled function keys independent of module evaluation order (#8339) (4e52beb), closes #8335
core: map upsertMany results to the corresponding SQL inputs
core: merge columns supplied only by some rows in
em.upsertMany()core: preserve concurrency values in batch lock checks
core: preserve entity schema when restoring cached results
core: preserve existing groups when lifting relation filters
core: resolve repositories in non-transactional callbacks
core: respect custom
fieldNamesin polymorphic relationscore: respect locally disabled transactions during flush
mongodb: throw on unsupported polymorphic relation conditions
mssql: handle OUTPUT results on tables with triggers
mssql: preserve columns from heterogeneous upsert inputs
mssql: restrict TPT identity inserts to the owning table
sql: apply target filters when populating polymorphic relations
sql: do not convert custom types twice in
em.countBy()(#8342) (f2f19f9), closes #8341sql: do not treat persisted properties as virtual in paginated orderBy (#8309) (6e765dd), closes #8308
sql: handle STI subtypes with conflicting property columns and types
sql: keep halfvec and sparsevec dimensions during postgres introspection (#8315) (59d3633), closes #5739
sql: keep rows when ordering by polymorphic relation targets
sql: resolve embedded formulas in partial field selections
sql: resolve inline embeddable columns that shadow the property name (#8293) (7042e34), closes #8292
sql: respect
distinct()anddistinctOn()inqb.getCount()(#8312) (00da4bd), closes #8311sql: respect property returning hints on updates and upserts
Performance Improvements
7.2.1
19 Sep 2026Bug Fixes
core: escape the remaining property names in generated code (#8289) (e15eb04), closes #8221
core: keep populated relations clean after a result cache hit (#8269) (86fd18f), closes #8268
mssql: map legacy
ntextandimagecolumn types (#8288) (e46eddf), closes #8287sql: do not emit returning clause inside the update sub-query (#8283) (60b556a), closes #8282
sql: preserve filtered many-to-many references
sql: respect property returning hints on inserts
sql: select inline embeddable columns once when populating via joins (#8272) (0ec88a2), closes #8271
Features
sql: support read-replica routing in em.execute
7.2.0
7 Sep 2026cli: surface the real error when a TypeScript loader fails to load
core: decompose nested cursor groups lexicographically
core: follow the platform's own null ordering in cursor pagination
mikro-orm.io/blog/mikro-orm-7-2-released
Bug Fixes
cli: surface the real error when a TypeScript loader fails to load
core: decompose nested cursor groups lexicographically
core: follow the platform's own null ordering in cursor pagination
core: handle
orderBydirections carrying a nulls qualifiercore: preserve nested populate filters across loading strategies
core: treat
@Formulaproperties as nullable in cursor paginationdecorators: skip
@oxc-node/corehelper frames when resolving entity pathpostgres: forward
pool.minto thepgpool (#8237) (188b064), closes #8234
Features
cli: add a "-q" param, to suppress informational output
cli: add Nub TypeScript loader option
cli: the "--combined" argument of cache:generate can optionally be a path to the cache file
core: add
getNativeClient()to access the underlying database client (#8148) (27634ad), closes #8146core: add
throughoption for read-only to-one relations resolved via subquery (#8239) (5e621e0), closes #8238core: add native support for row level security (#7984) (8336552), closes #6137 #6413 #6493 #6493
core: allow map to bypass identity map
core: allow specifying a callback for the RequestContext options
core: rework cursor pagination for custom types and nullable columns (#8103) (35a1455), closes #8097
core: support
await usingviaSymbol.asyncDispose(#8159) (e1cbd5d), closes #8158core: support
indexoption on M:N properties for pivot table join columns (#8160) (aa177ed), closes #8156core: support configurable string normalization (#8169) (96fdbb4), closes #8165
core: support named parameters in
em.execute()(#8173) (17788fc), closes #8093migrations: allow opting out of snapshot updates on migrate
mongo: add
$allquery operator supportsql-js: add sql.js driver for in-memory SQLite in WebAssembly
sql: support the
$alloperator on collection properties (#8248) (c987f8a), closes #7931
Performance Improvements
7.1.15
3 Sep 2026core: escape entity property names in generated hydration/comparison code
Bug Fixes
core: apply TPT concurrency check only to the table that declares it (#8228) (9d47084), closes #8227 #8226 #8226
core: apply TPT version property only to the table that declares it (#8227) (8ee0365), closes #8226
core: escape entity property names in generated hydration/comparison code
core: infer
serializercallback value from relation kind indefineEntity(#8215) (9631464), closes #8214core: resolve user-class lookups by class reference instead of class name (#8209) (2431265), closes #8208
core: support polymorphic relations inside embeddables (#8219) (69ed8f8), closes #8218 #8217
sql: join TPT parent tables for relations targeting a sub-class (#8233) (a7e1521), closes #8231
sql: keep relation filters within their own join branch (#8212) (d5feeff), closes #8210
sql: prevent endless loop when entity filters form a relation cycle (#8213) (f30ead9), closes #8211
sql: support upsert for TPT entities (#8229) (eafda32), closes #8226 #8226
7.1.14
26 Aug 2026Bug Fixes
core: don't double-wrap
orderByin M:N dataloader batch load (#8194) (20aa5a8), closes #8193core: don't require the discriminator value when creating an STI entity (#8201) (2b0ca9b), closes #7677 #8200
core: evict referrers holding a removed entity in their primary key (#8205) (16d80a9), closes #8203
core: infer primary key from plain class base in
defineEntitycore: respect explicit join alias in JSON property conditions (#8195) (16a147c), closes #8192
postgres: strip array-typed casts cleanly when recovering check constraints (#8198) (2b3d9c3), closes #8197
sql: keep row-value tuples in
$inon araw()keysql: skip trigger diff when only one side uses
expression(#8191) (e486d39), closes #8190
7.1.13
20 Aug 2026core: derive FK field names from
targetKeyinstead of composite PKs
Bug Fixes
core: accept plain arrays for enum array properties in EntityData (#8167) (3812a88), closes #8166
core: derive FK field names from
targetKeyinstead of composite PKscore: don't overwrite existing rows with onCreate generated values in upsert (#8186) (4052f58), closes #7399
core: keep
$orconditions intact when populating to-many relations (#8181) (026bd8b), closes #8176 #8180core: keep
$orconditions intact when populating to-one relations (#8176) (3776fe5), closes #1882 #6658 #8175core: respect
connectionTypeoption inem.countBy()(#8188) (9e8e3bd), closes #8187core: skip enum check constraints for
json/jsonbcolumns (#8184) (018e522), closes #8183decorators: don't mutate base class metadata in TC39 decorators (#8177) (b4e72bd), closes #8178
query-builder: keep filter
$orintact when it spans joined to-one relations (#8182) (3baa862), closes #8176 #8176 #8179sql: convert custom type values in kysely where clauses
Features
7.1.12
17 Aug 2026core: use own-property checks in populate hints, canPopulate, and filter options
Bug Fixes
core: do not mutate caller-provided options in
merge,create,getReferenceandfork(#8150) (8f3ea3f), closes #8144 #8143core: do not mutate the options object provided by the caller (#8144) (bc60f44), closes #8143
core: use own-property checks in populate hints, canPopulate, and filter options
postgres: emit and diff the index access method (#8126) (94d57e8), closes #8124
postgres: flatten dollar-quoted bodies in raw trigger and routine DDL (#8142) (5835d84), closes #8063 #8062 #8140
postgres: keep parens balanced when stripping casts from introspected checks (#8125) (93bf909), closes #8123
query-builder: allow alias-prefixed keys in nested
$and/$orgroups (#8147) (ac7cc91), closes #8145schema: create foreign keys of new tables after altering existing ones (#8151) (96ec0fa), closes #8141
sql: compare quoted decimal defaults numerically (#8132) (2776140), closes #8131
sql: resolve TPT parent alias in JSON property conditions (#8163) (fec54ef), closes #8162
sql: support joining a table or CTE by name via sql.ref() (#8161) (45d67be), closes #8157
7.1.11
6 Aug 2026core: ignore own
__proto__key when cloning objects
Bug Fixes
core: ignore metadata cache entries cached from a different source file (#8111) (f53ab65), closes #8107
core: ignore own
__proto__key when cloning objectscore: resolve entity metadata via class references instead of class names (#8108) (d3564bf), closes #8107
entity-generator: emit check constraints in generated entities (#8121) (5f56d24), closes #8114
entity-generator: keep index column order when columns map to relations (#8119) (c3c0601), closes #8116
entity-generator: preserve advanced options of single-column indexes (#8122) (e589ed4), closes #8118 #8118
entity-generator: preserve the where clause of partial indexes (#8118) (fdaa9a8), closes #8115
migrations: allow stable migration names when class names are minified
sql: infer columns with a default value as kysely
Generated(#8117) (29f074f), closes #8113
7.1.10
4 Aug 2026core: map cursor offsets based on property types
core: prevent hash collisions for nested composite keys
Bug Fixes
core: duck-type
Routine.is()to survive the CJS/ESM dual-package hazard (#8094) (59df822), closes #7289 #8092core: map cursor offsets based on property types
core: prevent hash collisions for nested composite keys
mongo: support cursor pagination ordered by date inside object embeddable (#8102) (d3bb418), closes #8097
mssql: support predictable primary key names
sql: nest joins referenced by
onconditions instead of only newly added ones (#8101) (d137965), closes #8100 7681/#8091 #8100 #8099sql: prevent forward join alias references when applying joined filters (#8091) (8388010), closes #7681 #8090
sql: yield all rows merged from the final batch when streaming (#8089) (989690a), closes #8078
7.1.9
30 Jul 2026core: fix batch updates when the whole primary key is one relation
core: keep the fixed order column as the sole pivot PK for polymorphic M:N
Bug Fixes
core: fix batch updates when the whole primary key is one relation
core: keep
nullvalue of embedded arrays in snapshots and hydration (#8046) (93d62bf), closes #8045core: keep the fixed order column as the sole pivot PK for polymorphic M:N
core: map returning values back to entities after batch update
core: support mixed STI child types in batch updates
core: support version and optimistic locking on nested composite keys
entity-generator: correctly escape generated string literals and keys
entity-generator: sanitize file names taken from database metadata
libsql: stop recycling local connections every 10 seconds
migrations: sanitize custom migration names into valid class identifiers
mssql: execute
create triggerin its own query batchmssql: manage table and column comments via extended properties
oracledb: bind every returned column of a multi column property
oracle: keep the config user in sync with the pool after
dropDatabase()oracle: set the session schema when the connection user differs from
dbName(#8042) (3a942d2), closes #8040postgresql: don't crash the process when the server drops a connection
sql: apply column comment changes in a single schema update pass
sql: apply query cancellation strategies inside transactions
sql: compile an empty
$orto an always-false predicatesql: emit valid SQL for negated and empty condition groups
sql: include composite FK values in the pivot row hash (#8082) (f2d5a89), closes #8078 #8078
sql: keep multi line comments intact when grouping schema DDL
sql: keep multi line trigger bodies stable across schema updates
sql: keep pivot rows distinct when the fixed order column is not unique (#8078) (63a2c83), closes #8075
sql: keep polymorphic pivot rows distinct when the fixed order column is not unique (#8085) (20734f7), closes #8078
sql: keep the original error when the rollback of a failed transaction also fails
sql: load M:N collections of owners with a nested composite PK
sql: load the owner side of a polymorphic M:N pivot shared by owners of different PK arity (#8084) (6fbdcc4), closes #8081
sql: load the owner side of a polymorphic M:N with a composite PK owner (#8081) (a38cca5), closes #8080
sql: normalize implicit aggregate aliases and multi word casts (#8058) (e90c141), closes #8055
sql: normalize trigger bodies when generating DDL (#8063) (32da92f), closes #8061
sql: pass a flat PK array when persisting M:N of a composite PK owner
7.1.8
28 Jul 2026core: convert custom types when querying composite PK via array form
core: don't let a partially loaded fork entity clobber the parent context
Bug Fixes
core: convert custom types when querying composite PK via array form
core: don't let a partially loaded fork entity clobber the parent context
core: fix infinite recursion when flushing a
mapToPkFK with value0(#8004) (f01fd6f), closes #8003core: key composite primary keys with custom types by their database form (#8029) (5d582ec), closes #8021
core: populate 1:m collections of parents with falsy PK values (#8002) (eaa25d4), closes #8000
core: respect custom type conversion in identity map lookups (#8021) (44d470d), closes #8020
migrations: respect
skipTables/skipViewswhen rewriting the snapshot (#8038) (08e5801), closes #8037migrations: store the create snapshot in the resolved migrations folder (#8027) (d7a9ea8), closes #8024
sql: do not apply collection
whereof non-joined nested relations (#8030) (f3d48d8), closes #8022sql: order introspection queries so generated schema diffs are stable
sql: preserve query builder field types across joins and CTEs
7.1.7
17 Jul 2026core: ignore special object keys in
assign()
Bug Fixes
core: ignore special object keys in
assign()core: support same-named nested embeddables with different props in polymorphic embeddables (#7986) (c926fd8), closes #7983
mariadb: keep JSON columns as strings on mysql2 3.23+ (#7994) (0154130), closes #7981
mssql: map FK, CHECK, PK/unique, deadlock and lock-timeout errors to driver exceptions
mssql: retry create database when the model database is locked
postgres: make check introspection columnName deterministic (#7992) (ab14f97), closes #7991
sql: validate order by direction against known values
7.1.6
13 Jul 2026core: infer
stringfortimetype properties instead ofany
Bug Fixes
core: carry merged ancestor builders so Kysely types span multi-level
extends(#7939) (3c56082), closes #7938 #7938 #7938 #7937core: ignore process-local metadata
_idwhen loading from cache (#7978) (4777f9d), closes #7975core: infer
stringfortimetype properties instead ofanycore: keep custom-typed PK snapshots in DB-form to avoid spurious updates (#7973) (393a7f3), closes #7966
core: make entity type inference robust under TS 7 stable type ordering (#7948) (a5d1827), closes microsoft/typescript-go#4464
core: support
@Check()on class level with TC39 decoratorsmysql: treat (current_date) and curdate() date defaults as equal
oracle: keep FK schema owner case consistent with columns and tables (#7964) (ad776b7), closes #7960
sql: avoid phantom changeset for inline embeddable loaded via joined strategy (#7971) (9c7612a), closes #7954
sql: do not propagate TPT parent check constraints to child tables (#7944) (0f34374), closes #7714 #7935
sql: expose columns inherited via
extendsingetKysely()table type (#7938) (ebaa2be), closes #7937sql: infer array columns as arrays in Kysely table types (#7972) (2b79554), closes #7967
sql: keep non-lazy
@Formulaout of partial-index predicate rendering (#7947) (368123d), closes #7946sql: keep nullable relation FK columns nullable in class-based Kysely inference (#7965) (fde9258), closes #7962
sql: stop schema diff churning on generated columns with underscore literals
sql: support orderBy on persist(false) virtual fields with pagination (#7979) (0454aea), closes #7932
7.1.5
26 Jun 2026cli: discovery:export casts the DriverEntityManager to the right type
Bug Fixes
cli: discovery:export casts the DriverEntityManager to the right type
core: apply populateOrderBy to select-in relations without leaking into M:N pivots (#7915) (03bb827), closes #7910
core: avoid evaluating getters when snapshotting unhydrated references (#7919) (528789b), closes #7918
core: enable RequestContext to use almost all fork options
core: keep async-clonable resources by reference in config clone (#7887) (57f0b2c), closes #7862 #7862 #7870 #7862
core: key change set groups by metadata id to avoid dropped writes (#7904) (243247d), closes #7511 #7903
core: skip view entities in schema.clear() (#7880) (3b762fe), closes #7874
core: stop STI subtype property leaking to siblings when shared by 2+ children (#7923) (647b28c), closes #7922
migrations: restore triggers when reading the migration snapshot (#7882) (5e68e04), closes #7878
mssql: return result sets from callRoutine without OUT params (#7879) (fbe7fd3), closes #7872
pglite: make createDatabase/dropDatabase true no-ops in single-database mode
pglite: really close in-memory instances on orm.close() (#7870) (a1a4d1d), closes #7862
postgres: handle stored routines with unnamed parameters (#7917) (6302833), closes #7905
sql: derive bulk insert columns from all rows, not just the first (#7884) (4abfb52), closes #7871
sql: keep nested collection populateOrderBy by a to-one relation field under joined strategy (#7916) (e81d01b), closes #7911
sql: resolve target entity schema in nested collection operators (#7895) (5be97fb), closes #7894
sql: serialize array operators as a single literal in JOIN-ON conditions (#7900) (c938c7a), closes #7899
sql: strip comments from view definitions in schema generator (#7883) (d56826b), closes #7875
7.1.4
6 Jun 2026core: avoid stack overflow in IdentityMap.keys()/values() for large maps
Bug Fixes
core: allow array return in onCreate/onUpdate on embedded/scalar arrays (#7848) (b7e5232), closes #7847
core: avoid spurious updates for object embeddables with undeclared keys (#7823) (6b017d9), closes #7821 #7821
core: avoid stack overflow in IdentityMap.keys()/values() for large maps
core: keep STI primary key NOT NULL when a child re-declares it (#7828) (31a12bb), closes #7826
core: populate polymorphic embedded arrays loaded via a relation (#7846) (18f9b58), closes #7845
core: use owner targetKey for inverse collection loads (#7844) (8d46fe9), closes #7842 #7842
postgres: don't mis-detect JSON operator checks as enums (#7829) (dee3d3a), closes #7822
postgres: introspect native enums with no members (#7830) (aab9970), closes #7825
postgres: unwrap single-paren CHECK shell for bare boolean CASE bodies (#7827) (52ef9e9), closes #7824
sql: emit column name for kysely on-create/on-update hook injection (#7837) (f4135f7), closes #7836
Features
7.1.3
31 May 2026core: support onReserveConnection across SQL drivers
Bug Fixes
core: emit composite unique for OneToOne across 3+ STI variants (#7806) (ae89033), closes #7805
core: support
mapToPkscalar typing with ES decorators (#7818) (9b8b4e4), closes #7817
Features
core: support onReserveConnection across SQL drivers
postgres: support adding and changing partitioning on existing tables
schema: add
ignoreRoutinesoption to leave routines unmanagedschema: add
ignoreTriggersoption and skip trigger drops in safe mode
7.1.2
29 May 2026cli: allow
discovery:exportto generate an empty list of entitiescore: preserve sibling conditions next to
$and/$oron relation filters
Bug Fixes
cli: allow
discovery:exportto generate an empty list of entitiescore: avoid circular type in defineEntity index/unique
wherewith self-referencing relations (#7784) (82ad42a), closes #7440core: preserve sibling conditions next to
$and/$oron relation filterscore: reload non-merged columns after upsert with a raw conflict target
migrations: stop migrator.up() from churning a snapshot that matches the DB (#7804) (3f1297c), closes #7803 #7798 #7798
sql: expose raw aliases in QueryBuilder execute() result type
sql: handle scalar PK in joined mapping of composite-FK relations (#7802) (88fae8e), closes #7801
sql: stabilize MySQL snapshot serialization for decimal/text/extra/comment (#7797) (184cfde), closes #7235 #7608 #7796
sql: stop spurious Postgres schema diff on geometry typmod and truncated check names (#7803) (a972992), closes #7798 #7798
sql: stop sqlite snapshot flip on table/column comments (#7799) (bac9210), closes #7798
Features
7.1.1
22 May 2026Bug Fixes
cli: skip local-dependency check under Deno (#7767) (c27c211), closes #7766
core: reload suppressed entities from partially-suppressed upsertMany (#7779) (36eaff3), closes #7775
core: skip PK collapse when composite FK doesn't align with target PK (#7765) (fce1cc6), closes #7764
migrations: preserve partial unique index
wherepredicate in snapshot (#7778) (5616c3d), closes #7773postgres: recast column default when changing array element type
schema: detect removed default on boolean columns (#7777) (c0faca0), closes #7774
seeder: widen
Factory.modeltype toEntityName<T>(#7776) (878078c), closes #7768
7.1.0
20 May 2026core: skip M:N inverse scrub for STI siblings that can't reference the entity
core: treat inlined embeddables as loaded when their leaves are
mikro-orm.io/blog/mikro-orm-7-1-released
Bug Fixes
core: coerce ISO date strings to
Dateinem.assign()(#7740) (0940a5f), closes #7737core: skip M:N inverse scrub for STI siblings that can't reference the entity
core: treat inlined embeddables as loaded when their leaves are
mongo: clean up inlined pivot on em.remove when owning side is populated (#7755) (4c5f03a), closes #7752
mongo: create collections before ensuring indexes in
create()mongo: throw on em.remove of inlined-pivot M:N target with uninitialized owning side (#7752) (231f84c), closes #7750
sql: infer scalar array properties as columns in Kysely types (#7753) (111d69d), closes #7751
sql: wrap raw subqueries with parens inside INSERT VALUES (#7754) (d379880), closes #7749
Features
cli: add
discovery:exportcommand (#7335) (e38f5c4), closes #7323 #7323cli: add
migration:logandmigration:unlogcommands (#7347) (6cf1045), closes #5390cli: emit typed
EntityManageralias fromdiscovery:exportcore: accept enum references directly in
itemscore: add
discriminatoroption and column-name override (#7748) (5390ce8), closes #7121core: add
em.clone()andqb.insertFrom()for server-side row cloning (#7365) (13ca566), closes #5820core: add
em.countBy()for grouped countingcore: add
fieldswhitelist option toserialize()(#7517) (6ea6d64), closes #7507core: add
initNullablePropertiesconfig option (#7554) (03a3122), closes #7551core: add
LazyRef<T>,Loadablemixin, andunref()escape hatchcore: add
whereoption for partial indexes and unique constraintscore: add a
chunkSizeoption to streamscore: add column-level
collationsupport for SQL drivers (#7615) (12e3a73), closes #4286core: add dataloader support for
Collection.loadCount()(#7373) (120189c), closes #7372 #6425core: add type-safe
usingoption for index hints (#7375) (3337b58), closes #7175core: auto-generated classes inherit from parent with defineEntity extends
core: expose query cancellation via
AbortSignalcore: per-parent limiting for populated collections (#7370) (6ff01e4), closes #1059
core: support
arrayoption on scalar properties (#7378) (b54b756), closes #7363core: support stored procedures and functions (#7693) (9bbbb8b), closes #5253
core: union-target polymorphic M:N relations (#7569) (dfbe1c2), closes #7564 #7564
migrations: add migration:rollup command (#7468) (8de2c92), closes #3633
migrations: support runtime schema context (#7597) (9b00229), closes #3319 #4928
pglite: add PGlite driver
postgresql: add support for table partitioning (#7497) (63d0977), closes #6944 #6944
schema: add database trigger support (#7379) (da4010d), closes #5053
sql: bind
getKysely()to the current transaction context (#7701) (344be12), closes #7679
7.0.17
17 May 2026core: avoid duplicate queries when
:refpopulate overlaps withfields
Bug Fixes
core: allow local
forceObject: falseto override global setting (#7739) (4f5b71d), closes #7738core: avoid duplicate queries when
:refpopulate overlaps withfieldscore: carry user-declared STI discriminator through mergeData (#7736) (826ab28), closes #7735
core: merge index
columnsoverrides with the full property listcore: populate partial inverse one-to-one refs
core: propagate pivot entity to STI root for inverse M:N (#7725) (8852875), closes #7724
core: resolve TPT parent alias for custom-typed inherited columns
core: scope auto-joined filter refs to fields shared by all polymorphic targets (#7723) (d67c2c5), closes #7722
core: scope STI subclass discriminator when extends is a schema (#7727) (df74b4b), closes #7726
7.0.16
14 May 2026core: pass entity instance to
beforeUpserthook and propagate mutations to SQLcore: reset stale collections on upserted entities
Bug Fixes
core: do not propagate parent indexes to child TPT tables (#7715) (de68566), closes #7714
core: pass entity instance to
beforeUpserthook and propagate mutations to SQLcore: reset stale collections on upserted entities
core: resolve polymorphic TPT-child filter columns to parent table (#7719) (2e5a91a), closes #7717
core: respect partial
fieldsoption when populating inverse 1:1 relationscore: treat
LockMode.NONElikeundefinedinem.findOne()(#7704) (08d7ecf), closes #7702schema: centralize identifier-length truncation across platforms
Features
7.0.15
9 May 2026Bug Fixes
core: apply array customType to scalar arrays defined via property chain (#7689) (26f8107), closes #7688
core: apply filters to inverse 1:1 populate joins instead of duplicating them (#7684) (895c93e), closes #7680
core: narrow inherited discriminator to literal value in
defineEntity(#7678) (571a91e), closes #7677migrations: log migration inside the runner's transaction
mysql: default maxIdle when pool.idleTimeoutMillis is set (#7673) (b711997), closes #7672
sql: apply customType SQL wrappers in getKysely (#7682) (89f9222), closes #7679
sql: nest auto-joins inside a join cond's target to avoid forward references (#7683) (2ad53b3), closes #7681
7.0.14
4 May 2026core: escape embedded quote characters in quoteIdentifier
Bug Fixes
core: avoid crash on STI subclass with 1:M override (#7636) (34427ff), closes #7635
core: drop entity from persist/remove stacks in
uow.unsetIdentity()(#7639) (0b90c31), closes #7638core: escape embedded quote characters in quoteIdentifier
core: escape JSON path keys in getSearchJsonPropertyKey
core: respect
hiddenflag withpopulate: ['*']inserialize()(#7637) (88ed196), closes #7634sql: avoid duplicate result cache write on
em.find()(#7645) (fa12c86), closes #6923 #7644
Features
sql: add
MikroORManddefineConfigvariants in@mikro-orm/sql
7.0.13
27 Apr 2026core: infer FK column from accessor name for backing-field relations
Bug Fixes
cli: don't auto-register extensions on CLI-passed options (#7614) (2a4cd8a), closes #7613
core: allow
targetKeyto point at a primary key (#7626) (be4c04f), closes #7625core: infer FK column from accessor name for backing-field relations
core: link TPT subclass iterated before its abstract parent (#7611) (0468716), closes #7609
core: merge nested
fieldspaths into explicitpopulatemssql: clean up
.mdf/.ldffiles on dropmssql: use
set offlineinstead ofset single_userto drop databasesmysql: skip password callback when reusing a pooled connection (#7604) (1965155), closes #7576
postgres: treat
timetz/time with time zoneas aliases in schema diff (#7618) (57080c5), closes #7616sql: stabilize migration snapshot serialization (#7608) (caec061), closes #7607 #7610 #7607 #7610
7.0.12
23 Apr 2026core: avoid crash on STI subclass @ManyToOne override targeting same hierarchy (#7599) (eeebf6f), closes #7598
Bug Fixes
core: avoid crash on STI subclass @ManyToOne override targeting same hierarchy (#7599) (eeebf6f), closes #7598
core: expand polymorphic entity refs in where filters (#7579) (32a0f08), closes #7578
core: expand polymorphic entity refs inside scalar operators (#7581) (1027e90), closes #7579 #7578
core: recognize TypeScript's
__esDecoratehelper in decorator path lookup (#7584) (ad9c86a), closes #7583core: skip getter-only properties in assignDefaultValues (#7575) (0251777), closes #7574
mysql: resolve password callback per-connection for short-lived tokens (#7577) (9b9fe2d), closes #7576
postgres: schema-qualify generated
drop indexstatementssql: forward ignoreBranch options for M2M pivot alias resolution (#7591) (0cb4895), closes #7590
7.0.11
16 Apr 2026Reading the note…
7.0.10
10 Apr 2026Reading the note…
7.0.9
6 Apr 2026Reading the note…
7.0.8
1 Apr 2026Reading the note…
7.0.7
31 Mar 2026Reading the note…
7.0.6
26 Mar 2026Reading the note…
7.0.5
23 Mar 2026Reading the note…
7.0.4
20 Mar 2026Reading the note…
7.0.3
18 Mar 2026Reading the note…
7.0.2
14 Mar 2026Reading the note…
7.0.1
11 Mar 2026Reading the note…
7.0.0
11 Mar 2026- Removed
seeder: remove
tinyglobbydependency, addseedersListoption Add JSR publishing support
Change default
loadStrategytobalanced
Release blogpost: mikro-orm.io/blog/mikro-orm-7-released
Upgrading guide: mikro-orm.io/docs/upgrading-v6-to-v7Features
Add JSR publishing support
Change default
loadStrategytobalancedcli: support various TS loaders
core: add
$sizecollection operatorcore: add
collationsupport and MongoDB query optionscore: add
EntityNamesymbol for decorator-based Kysely type inferencecore: add
EntitySchema.newhelper to create entity instancescore: add
forceObjectoption todefineEntitycore: add
populateHintsoption toFindOptionsfor per-relation populate overridescore: add entity-level default
orderByoptioncore: add slow query logging support (#7271) (13b97f5), closes #4695
core: add support for polymorphic relations
core: add support for streaming
core: add support for Table-Per-Type inheritance
core: add support for view entities
core: add WHERE clause support to upsert via
onConflictWhereoptioncore: allow reusing raw query fragments
core: execute transaction events on child transactions
core: improve formula callback to provide more information about the table and column mapping
core: improve type safety of various decorators
core: move file discovery to separate file
core: propagate persist stack in
em.transactionalforkcore: support FKs pointing to non-PK columns via
targetKeyoptioncore: support null values in cursor-based pagination
core: support pre-compiled functions for eval-free runtimes
core: validate dangerous property names
decorators: introduce
@mikro-orm/decoratorspackage with legacy and ES decorator definitionsdefineEntity: allow extending generated class with custom methods
entity-generator: add
manyToManyPropertyNametoNamingStrategykysely: add
MikroKyselyPluginto support various ORM features with kyselymigrations: remove umzug dependency, improve bundler support
oracle: add Oracle DB driver
postgres: add support for materialized views
query-builder: add support for common table expressions (CTE)
schema: add native support for advanced index features
schema: allow changing defaults for
update/deleteRuleand remove inference fromcascadeoptionschema: allow skipping views
- Removed
seeder: remove
tinyglobbydependency, addseedersListoption sql: add
$elemMatchoperator for JSON array propertiessql: improve
QueryBuildertype safety with context-aware typessql: infer Database for kysely
sql: replace knex with kysely
sql: replace knex with native implementation of query and schema building
sql: strictly type
SelectQueryBuilder.execute()return typesql: support aliasing formula and regular properties in
QueryBuilderselectsql: support UNION-based where clauses as index-friendly alternative to
$orsql: transparent querying of embedded array properties (#7264) (c9f13bb), closes #1887
sqlite: add
ATTACH DATABASEsupport for multiple database filessqlite: enable down migrations
sqlite: simplify using other sqlite libraries like
node:sqlite
Bug Fixes
core: allow using property accessor on to-one relations (621d10a), closes #7211
core: always check the database when querying by PK with filters (8bd62b2), closes #7084
core: do not convert custom types in
em.refresh(3f8abdf), closes #7073core: do not propagate cursor related options to populate queries (e667290), closes #7148
core: duplicate discovery of embeddables with defineEntity
core: enable
forceUtcTimezoneby default for all SQL drivers (#7087) (c89890b), closes #5591core: ensure
populatehint won't includeundefinedfor optional relationscore: ensure column name conflicts in M:N are propagated to STI child entities (562515c), closes #7123
core: ensure no collisions in polymorphic embeddables with shadowed properties
core: ensure owning FK is selected for to-many inverse sides
core: fix applying filters on nested relation conditions
core: fix double processing of JSON properties when reloading an entity
core: fix enum arrays with
defineEntityfailing on metadata validationcore: fix findOne with entity refs for composite PKs with shared FK columns (b8a39e2), closes #5629
core: fix processing filters on to-many relations
core: fix result caching for custom types (10a4044), closes #7112
core: improve handling of deeply nested composite keys in
em.create(28261a0), closes #6894core: improve intellisense for partial loading in
em.populatecore: make entity prototype
toJSONnon-enumerable to prevent data leakscore: map arrays inside object embeddables to JSON arrays by default
core: normalize
populateoption inCollection.matching()for M:N relationscore: only respect
Hiddentype on scalar properties (#7097) (36372a2), closes #7062core: preserve embeddable properties in
toPOJOregardless of partial loading hintscore: preserve function expression indexes through metadata cache round-trip
core: prevent double JSON-encoding of nested embeddable arrays
core: prevent property mutation during polymorphic embeddable discovery (#7270) (c3a5978), closes #6522
core: respect
excludehint in implicit serialization viatoObjectcore: respect
excludeoption on eager propertiescore: respect
orphanRemovalon 1:1 relations when inverse side is a PKcore: respect custom repositories with
InferEntitycore: respect EM schema when joining a wildcard entity from a static schema entity (69ca26c), closes #7082
core: respect explicit
tableNamewhen computing join table namescore: respect loaded hint for
Refrelations inside array embeddablescore: support overlapping properties with different field names in STI (5d83d0f), closes #5813
core: support querying by all keys of discriminated union types (21b7a80), closes #7111
core: support schema parameter in formula query when using QB with partial loading
core: support wildcard
wrap(e).populate()hints on type levelcore: use full hydration in
mergeDatafor initialized entities (32a0baa), closes #7205core: use less strict
repositoryoption type to fix issues withdefineEntityand cyclesdefineEntity: fix inference issues in
hooksdefinitionentity-generator: strip schema prefix from FK property names
Guard prototype.toJSON against being called on prototype itself (#7152) (0392156), closes #7151
migrations: delete snapshot file after
migration:downmigrations: normalize snapshots and write on both up/down
migrations: skip snapshot write on
migration:upto support read-only filesystemsmigrations: support emitting multiline comments
mongo: fix field name conversion when querying object embedded entities
mongo: fix support for deno by handling
TypedArraywhen cloningmongo: rework support for serialized primary keys
postgres: fix phantom diffs for complex check constraints
postres: fix casting of object embedded relation properties
query-builder: apply
WHEREconditions toORDER BYjoins in paginated queries (128e58b), closes #6160schema: disable FK checks by default only for
orm.schema.clear()in MySQLschema: do not ignore changes to entity level comments (4087704), closes #7187
schema: do not infer nullability of to-one relations based on
cascadeoption (56be7f3), closes #6972sql: always alias virtual properties in where query (37f35af), closes #7196
sql: cross-schema JOINs no longer inherit main entity's schema
sql: fix populating M:N relations with
pivotEntitythat usesmapToPk: true(cdd8f85), closes #7107sql: handle $not operator inside relation filters
sql: ignore missing tables during schema clear
sql: qualify cross-schema FK references with
dbNameon MySQL/MariaDBsql: skip pagination subquery and force balanced strategy for virtual entities (e2c1287), closes #7195
sti: ensure stable order in the generated discriminator map (b51d6fd), closes #6455
Performance Improvements
core: improve
defineEntitytype performancecore: improve
InferEntityperformance whenextendsis usedcore: improve
Loadedtype performance by optimizing field selectioncore: improve inference via
InferEntitytypecore: optimize
AutoPathandLoadedtype instantiation costscore: optimize
em.assigntypingcore: optimize type instantiation costs with structural shapes
core: rework auto-flush detection to rely on explicit
em.persistcalls
- 6.x
6.6.19
20 Nov 20266.6.18
12 Nov 2026Bug Fixes
core: allow falsy values in concurrency checks (backport to 6.x) (#8524) (28a83f8), closes #8318 #8318
core: detect changes to decimal strings beyond double precision (backport to 6.x) (#8566) (3a2b4f9), closes #8368 #8368
core: don't double-wrap
orderByin M:N dataloader batch load (backport to 6.x) (#8563) (ca7d715), closes #8193 #8194core: escape entity property names in generated hydration/comparison code (#8453) (193e462), closes #8221 #8221
core: evict referrers holding a removed entity in their primary key (backport to 6.x) (#8525) (e57f3eb), closes #8203 #8205
core: keep null custom type values in upsert results (#8429) (a1f0334), closes #8427 #8428
core: preserve existing groups when lifting relation filters (backport to 6.x) (#8567) (0bf5b96), closes #8304 #8304 #8291
core: prevent hash collisions for nested composite keys (#8473) (7eb62e2), closes #8088 #8078 #8080 #8082 #8088 #8078 #8082 #8080 #8088 #8078
core: respect locally disabled transactions during flush (backport to 6.x) (#8568) (80f8f43), closes #8306 #8306
mssql: use equality conditions for composite PK batch updates (backport to 6.x) (#8543) (9092e73), closes #7442 #7442 #7442
query-builder: reject arrays as order direction in
orderBy(backport to 6.x)
6.6.17
2 Oct 2026Bug Fixes
core: accept plain arrays for enum array properties in EntityData (#8168) (b90c287), closes #8166
core: keep populated relations clean after a result cache hit (#8270) (d338572), closes #8268 #8269
migrations: keep the snapshot when the migrated database still matches it (30f6491), closes #7804
postgresql: stop spurious schema diff on PostGIS type modifiers (1a82866), closes #7803
query-builder: do not inline raw query parameters
sqlite: fix enum introspection for enums with more than two values
6.6.16
17 Jul 2026Reading the note…
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.