Skip to content

Releases: sequelize/sequelize

v3.19.0

01 Feb 08:06
Compare
Choose a tag to compare
  • [ADDED] Geography support for postgres
  • [FIXED] Migrations failed to add foreign key #966
  • [FIXED] Prevent race condition after transaction finished #5222
  • [FIXED] Fixed Instance.reload issues (#4844 and #4452)
  • [FIXED] Fix upsert when primary key contains .field (internal API change for queryInterface.upsert) #4755
  • [FIXED] Default value for defaultScope is now an empty object. This fixes calling .scope('defaultScope') when no scope is explicitly defined, see #5277

v3.18.0

21 Jan 09:10
Compare
Choose a tag to compare
  • [ADDED] Support silent: true in bulk update #5200
  • [ADDED] retry object now part of global settings and can be overridden per call. The default is 5 retries with a backoff function. retry object can be passed to options with max: 0 to turn off this behavior.
  • [ADDED] Sqlite now retries database queries that return SQL_BUSY as the status.
  • [ADDED] Add IF EXIST to postgres alter enum #4464
  • [FIXED] Postgres destroy with where fails on JSONB data #5092
  • [FIXED] hasMany.separate with foreign keys having field

v3.17.3

15 Jan 12:05
Compare
Choose a tag to compare
  • [FIXED] Regression with array values from security fix in 3.17.2

v3.17.2

15 Jan 08:29
Compare
Choose a tag to compare

v3.17.0

06 Jan 17:33
Compare
Choose a tag to compare
  • [CRITICAL] Fixed injection vulnerability for order/limit
  • [FIXED] MySQL throws error when null GEOMETRY data results in empty buffer #4953
  • [ADDED] Support for benchmarking the execution time for SQL queries #488

v3.16.0

05 Jan 08:01
Compare
Choose a tag to compare
  • [ADDED] PostgreSQL tsrange (Range of timestamp without time zone) data type support.
  • [ADDED] hasOne scope support #5113
  • [FIXED] attributes from multiple scopes does not merge #4856
  • [FIXED] Support Unicode strings in mssql #3752
  • [FIXED] Do not inject include twice in options.include #5106
  • [FIXED] Expand and validate include in aggregate #5106

v3.15.1

23 Dec 11:01
Compare
Choose a tag to compare
  • [FIXED] calling Model.update() modifies passed values #4520
  • [FIXED] Instance can be chained on .set() and other methods #4702
  • [FIXED] includes nested from a separate include now work properly #5080

v3.15.0

16 Dec 08:34
Compare
Choose a tag to compare
  • [ADDED] Improve support for pg range type to handle unbound ranges, +/-infinity bounds and empty ranges
  • [FIXED] Postgres issue when using named timezone #4307
  • [FIXED] Add support for Babel/ES6 imports #4881

v3.14.2

27 Nov 12:20
Compare
Choose a tag to compare
  • [FIXED] Model.aggregate methods now support attributes and where conditions with fields. #4935
  • [FIXED] Don't overwrite options.foreignKey in associations #4927
  • [FIXED] Support nested $col keys. #4849

v3.14.0

18 Nov 21:20
Compare
Choose a tag to compare
  • [FIXED] Apply scopes to aggregate #4764
  • [FIXED] Improved postgres enum schema handling #4796
  • [ADDED/FIXED] Lower case onDelete option to allow the use of onDelete: 'CASCADE', hooks: true.