7.1.0 (2026-05-20)
Bug Fixes
- core: coerce ISO date strings to
Dateinem.assign()(#7740) (0940a5f), closes #7737 - core: skip M:N inverse scrub for STI siblings that can't reference the entity (#7759) (6971c8a)
- core: treat inlined embeddables as loaded when their leaves are (#7758) (e89dab0)
- mongo: clean up inlined pivot on em.remove when owning side is populated (#7755) (4c5f03a), closes #7752
- mongo: create collections before ensuring indexes in
create()(#7745) (531bc6b) - mongo: throw on em.remove of inlined-pivot M:N target with uninitialized owning side (#7752) (231f84c), closes #7750
- sql: infer scalar array properties as columns in Kysely types (#7753) (111d69d), closes #7751
- sql: wrap raw subqueries with parens inside INSERT VALUES (#7754) (d379880), closes #7749
Features
- cli: add
discovery:exportcommand (#7335) (e38f5c4), closes #7323 #7323 - cli: add
migration:logandmigration:unlogcommands (#7347) (6cf1045), closes #5390 - cli: emit typed
EntityManageralias fromdiscovery:export(#7756) (fd06439) - core: accept enum references directly in
items(#7606) (3d67892) - core: add
discriminatoroption and column-name override (#7748) (5390ce8), closes #7121 - core: add
em.clone()andqb.insertFrom()for server-side row cloning (#7365) (13ca566), closes #5820 - core: add
em.countBy()for grouped counting (#7372) (c4d2e99) - core: add
fieldswhitelist option toserialize()(#7517) (6ea6d64), closes #7507 - core: add
initNullablePropertiesconfig option (#7554) (03a3122), closes #7551 - core: add
LazyRef<T>,Loadablemixin, andunref()escape hatch (#7587) (221c2fc) - core: add
whereoption for partial indexes and unique constraints (#7593) (78d00e3) - core: add a
chunkSizeoption to streams (#7520) (13c61fa) - core: add column-level
collationsupport for SQL drivers (#7615) (12e3a73), closes #4286 - core: add dataloader support for
Collection.loadCount()(#7373) (120189c), closes #7372 #6425 - core: add type-safe
usingoption for index hints (#7375) (3337b58), closes #7175 - core: auto-generated classes inherit from parent with defineEntity extends (#7404) (94450ef)
- core: expose query cancellation via
AbortSignal(#7629) (1a8379c) - core: per-parent limiting for populated collections (#7370) (6ff01e4), closes #1059
- core: support
arrayoption on scalar properties (#7378) (b54b756), closes #7363 - core: support stored procedures and functions (#7693) (9bbbb8b), closes #5253
- core: union-target polymorphic M:N relations (#7569) (dfbe1c2), closes #7564 #7564
- migrations: add migration:rollup command (#7468) (8de2c92), closes #3633
- migrations: support runtime schema context (#7597) (9b00229), closes #3319 #4928
- pglite: add PGlite driver (#7622) (01f18c5)
- postgresql: add support for table partitioning (#7497) (63d0977), closes #6944 #6944
- schema: add database trigger support (#7379) (da4010d), closes #5053
- sql: bind
getKysely()to the current transaction context (#7701) (344be12), closes #7679