7.2.10 (2026-11-16)
Bug Fixes
- cli: resolve
MIKRO_ORM_TYPE=mongoto the mongo driver (#8723) (daf5d62) - core: accept numeric strings in
limitandoffsetoptions (#8697) (8693316) - core: 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 (#8714) (f54d8b6)
- 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 #8690 - core: match upserted rows by all onConflictFields (#8696) (43943c2), closes #8695 #8294
- core: snapshot merged
targetKeyand polymorphic to-one relations correctly (#8715) (faf7597), closes #8661 - mssql: 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 (#8731) (06d42e4)
Performance Improvements
- core: avoid per-entity sets and repeated property lookups in
toObject()(#8701) (4dd6f2c) - core: cut per-entity allocations when computing change sets (#8707) (111ed44)
- core: mark collections and references on the prototype (#8700) (2e2b1a1)
- core: reset wrapper fields instead of deleting them (#8698) (90373ae)
- core: skip
ensurePropagation()for entities without bidirectional to-one relations (#8702) (137a009), closes #8671 - core: skip the merge cascade for entities freshly mapped via
em.map()(#8708) (5ab8e1d) - core: speed up flushing removed entities (#8709) (e9012dc), closes #8698
- core: trim per-row overhead when reading entities (#8710) (70777a3)
- core: walk only props with
onUpdatehooks when computing update change sets (#8718) (0599484) - sql: precompute joined column aliases and stop deleting them per row (#8704) (21d7c6f)