7.2.7 (2026-11-04)
Bug Fixes
- core: don't convert a sub-query value with the property's custom type (#8574) (6843a82), closes #8572
- core: don't treat record types as
LazyRef(#8564) (0aeceac) - core: keep class instances by reference when merging the config (#8496) (d11862d), closes #8495
- core: respect the entity default
orderByinem.findByCursor()(#8503) (8d789d8), closes #7133 - core: use distinct pivot columns for M:N within one STI hierarchy (#8592) (6b5a605)
- postgres: compare interval literals in generated expressions by value (#8585) (e19482b), closes #8482 #8481
- postgres: keep element type modifiers when introspecting array columns (#8498) (08a55c7), closes #8497
- postgres: map restrict violation errors to
ForeignKeyConstraintViolationException(#8558) (4d9178f) - schema: reject combining
deferModewithwhereon unique indexes (#8514) (1bc4d12), closes #8512 - sql: convert driver exceptions on the QueryBuilder read path (#8584) (fa08c33), closes #8577
- sql: emit valid SQL for
$in/$ninon array columns (#8502) (2ab63ff), closes #8454 - sql: handle
$notnested under collection properties (#8471) (fee6fc5), closes #8468 - sqlite: fail fast when an entity declares a schema that is not attached (#8583) (1cbfa26)
- sqlite: keep child rows when a migration rebuilds a table (#8510) (0a3aa8a), closes #6300 #6358
- sqlite: read the definition of the first column when introspecting a table (#8518) (b0f843e)
- sql: keep aliased FK columns when they match a joined relation name (#8573) (0175b57), closes #8571
- sql: resolve inherited columns in TPT child formulas to the parent alias (#8506) (e02bb16), closes #8492
- sql: return one primary key per row from em.insertMany (#8582) (0d3333a), closes #8575
Features
- core: embed a query builder passed as a raw fragment param as a sub-query (#8590) (64763fd), closes #8570