Skip to content

Releases: yujiosaka/sequelize-revision

v6.0.0

19 Jun 14:14
Compare
Choose a tag to compare

6.0.0 (2022-06-19)

Bug Fixes

  • change return type of defineModels into tuple (13417a2)

Features

  • define SequelizeRevisionOptions type (8c89fc3)
  • infer meta data attributes from options (a553817)
  • infer model types from options (b5c9f49)
  • re-export types from main file (7e4372f)
  • support useJsonDataType option (b2f6966)

BREAKING CHANGES

  • defineModels no longer returns object type.

v5.2.1

09 Jun 06:19
Compare
Choose a tag to compare

5.2.1 (2022-06-09)

Bug Fixes

v5.2.0

07 Jun 12:42
Compare
Choose a tag to compare

5.2.0 (2022-06-07)

Bug Fixes

  • associate models in constructor (c8f91f6)
  • rename userModelAttribute to userIdAttribute (ee25291)

Features

  • replaced defaultAttributes with revisionIdAttribute (cc26eb5)
  • return models synchronously (7aa3207)

v5.1.0

06 Jun 00:41
Compare
Choose a tag to compare

5.1.0 (2022-06-06)

Bug Fixes

  • stop exposing undocument options (20ba4ae)

Features

  • use debug module for logging (d426758)
  • use underscored attributes for timestamps (ee6fe21)

v5.0.2

31 May 01:54
Compare
Choose a tag to compare

5.0.2 (2022-05-31)

Bug Fixes

  • fix diff package missed in dependencies (86639e6)

v5.0.1

19 May 06:48
Compare
Choose a tag to compare

5.0.1 (2022-05-19)

Bug Fixes

  • remove default value from external key model definition (bf4dbc3)

v5.0.0

19 May 05:03
Compare
Choose a tag to compare

5.0.0 (2022-05-19)

Bug Fixes

  • remove default value from external key (e1364ef)

BREAKING CHANGES

  • default value is no longer set for external key for migrations

v4.0.0

13 Apr 18:03
Compare
Choose a tag to compare

4.0.0 (2022-04-13)

Bug Fixes

  • use INTEGER data type for documentId by default (8852a67)
  • use medium length TEXT data type for document and diff (8eff381)

Features

  • support changeTableName option (8bc7304)
  • support useJsonDataType option (6a16778)

Performance Improvements

  • use STRING data type for storing model (ed375ac)

BREAKING CHANGES

  • JSON data type is used by default unless you disable it

v3.1.0

12 Apr 10:43
Compare
Choose a tag to compare

3.1.0 (2022-04-12)

Bug Fixes

Features

  • make models accessible from the instance (eb94871)
  • support saving meta data (b61394a)

v3.0.2

11 Apr 23:47
Compare
Choose a tag to compare

3.0.2 (2022-04-11)

Bug Fixes

  • retry automate changelog (a87d1bf)