@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
5.9.8 is the newest release of 5.x.
In short
5 new7 fixed
Security
2 advisories affect 5.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: ensure correct cached value in
loadCountquery-builder: fix calling
qb.count('id', true).getCount()(a97324a), closes #3182query-builder: fix processing of custom types in explicitly aliased queries (db137a6), closes #3172
schema: do not consider autoincrement columns as primary automatically (088afdb), closes #3187
ts-morph: use module: 'node16' for reflection (024d9d9), closes #3168
Typing detection with typescript 4.7 node16
Features
core: automatically discover target embeddables and relationships
entity-generator: allow generating bidirectional relations (8b93400), closes #3181
entity-generator: allow generating identified references
knex: allow reusing existing knex client via
driverOptions(c169eda), closes #3167schema: add logging to schema comparator
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.