Skip to content

v7.0.0-alpha.11

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Apr 10:31
· 1400 commits to v7 since this release

7.0.0-alpha.11 (2022-04-15)

Bug Fixes

Features

  • add isModelStatic, isSameInitialModel (#14360) (07b95dd)
  • Add Op.notStartsWith, Op.notEndsWith and Op.notSubstring (#14376) (1261e37)
  • add Model.{getInitialModel,withoutScope}, rename .{schema,scope} (#14337) (338766b)
  • block access to sequelize's internals (#14352) (f1774ec)
  • deprecate accessing DataTypes directly on Sequelize class (#14373) (4bbd4fb)
  • merge scope where conditions using the and operator (#14110) (872d47d)
  • reserve ::, -> syntax in attribute names (#14181) (ed7b03b)
  • simplify withSchema API (#14359) (e8b37c2)
  • stop testing against TypeScript < 4.4 (#14188) (66fd55e)
  • types: infer nullable creation attributes as optional (#14147) (b8bce31)
  • types: make Model.init aware of pre-configured foreign keys (#14148) (a23fcab)
  • use native Error#cause in Sequelize errors (#14318) (bfab15d)

BREAKING CHANGES

  • dropped support for node 12
  • :: & -> cannot be used in attribute names anymore (see out upgrade-to-v7 guide for more information)
  • the where property of a scope is now merged using Op.and