@mikro-orm/mariadb
7.2.11 · 20 Nov 2026MIT316.2k / weekRepositoryHomepagenpmAtom feed
In short
2 new5 faster20 fixed
Release note
Bug Fixes
core: allow putting not managed entities to remove stack (0edb72e), closes #2395
core: defer cascading of persist operation (7d18310), closes #2161
core: do not override internal EM instance when forking EM (fb0abf9), closes #2342
core: do not save entity state in
mergewhen it's not initialized (bdd7452), closes #1927core: fix assigning to object property without value (aca56e1), closes #2492
core: fix collection state when
forceEntityConstructoris used (53d4c39), closes #2406 #2409core: fix reflection of enums in babel (05dee1d), closes #2198
core: fix serialization of self referencing collections (fdbe4f4), closes #2059
core: rehydrate custom types when using metadata cache (3ea37a6), closes #2489
core: remove entity from its bidirectional relations after delete (c754a62), closes #2238
embeddables: add missing serialization options to
@Embedded()(aca6d08), closes #2464embeddables: ensure order of discovery does not matter for embeddables (e3f9dbc), closes #2242
embeddables: fix validating nullable object embeddables (d60dded), closes #2233
mongo: allow using
pool.min/maxoptions in mongo driver (830179d), closes #2228mongo: do not use separate update queries for M:N collections if not needed (f6383a0), closes #2483
postgres: add extra array operators
reflection: relative paths not stripped completely
sti: fix prototype of child entity after it gets loaded (e78942a), closes #2493 #2364
validation: validate missing 1:m mappedBy key in factory (7ef40c0), closes #2393
Update mysql2 dependency to 2.3.2
Performance Improvements
core: define
Referenceproperties on prototypecore: do not redefine
Collectionproperties as non-enumerable (523addd), closes #2543core: reuse EntityComparator on fork()
core: use shared memory for cycles when computing change sets (c12ff4b), closes #2379
core: various small performance improvements in UoW
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.