@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
2 new11 fixed
Security
2 advisories affect 5.1.4; 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: allow asterisk in
FindOptions.fieldson TS level (43e1d0b), closes #3127core: fix aliasing of formula properties in complex conditions
core: improve type of
em.getContext()(158f077), closes #3120core: improve validation of wrong entity references
core: wrap relations in
Referencewrapper when assigning entity instance (97f1f59), closes #3092mongo: support queries with mongo specific operators on embeddables
postgres: do not try to create schema for migrations when it exists (d6af811), closes #3106
postgres: fix resolving knex when other version is explicitly installed (41f5665), closes #3129
postgres: ignore schemas prefixed with
crdb_too (049fea3), closes #3021schema: always ignore PostGIS schemas when diffing
ts-morph: do not mark properties as enums automatically based on type (c3923df), closes #3099
Features
core: add
strictoption toem.findOneOrFail()postgres: allow ignoring specified schemas
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.