What mikro-orm/mikro-orm shipped
Generated by FoxPlug from public activity — not affiliated with Mikro-orm.
Week of September 14, 2026
What shipped
- Released v7.2.1 with fixes for property name escaping in generated code, populated relations after cache hits, and legacy MSSQL column type mapping. Release
- Fixed remaining positions where property names were not properly escaped in compiled hydrators and comparators, following up on a previous incomplete fix. Pull request #8289
- Added support for legacy MSSQL `ntext` and `image` column types, which previously fell back to unknown type instead of mapping to string. Pull request #8288
- Fixed properties marked with `returning: true` on INSERT statements to properly sync managed entities with their persisted database values after flush. Pull request #8277
- Fixed raw query parameters containing special characters like question marks being incorrectly inlined, causing knex parsing errors. Pull request #8281
- Fixed returning clause being incorrectly emitted inside update sub-queries when native updates traverse relations. Pull request #8283
- Fixed filtered many-to-many references being incorrectly modified during persistence operations. Pull request #8273
Why it matters
This release addresses critical bugs in query execution, type mapping, and entity synchronization that could cause data inconsistency or incorrect query results. The fixes ensure properties are properly escaped in generated code, returning clauses work correctly across different query types, and legacy database column types are handled properly.
Changelog entry
- 7.2.1 (2026-09-19): Escape remaining property names in generated code, keep populated relations clean after result cache hits, map legacy ntext and image column types in MSSQL Release
- core: escape property names in ObjectHydrator createReference options and inline embeddable child names Pull request #8289
- mssql: map legacy ntext and image column types instead of falling back to UnknownType Pull request #8288
- sql: respect property returning hints on INSERT statements to maintain entity synchronization Pull request #8277
- query-builder: do not inline raw query parameters, pass them untouched to knex Pull request #8281
- sql: do not emit returning clause inside update sub-query when nativeUpdate traverses relations Pull request #8283
- sql: preserve filtered many-to-many references during persistence Pull request #8273
v7.2.1 is out. Fixes for property escaping in generated code, MSSQL legacy column type mapping, returning clause handling, and many-to-many reference preservation.
v7.2.1 released with several important fixes: property names are now properly escaped in generated hydrators and comparators, MSSQL legacy ntext and image types are correctly mapped, INSERT returning clauses properly sync entities with database values, raw query parameters with special characters no longer cause parsing errors, and filtered many-to-many references are preserved correctly.