@mikro-orm/core
7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @mikro-orm/core From 6.1.11 to 6.6.10
63 releases in betweennotes for 27
Counted from 27 of 63 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.11
- 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
- Fixed
- Fixed
core: make entity prototype
toJSONnon-enumerable to prevent data leaks - Fixed
- Fixed
- Fixed
- Fixed
- Fixed
- Fixed
core: fix double processing of JSON properties when reloading an entity
- Fixed
core: preserve embeddable properties in
toPOJOregardless of partial loading hints - Fixed
- New
core: add WHERE clause support to upsert via
onConflictWhereoption - Fixed
- Fixed
core: ignore empty conditions produced by filters
- Fixed
- New
- Fixed
- Fixed
core: ensure no collisions in polymorphic embeddables with shadowed properties
- Fixed
- Fixed
core: respect
excludeoption on eager properties - Fixed
- Fixed
core: use less strict
repositoryoption type to fix issues withdefineEntityand cycles
- 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
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.