Packages

@mikro-orm/core

7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed

Your version

7.1.5

26 Jun 2026Where it was published

7.2.11 is the newest release of 7.x.

In short

17 fixed

Release note

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

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.