@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
4 new10 fixed
Security
2 advisories affect 5.0.3; 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: do not trigger global context validation from repositories (f651865), closes #2778
core: fix processing of
onUpdateproperties (9cf454e), closes #2781core: fix processing of multiple
onUpdateproperties on one entity (4f0e4cc), closes #2784core: hydrate not-null embeddable prop even with all null values (09aee05), closes #2774
core: register entity to identity map as early as possible (d8f3613), closes #2777
core: respect
onDelete: cascadewhen propagating removal (f1e8578), closes #2703core: revert to
require()when getting ORM version to fix webpack support (6cfb526), closes #2799migrations: generate snapshot too when using
--initial(4857be7), closes #2800postgres: consider int8 as numeric when inferring autoincrement value (64bc99d), closes #2791
sqlite: respect
autoincrement: falsein schema diffing (b39b6ad), closes #2800typing: fix populate hints on collections where both type args are provided (e39ef5b), closes #2771
Features
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.