Release of Sequelize v7.0.0-alpha.14
Published on June 15, 2022 by Sascha Depold
7.0.0-alpha.14 (2022-06-15)
Bug Fixes
- add compatibility with TypeScript's
exactOptionalPropertyTypes
option (#14577) (00ced18)
- resolve various db2 issues (#14453) (5055357)
Features
- Always add LIMIT 1 to
findOne
queries (#14549) (9950b4b)
- fix multiple bugs related to
sync()
and indexes. Add Model.getIndexes()
(#14619) (f5c9a90)
- improve
sequelize.query
stacktraces (#14553) (ba4d1b1)
- support cyclic foreign keys (#14572) (1e110c5)
BREAKING CHANGES
- DB2 will not force all indexes to be unique anymore
- For transparency, DB2 will not automatically mark columns that are part of an index as not-null anymore. You need to mark them as non-null manually.
- Bugs in how index names have been fixed, and therefore these index names have changed
exactOptionalPropertyTypes
option (#14577) (00ced18)findOne
queries (#14549) (9950b4b)sync()
and indexes. Add Model.getIndexes()
(#14619) (f5c9a90)sequelize.query
stacktraces (#14553) (ba4d1b1)