@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
6.6.19 is the newest release of 6.x.
In short
1 new1 faster6 fixed
Security
2 advisories affect 6.5.9; 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: add some missing options to
defineEntityrelation builderscore: ensure correct state of custom typed data after merging to existing results (5907da0), closes #6926
core: fix extra updates caused by
em.refresh(3d12a8b), closes #6940core: support auto-discovery of relation targets with
defineEntitycore: support custom classes in
defineEntityrelation property builderscore: update
extendstype indefineEntityandEntitySchemapostgres: do not create non-autoincrement simple PKs twice
Performance Improvements
core: improve performance of
defineEntity
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.