Skip to content

Releases: sequelize/sequelize

v7.0.0-alpha.21

19 Jan 07:59
Compare
Choose a tag to compare
v7.0.0-alpha.21 Pre-release
Pre-release

7.0.0-alpha.21 (2023-01-19)

Features

  • feat: improve typedoc & remove Optional, Error exports (#15495)
  • feat: move validator decorators to @sequelize/validator.js (#15561)
  • feat: rollback workaround #13347, improve stack traces using async stack traces instead (#15559)

Breaking changes

  • The Optional type has been removed. Use a type library like type-fest's SetOptional if you need this type
  • Removed Sequelize.Error and the Error export. Use the BaseError export instead.

v7.0.0-alpha.20

22 Dec 08:19
3fdfb14
Compare
Choose a tag to compare
v7.0.0-alpha.20 Pre-release
Pre-release

7.0.0-alpha.20 (2022-12-22)

Bug Fixes

Features

  • add @Index, createIndexDecorator (#15482) (ab9aaba)
  • add @AllowNull, @AutoIncrement, @Comment, @Default, @PrimaryKey, and validation decorators (#15384) (08eb398)
  • add @Attribute & @Table decorators (#15336) (fb8603b)
  • add @Unique decorator, support specifying multiple unique indexes on the same attribute (#15342) (43bca57)
  • add association decorators (#15483) (3770827)
  • add model hook decorators (#15333) (bd037c8)
  • add new postgres JSONB operators ?| and ?& (#15073) (98dc4c2)
  • add support for add/drop column IF [NOT] EXISTS for mssql and mariadb (#15261) (096ed3a)
  • added support for index include (#14900) (dacc806)
  • allow using calculations in upsert on duplicate key by using literal values instead of VALUES() in mysql & mariadb (#14437) (9c2ae3c)
  • improved error reporting on associations (#14901) (8e3c626), closes #14161
  • Migrate createSchema() to TypeScript (#15339) (a3d164f)
  • migrate hooks to TypeScript (#15131) (9cd8d89)
  • migrate model definitions to TypeScript (#15431) (f57e5a0)
  • postgres: add support for lock_timeout [#15345] (#15347) (5e7cbe6)
  • postgres: support for ADD COLUMN IF NOT EXISTS and DROP COLUMN IF EXISTS (#15119) (76cc97f)
  • remove Utils export (#15305) (a4f8e62)
  • rename ALS back to CLS (#15427) (766b2ea)
  • replace CLS with ALS, enable ALS by default, discourage unmanaged transactions (#15292) (4cd43a4)
  • restrict instance methods if no primary key (#15108) (3095d99)
  • rewrite Data Types (#14505) (68b64f8)
  • throw if accessing databaseVersion before it is loaded (#15346) (151a458)
  • types: use retry-as-promised types for retry options to match documentation (#15400) (f2574ae)

BREAKING CHANGES

Read more

v6.28.0

20 Dec 10:19
fd4afa6
Compare
Choose a tag to compare

6.28.0 (2022-12-20)

Features

  • types: use retry-as-promised types for retry options to match documentation (#15484) (fd4afa6)

v6.27.0

12 Dec 09:35
1247c01
Compare
Choose a tag to compare

6.27.0 (2022-12-12)

Features

v6.26.0

29 Nov 11:43
94beace
Compare
Choose a tag to compare

6.26.0 (2022-11-29)

Features

v6.25.8

22 Nov 11:19
7885000
Compare
Choose a tag to compare

6.25.8 (2022-11-22)

Bug Fixes

v6.25.7

19 Nov 16:30
bc39fd6
Compare
Choose a tag to compare

6.25.7 (2022-11-19)

Bug Fixes

  • fix parameters not being replaced when after $$ strings (#15307) (bc39fd6)

v6.25.6

15 Nov 14:26
a205765
Compare
Choose a tag to compare

6.25.6 (2022-11-15)

Bug Fixes

v6.25.5

07 Nov 21:48
67e69cd
Compare
Choose a tag to compare

6.25.5 (2022-11-07)

Bug Fixes

v6.25.4

05 Nov 23:19
00c6da3
Compare
Choose a tag to compare

6.25.4 (2022-11-05)

Bug Fixes

  • types: add instance.dataValues property to model.d.ts (#15240) (00c6da3)