yarn @mikro-orm/core 6.6.0
v6.6.0

latest release: 6.6.1-dev.0
14 hours ago

6.6.0 (2025-11-11)

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 (#6942) (a02c2a8)
  • 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 (#6960) (148ac75)

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 (#6954) (d523f13)
  • entity-generator: support native postgres enums (#6958) (746e4bf)
  • 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

Don't miss a new core release

NewReleases is sending notifications on new releases.