@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @mikro-orm/core From 5.5.3 to 7.2.11
190 releases in betweennotes for 43
Counted from 43 of 190 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking7.0.0
Security
Fixes 2 advisories affecting 5.5.3
- MikroORM is vulnerable to SQL Injection via specially crafted objectcritical · GHSA-gwhv-j974-6fxm
- MikroORM has Prototype Pollution in Utils.mergehigh · GHSA-qpfv-44f3-qqx6
Release by release
- New
core: compute populate child fields once per relation instead of per entity
- New
core: reassign collection indexes once when removing many items
- Fixed
core: do not replace entity methods with unknown keys in
assign() - Fixed
- New
- New
core: avoid per-entity sets and repeated property lookups in
toObject() - New
core: cut per-entity allocations when computing change sets
- New
core: mark collections and references on the prototype
- New
core: reset wrapper fields instead of deleting them
- New
- New
- Fixed
- Fixed
core: handle non-JSON query values in result cache and dataloader keys
- Fixed
core: include regexp and raw fragment params in result cache keys
- New
- New
- New
core: match serializer fields and populate paths by first segment
- Fixed
- New
core: avoid quadratic lookups in metadata discovery
- New
- Fixed
- Fixed
- New
- Fixed
- Fixed
- Fixed
- Fixed
core: order flush around relations to TPT subclasses
- New
- New
core: group inverse M:N children in one pass
- New
core: group reloaded rows by condition values in upsertMany
- Fixed
2 internal lines (docs, tests, tooling) left out.
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.