Sequelize v6.0.0-beta.6 Release Notes

Release Date: 2020-05-17 // almost 4 years ago
  • 6.0.0-beta.6

    • ๐Ÿ“„ docs(add-constraint): options.fields support
    • ๐Ÿ“„ docs(association): document uniqueKey for belongs to many #12166
    • ๐Ÿ“„ docs(association): options.through.where support
    • ๐Ÿ“„ docs(association): use and instead of 'a nd' #12191
    • ๐Ÿ“„ docs(association): use correct scope name #12204
    • ๐Ÿ“„ docs(manuals): avoid duplicate header ids #12201
    • ๐Ÿ“„ docs(model): correct syntax error in example code #12137
    • ๐Ÿ“„ docs(query-interface): removeIndex indexNameOrAttributes #11947
    • ๐Ÿ“„ docs(resources): add sequelize-guard library #12235
    • ๐Ÿ“„ docs(typescript): fix confusing comments #12226
    • ๐Ÿ“„ docs(v6-guide): bluebird removal API changes
    • ๐Ÿ“„ docs: database version support info #12168
    • ๐Ÿ“„ docs: remove remaining bluebird references #12167
    • feat(belongs-to-many): allow creation of paranoid join tables #12088
    • feat(belongs-to-many): get/has/count for paranoid join table #12256
    • feat(pool): expose maxUses pool config option #12101
    • feat(postgres): minify include aliases over limit #11940
    • feat(sequelize): handle query string host value #12041
    • ๐Ÿ›  fix(associations): ensure correct schema on all generated attributes #12258
    • ๐Ÿ›  fix(docs/instances): use correct variable for increment #12087
    • ๐Ÿ›  fix(include): separate queries are not sub-queries #12144
    • ๐Ÿ›  fix(model): fix unchained promise in association logic in bulkCreate #12163
    • ๐Ÿ›  fix(model): updateOnDuplicate handles composite keys #11984
    • ๐Ÿ›  fix(model.count): distinct without any column generates invalid SQL #11946
    • ๐Ÿ›  fix(model.reload): ignore options.where and always use this.where() #12211
    • ๐Ÿ›  fix(mssql) insert record failure because of BOOLEAN column type #12090
    • ๐Ÿ›  fix(mssql): cast sql_variant in query generator #11994
    • ๐Ÿ›  fix(mssql): dont use OUTPUT INSERTED for update without returning #12260
    • ๐Ÿ›  fix(mssql): duplicate order in FETCH/NEXT queries #12257
    • ๐Ÿ›  fix(mssql): set correct scale for float #11962
    • ๐Ÿ›  fix(mssql): tedious v9 requires connect call #12182
    • ๐Ÿ›  fix(mssql): use uppercase for engine table and columns #12212
    • ๐Ÿ›  fix(pool): show deprecation when engine is not supported #12218
    • ๐Ÿ›  fix(postgres): addColumn support ARRAY(ENUM) #12259
    • ๐Ÿ›  fix(query): do not bind $ used within a whole-word #12250
    • ๐Ÿ›  fix(query-generator): handle literal for substring based operators #12210
    • ๐Ÿ›  fix(query-interface): allow passing null for query interface insert #11931
    • ๐Ÿ›  fix(query-interface): allow sequelize.fn and sequelize.literal in fields of IndexesOptions #12224
    • ๐Ÿ›  fix(scope): don't modify original scope definition #12207
    • ๐Ÿ›  fix(sqlite): multiple primary keys results in syntax error #12237
    • ๐Ÿ›  fix(sync): pass options to all query methods #12208
    • ๐Ÿ›  fix(typings): add type_helpers to file list #12000
    • ๐Ÿ›  fix(typings): correct Model.init return type #12148
    • ๐Ÿ›  fix(typings): fn is assignable to where #12040
    • ๐Ÿ›  fix(typings): getForeignKeysForTables argument definition #12084
    • ๐Ÿ›  fix(typings): make between operator accept date ranges #12162
    • ๐Ÿ”จ refactor(ci): improve database wait script #12132
    • ๐Ÿ”จ refactor(tsd-test-setup): add & setup dtslint #11879
    • ๐Ÿ”จ refactor: move all dialect conditional logic into subclass #12217
    • ๐Ÿ”จ refactor: remove sequelize.import helper #12175
    • ๐Ÿ”จ refactor: use native versions #12159
    • ๐Ÿ”จ refactor: use object spread instead of Object.assign #12213