@mikro-orm/mysql
7.2.11 · 20 Nov 2026MIT388.9k / weekRepositoryHomepagenpmAtom feed
7.2.11 is the newest release of 7.x.
In short
10 faster15 fixed
Release note
Bug Fixes
cli: resolve
MIKRO_ORM_TYPE=mongoto the mongo drivercore: accept numeric strings in
limitandoffsetoptionscore: do not mark refreshed m:n items with custom types as dirty (#8742) (aabaa17), closes #8739
core: do not queue auto-flush when loading 1:m collections (#8699) (263b7ed), closes #6982
core: hydrate formulas typed as number to numbers (#8711) (fb1ad05), closes #8694
core: keep the CLI's dynamicImportProvider when re-creating Configuration
core: keep trailing empty strings in string arrays on non-postgres platforms (#8720) (de1ad6f), closes #8719
core: keep unflushed collection changes in
em.populate()(#8692) (149a957), closes #8690core: match upserted rows by all onConflictFields (#8696) (43943c2), closes #8695 #8294
core: snapshot merged
targetKeyand polymorphic to-one relations correctly (#8715) (faf7597), closes #8661mssql: do not mark string properties with a custom column type as dirty after load (#8747) (b5adf83), closes #8740
mssql: map date results of joined relations to strings (#8734) (f93338d), closes #8540 #8733
mssql: validate pooled connections without a query (#8743) (5ca2b66), closes #8741
postgres: quote array elements that postgres would read differently (#8748) (fab35eb), closes #8730
postgres: quote the sequence name in setval and nextval when adding autoincrement
Performance Improvements
core: avoid per-entity sets and repeated property lookups in
toObject()core: cut per-entity allocations when computing change sets
core: mark collections and references on the prototype
core: reset wrapper fields instead of deleting them
core: skip
ensurePropagation()for entities without bidirectional to-one relations (#8702) (137a009), closes #8671core: skip the merge cascade for entities freshly mapped via
em.map()core: speed up flushing removed entities (#8709) (e9012dc), closes #8698
core: trim per-row overhead when reading entities
core: walk only props with
onUpdatehooks when computing update change setssql: precompute joined column aliases and stop deleting them per row
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.