Bug Fixes
- add missing
enumName
support for EntitySchema (#9024) (676fd1b) - add missing connect call on RedisQueryResultCache connect (#8894) (7dfb69f)
- add SET TRANSACTION AUTOCOMMIT DDL statements (SAP HANA) (#9020) (cac648e)
- call dataSource.destroy() only on initialized dataSource in CLI commands (#9146) (a100a7a)
- expo infinite loop on SAVEPOINT (#8984) (ec23922)
- fixes recursive document to entity attributes mapping (#9050) (40155d6), closes #9049
- log command error prior to calling destroy (#9135) (bf17381)
- make soft-remove and recover events importable from index (#9110) (e296126), closes #9108
- migration successful now displays name of the migration file (#8904) (49cbe23)
- release newly created runner when no runner provided in DbQueryResultCache (#8969) (ec05f1d), closes #4866
- resolve cli init peer dependency issues (#8977) (f7578d4), closes #8975
- resolve ESM module declaration file correctly (#9097) (506133e)
- support for TypeScript 4.8 (#9106) (d924b70), closes /github.com/microsoft/TypeScript/issues/49461#issuecomment-1154443477
- update mssql peerDependency (#8887) (9adab34)
- wrong entity transform of relation id when referenced column is a primary key (#8959) (6e888dd)
Features
- add
for_key_share
("FOR KEY SHARE") lock mode for postgres driver (#8879) (4687be8), closes #8878 - add nativeBinding option to better-sqlite3 driver (#9157) (bcdddc3)
- add spanner as a db option for the init command (#9121) (e61cade)
- allow explicitly named primary keys, foreign keys, and indices (#8900) (78df84c), closes #1355
- Cloud Spanner support (#8730) (62518ae)
- fix issues with generated columns and add support in other drivers (#8806) (0418ebc), closes #8761
- implement support for relationids in entity schemas (#9129) (e24cced)
- support TS 4.7+ node16/nodenext module mode (#9043) (862a402)
- upgrade ioredis to v5 (#8997) (723f1e5)