Skip to content

Releases: sequelize/sequelize

v3.28.0

20 Dec 12:18
Compare
Choose a tag to compare
  • [FIXED] Soft-delete not returning number of affected rows on mssql #6916
  • [ADDED] afterConnect hook
  • [FIXED] Range integer parsing #6897
  • [FIXED] Upsert return value for mysql #6963

v3.25.0

10 Nov 12:38
Compare
Choose a tag to compare
  • [FIXED] Set timestamps and paranoid options from through model on belongsToMany association
  • [FIXED] Properly apply paranoid condition when groupedLimit.on association is paranoid
  • [FIXED] restore now uses field from deletedAt
  • [ADDED] option.silent for increment and decrement #6793

v3.24.8

08 Nov 05:51
Compare
Choose a tag to compare

[FIXED] restore now uses field from deletedAt

v3.24.7

03 Nov 08:26
Compare
Choose a tag to compare

[FIXED] MSSQL bulkInsertQuery when options and attributes are not passed [#6782]

v3.24.4

17 Oct 19:32
Compare
Choose a tag to compare
  • [FIXED] - ORDER clause was not included in subquery if order option value was provided as plain string (not as an array value)
  • [FIXED] Issue with belongsTo association and foreign keys #6400
  • [FIXED] Check that parent exists before appending attributes #6472
  • [FIXED] Default options for insert queries #6644

v4.0.0-2

15 Sep 20:48
Compare
Choose a tag to compare
v4.0.0-2 Pre-release
Pre-release
  • [ADDED] include now supports string as an argument (on top of model/association), string will expand into an association matched literally from Model.associations
  • [FIXED] Accept dates as string while using typeValidation #6453
  • [FIXED] - ORDER clause was not included in subquery if order option value was provided as plain string (not as an array value)
  • [FIXED] support for CLS with cls-bluebird module

v3.24.3

17 Oct 19:32
Compare
Choose a tag to compare
  • [ADDED] Backport of grouped limit include support
  • [ADDED] Export datatypes #6578

v3.24.2

17 Oct 19:32
Compare
Choose a tag to compare
  • [FIXED] Accept dates as string while using typeValidation #6453

v4.0.0-1

18 Aug 15:32
Compare
Choose a tag to compare
v4.0.0-1 Pre-release
Pre-release
  • [CHANGED] Removed modelManager parameter from Model.init() #6437
  • [FIXED] Made Model.init() behave like sequelize.define() (hooks are called and options have proper defaults) #6437
  • [ADDED] restartIdentity option for truncate in postgres #5356
  • [INTERNAL] Migrated to node-mysql2 for prepared statements #6354
  • [ADDED] SQLCipher support via the SQLite connection manager
  • [CHANGED] Range type bounds now default to postgres default [) (inclusive, exclusive) #5990
  • [ADDED] Support for range operators #5990
  • [FIXED] Broken transactions in MySQL #3568
  • [FIXED] Model.count don't include attributes #5057
  • [INTERNALS] Updated inflection dependency and pinned version and expose all used inflection methods on Utils
  • [ADDED] Sequelize.useInflection method
  • [FIXED] hasOne throws error on update with a primary key #6069
  • [FIXED] Model.count gives SQL syntax error when using distinct #4840
  • [ADDED] Model.count now allow specifying column to count on, use options.col #4442
  • [ADDED] DEBUG support #2852
  • [ADDED] Intensive connection logging #851
  • [FIXED] Only belongsTo uses as to construct foreign key - revert of #5957 introduced in 4.0.0-0
  • [CHANGED] Sequelize.Promise is now an independent copy of bluebird library #5974
  • [ADDED] before/after Save hook #2702
  • [ADDED] Remove hooks by reference #6155
  • [ADDED] before/after Upsert hook #3965
  • [FIXED] Modifying options in beforeFind throws error #5675
  • [REMOVED] classMethods and instanceMethods #5869
  • [CHANGED] Sequelize.Validator is now an independent copy of validator library
  • [FIXED] Don't patch validator library globally #6196
  • [CHANGED] ignore for create was renamed to ignoreDuplicates #6138
  • [FIXED] Index names not quoted properly in removeIndex #5888
  • [FIXED] Int4 range not properly parsed #5747
  • [FIXED] upsert does not fail anymore on not null validations #5711
  • [FIXED] Don't remove includes from count queries and unify findAndCount and count queries. #6123
  • [FIXED] Model.count with options.col and options.include works properly now
  • [FIXED] bulkCreate don't map fields to attributes properly #4476#3908#4103#3764#3789#4600
  • [FIXED] sync don't handle global options.logging properly #5788
  • [FIXED] attribute:[] throw errors with include or through #5078 #4222 #5958 #5590 #6139 #4866 #6242
  • [SECURITY] GEOMETRY and GEOGRAPHY SQL injection attacks #6194
  • [FIXED] DECIMAL now supports UNSIGNED / ZEROFILL (MySQL) #2038
  • [FIXED] Generate correct SQL of nested include when quoteIdentifiers is false. (Postgres) #6351
  • [FIXED] Generate correct SQL for JSON attributes with quote.
    #6406
  • [FIXED] Nested query return correct result when quoteIdentifiers is false. (Postgres) #6363
  • [FIXED] Fixed an issue where changing multiple ENUM columns in PostgreSQL could break. #6203
  • [FIXED] Add parent, original and sql properties to UniqueConstraintError

v3.24.1

18 Aug 11:43
Compare
Choose a tag to compare
  • [FIXED] Add parent, original and sql properties to UniqueConstraintError