Packages

@mikro-orm/core

7.2.11 · 20 Nov 2026MIT1.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.3.0

13 Nov 2020Where it was published

4.5.10 is the newest release of 4.x.

In short

9 new21 fixed2 internal

Security

2 advisories affect 4.3.0; 6.6.10 fixes them

Release note

Bug Fixes

  • cli: add missing peer dependencies

  • core: always check remove stack when cascade persisting (a9a1bee), closes #1003

  • core: do not override child class properties

  • core: ensure correct grouping and commit order for STI (8b77525), closes #845

  • core: ensure correct handling of empty arrays

  • core: ensure correct handling of empty arrays

  • core: ensure we store the right value for bigint PKs (7d7a1c9), closes #1038

  • core: fix cascading when assigning collections (d40fcfa), closes #1048

  • core: pin dependencies (0f3a8e5), closes #961

  • discovery: allow using absolute paths in entities (584854c), closes #1073

  • mongo: do not create collections for embeddables (a0cc877), closes #1040

  • schema: do not add unique constraint to PKs (a7da03d), closes #1064

  • schema: ensure we do not ignore some columns (5d7dfc1), closes #1009

  • schema: fix diffing FKs in MySQL 8

  • schema: pass entity name to joinKeyColumnName() (fe4b7bd), closes #1026

  • sql: allow using dot inside custom order by expression (11e8c56), closes #1067

  • sql: convert custom types at query builder level

  • sql: do not batch update unique properties (87b722a), closes #1025

  • sql: fix populating M:N via joined strategy with conditions (7113827), closes #1043

  • sql: implement diffing of simple scalar indexes (dc81ef0), closes #957

  • sql: inline array parameters when formatting queries (a21735f), closes #1021

  • sql: interpolate ?? as identifier (a3d4c09), closes #983

  • sql: take snapshots of collections populated via joined strategy (5f3288a), closes #1041

  • validation: don't validate inherited STI props (#998) (63d1f57), closes #997

Features

  • core: allow calling Collection.set() on not initialized collections (1d0bb85), closes #1048

  • core: allow extending embeddables (#1051) (89d3250), closes #1049

  • core: allow mapping null to undefined optionally (55de84e), closes #1019

  • core: allow using multiple ORM instances with RequestContext (e11040d), closes #872

  • core: maintain transaction context automatically

  • count: initial implementation of loadCount (#955) (3371415), closes #949

  • query-builder: allow mapping of complex joined results (#988) (60dd2d8), closes #932

  • release: add automatic nightly releases (7f8a10c), closes #339

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.