@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
1 new2 faster7 fixed
Security
2 advisories affect 5.2.1; 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 reloading version values with custom types on PKs (ebd7888), closes #3209
core: fix serialization of entities wrapped in POJOs (af4fadf), closes #3221
core: ignore
undefinedvalues during options merge (9e0f559), closes #3234core: prefer current schema for loading wild card pivot table entities (f40cafa), closes #3177
mongo: recreate indexes when they differ (60fc7f6), closes #3118
mongo: use
$unsetwhen property value isundefined(f059811), closes #3233mysql: handle mediumint PKs correctly (0bbbe5c), closes #3230
types: fix inference of optional PKs (424e0bb), closes #3230
Features
Performance Improvements
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.