Packages

@mikro-orm/core

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

Your version

4.5.0

21 Mar 2021Where it was published

4.5.10 is the newest release of 4.x.

In short

9 new8 fixed

Security

2 advisories affect 4.5.0; 6.6.10 fixes them

Release note

Bug Fixes

  • core: apply filters when populating M:N relations (cd8330a), closes #1232

  • core: do not process knex.ref() via custom types (ba2ee70), closes #1538

  • core: do not update entity state when cascade merging (6c74109), closes #1523

  • core: expose filters in some repository methods (a1e1553), closes #1236

  • core: fix auto-joining with $not operator (8071fd0), closes #1537

  • core: support operators in json property queries (cb5e715), closes #1487

  • sqlite: ensure booleans are hydrated as booleans (4e36df2), closes #1553

  • sqlite: fix calling em.find() from hooks (fec3285), closes #1503

Features

  • cli: allow mikro-orm config to return Promise

  • core: add Collection.matching() method to allow pagination (#1502) (1ad3448), closes #334

  • core: add close method to CacheAdapter interface (2795b5a), closes #1509

  • core: allow updating nested 1:1 and m:1 references with EntityAssigner

  • core: infer configuration from environment variables (#1498) (1ff07a7), closes #1472

  • core: support custom types in embeddables (53305d3), closes #1519

  • core: support embeddable arrays (#1496) (57b605c), closes #1369

  • reflection: support enum arrays and custom types (dc65527), closes #1497

  • validation: validate correct reference types (381b5b9), closes #1568

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.