Skip to content

v1.9.12

Choose a tag to compare

@github-actions github-actions released this 26 Nov 22:43
· 156 commits to main since this release
b82355e

Fixed

  • Validator (also Sequelize.Validator and sequelize.Validator) is a copy of validator.js with the v6 additions and extend(), and validators registered with it work in validate of attributes. Differential test in tests/compat/validator-extend.test.ts. (#253)
  • Model.scope('name') with a function scope calls it without arguments (it threw). Differential test in tests/compat/scope-function-by-name.test.ts. (#258)
  • A nested create with a belongsTo parent and a NOT NULL foreign key succeeds (it failed with "notNull Violation" before the parent was saved). Differential test in tests/compat/belongs-to-include-not-null.test.ts. (#274)