@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @mikro-orm/core From 6.1.6 to 6.6.10
68 releases in betweennotes for 24
Counted from 24 of 68 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Deprecated6.6.2
Security
Fixes 2 advisories affecting 6.1.6
- 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
- 6.6.10
core: prevent prototype pollution in
Utils.merge
Release by release
- Security
core: prevent prototype pollution in
Utils.merge - Fixed
- Fixed
core: tighten query construction validation
- Fixed
- Security
6.6.6 – 6.6.94 releases, no release note
- New
- Fixed
- Fixed
core: ensure
populatehint won't includeundefinedfor optional relations - Fixed
- Fixed
core: normalize
populateoption inCollection.matching()for M:N relations - Fixed
- Fixed
- Fixed
- Fixed
core: fix applying filters on nested relation conditions
- Fixed
core: fix processing filters on to-many relations
- Fixed
core: respect
orphanRemovalon 1:1 relations when inverse side is a PK - Fixed
core: support wildcard
wrap(e).populate()hints on type level - Fixed
mongo: fix field name conversion when querying object embedded entities
- Fixed
postres: fix casting of object embedded relation properties
- Fixed
- Fixed
core: don't reset entity identifiers when using
assignon entity references - Fixed
core: handle custom types properly in
em.refresh - Fixed
defineEntity: avoid circular type inference in meta
- Fixed
- Fixed
schema: ensure
SchemaGeneratorrespectsskipTablesoption when diffing a schema
- Deprecated
core: deprecate some EM and MikroORM methods
- New
- New
- Fixed
- Fixed
- Deprecated
- New
core: simplify processing of scalars that use simple ORM provided type classes
- Fixed
core: try to infer property types regardless of
inferDefaultValuesoption - Fixed
- Fixed
- Fixed
- Fixed
- New
- New
- New
- New
- New
entity-generator: support generating
defineEntity()definitions
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.