@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
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
- CriticalMikroORM is vulnerable to SQL Injection via specially crafted objectGHSA-gwhv-j974-6fxm · 29 Mar 2026Fixed in 6.6.10
- HighMikroORM has Prototype Pollution in Utils.mergeGHSA-qpfv-44f3-qqx6 · 29 Mar 2026Fixed in 6.6.10
Release note
Bug Fixes
core: fix propagation of conditions with operators
core: reset the working state of UoW after failures
core: use entity ctors also when all PKs are provided in
em.create()(b45b60b), closes #924schema: 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.