7.0.0-alpha.14 (2022-06-15)
Bug Fixes
- add compatibility with TypeScript's
exactOptionalPropertyTypes
option (#14577) (00ced18) - resolve various db2 issues. See PR for details (#14453) (5055357)
Features
- Always add LIMIT 1 to
findOne
queries (#14549) (9950b4b) - fix multiple bugs related to
sync()
and indexes. AddModel.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 indexes are named have been fixed, and therefore these index names have changed