TypeORM v0.3.11 Release Notes
Release Date: 2022-12-03 // about 2 years ago-
🛠 Fixes
- boolean parameter escape in SQLiteDriver (#9400) (4a36d0e), closes #1981
- cacheId not used when loading relations with take (#9469) (93e6b3d)
- correctly return insertId for react-native (#9554) (97fae63)
- 👍 disable transactionSupport option for CordovaDriver (#9391) (53fad8f)
- explicitly define property for entity relation as enumerable (#9437) (85fa9c6), closes #6631
- 🛠 fix ormUtils prototype check crashing on null prototype (#9517) (19536ed)
- 🛠 fixed outdated
init
command (#9422) (0984307) - left instead of inner join for where or + optional relations (#9516) (d490793)
- Mark array arguments to find operators as read-only (#9474) (6eb674b)
- pass fake flag to undoLastMigration (#9562) (2458ac7), closes #9561
- resolve issue with migrations and unsigned int columns in aurora-data-api (#9478) (38e0eff), closes #9477
- resolve nameless TableForeign on drop foreign key (#9460) (efb4168), closes #9432
- 📇 synchronize with typeorm_metadata table only if needed (#9175) (cdabaa3), closes #9173 #9173 #9173
- the mpath is incorrect when the parent of the tree entity is null (#9535) (658604d)
- typings for Repository.extend function (#9396) (f07fb2c)
🔋 Features
- "And" operator in FindOptions (#9489) (fc3b4f8), closes #3113
- ➕ add id in migrate:show command logging (#9475) (71efa8e)
- ➕ add Open DB Flags and URI DB Name in SQLite (#9468) (73148c9)
- ➕ add parseInt8 option to postgres driver. Closes #9341 (#9435) (2473ff0)
- ➕ Add synchronize to @JoinTable (#9442) (93e14a9), closes #3443
- ➕ added opaque types support over primitives in find-options (#9560) (4ec04fa)
- 👍 allow for partial index conditions for on conflict statments in postgres (#8971) (2c54381)
- 👍 allow peerDependency of better-sqlite3 version 8.x.x (#9564) (26107e6), closes #9563
- 👍 allow per-migration control over transaction behavior (#9459) (6ba48bd), closes #7087
- implement exists query method (#9303) (598e269), closes #2815
- 👍 index support for materialized views of PostgreSQL (#9414) (1cb738a)
- migration:generate successful exit the process with zero code (#9288) (f215e2d)
- 🆕 new virtual column decorator (#9339) (d305e5f), closes #9323 typeorm#9323 typeorm#9323 typeorm#9323 typeorm#9323
- upsert options conflictPaths as Entity keys (#9365) (b282428)
Previous changes from v0.3.10
-
🐛 Bug Fixes
- "Cannot commit, no transaction is active" error in sql.js (#9234) (749809a), closes #9100
- ➕ add missing support for primaryKeyConstraintName property in EntitySchema (cc63961)
- malformed query when selecting deeply nested embedded entities (#9273) (83f7b88)
- prototype pollution issue (e3aac27)
- typescript 4.8 type issues #9331 (#9357) (a1960e1)
- ⚡️ Update RelationIdLoader to use DriverUtils.getAlias (#9380) (a917d65), closes #9379
🔋 Features