Packages

@mikro-orm/core

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

Your version

7.2.0

7 Sep 2026Where it was published

7.2.11 is the newest release of 7.x.

In short

17 new1 faster8 fixed

Release note

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 orderBy directions carrying a nulls qualifier

  • core: preserve nested populate filters across loading strategies

  • core: treat @Formula properties as nullable in cursor pagination

  • decorators: skip @oxc-node/core helper frames when resolving entity path

  • postgres: forward pool.min to the pg pool (#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 #8146

  • core: add through option for read-only to-one relations resolved via subquery (#8239) (5e621e0), closes #8238

  • core: 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 using via Symbol.asyncDispose (#8159) (e1cbd5d), closes #8158

  • core: support index option on M:N properties for pivot table join columns (#8160) (aa177ed), closes #8156

  • core: support configurable string normalization (#8169) (96fdbb4), closes #8165

  • core: support named parameters in em.execute() (#8173) (17788fc), closes #8093

  • migrations: allow opting out of snapshot updates on migrate

  • mongo: add $all query operator support

  • sql-js: add sql.js driver for in-memory SQLite in WebAssembly

  • sql: support the $all operator on collection properties (#8248) (c987f8a), closes #7931

Performance Improvements

  • core: skip structural variance measurement of defineEntity builder and entity types (#8242) (b135126), closes #8240

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.