Packages

@mikro-orm/mysql

7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed

Your version

6.6.0

11 Nov 2025Where it was published

6.6.19 is the newest release of 6.x.

In short

7 new8 fixed

Release note

Bug Fixes

  • core: do not ignore updating the whole inlined embedded property to null (d0913f1), closes #6966

  • core: ensure base properties in STI entities won't be ignored when overridden in one child (b31ffec), closes #6957

  • core: ensure original entity data are in correct shape after merging (7a30cca), closes #6951

  • core: rehydrate nullable to-one properties that were discarded via filters with select-in strategy (3d58538), closes #6460

  • core: support falsy values in scalar references

  • core: support type detection on classes with dots in their names like Temporal.Instant (8cca4a8), closes #6953

  • postgres: allow executing schema queries via knex in migrations (5196f24), closes #6949

  • reflection: support string literal properties

Features

  • core: allow control over relation filters in entity definition (#6959) (28a7e44), closes #6457

  • core: allow defining filters on nullable relations as strict (#6952) (1dae6cf), closes #6784 #6943 #6784

  • core: allow disabling filters on relations (7798e57), closes #6457

  • core: support private properties with get/set accessors (#6967) (659ca93), closes #6932

  • entity-generator: allow generating enums as type or JS dictionary (#6956) (ccf24df), closes #6457

  • entity-generator: support generating defineEntity() definitions

  • entity-generator: support native postgres enums

  • knex: reexport raw helper that supports QueryBuilder and Knex.QueryBuilder (#6955) (897cc7f), closes #6751 #6782

  • postgres: skip left joined relations from pessimistic locks automatically (ffb71a1), closes #6412

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.