Packages

@mikro-orm/core

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

Your version

4.2.0

18 Oct 2020Where it was published

4.5.10 is the newest release of 4.x.

In short

6 new6 fixed

Security

2 advisories affect 4.2.0; 6.6.10 fixes them

Release note

Bug Fixes

  • core: fix propagation of conditions with operators

  • core: reset the working state of UoW after failures

  • core: update umzug types to 2.3 (4668e78), closes #926

  • core: use entity ctors also when all PKs are provided in em.create() (b45b60b), closes #924

  • schema: fix automatic discriminator map values in STI (7cd3c6f), closes #923

  • schema: improve column type equality check

Features

  • core: add basic (in-memory) result caching

  • core: add native support for enum arrays (9053450), closes #476

  • core: allow defining multiple entities in single file (e3ab336), closes #922

  • core: allow mapping m:1/1:1 relations to PK (#921) (894f17e), closes #750

  • core: allow storing embeddables as objects (#927) (ba881e6), closes #906

  • serialization: rework handling of cycles

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.