Closed greenkeeper[bot] closed 4 years ago
dependency
sequelize was updated from 4.43.0
to 5.1.1
.Update to this version instead π
The new version differs by 18 commits.
437696e
5.1.1
6b82bee
fix(typescript): add missing data types (#10607)
d1c1958
docs(typescript): add typescript project guide (#10594)
aefb863
docs(model): clarify documentation on projection aliasing (#10595)
e07a7be
fix(query-generator): correctly treat projection inversion in include default scope (#10597)
db16cd5
fix(typescript): do not use const enums (#10585)
d566c25
docs(data-types): fix param locations (#10586)
7f00a55
docs(define): Update docs to use classes instead of define
(#10584)
0b868c8
feat(types): add generics types for associations (#10524)
3578062
refactor: optimize with spread operator (#10570)
493d8e3
docs: fix typo (#10568)
1e7e410
chore(tests): use sinon resolves (#10567)
80a7931
fix(connection-manager): correctly assign default port (#10558)
197ba54
docs: improve getting-started documentation (#10548)
03a2b3f
docs(upgrade-to-v5): typescript typings section
There are 18 commits in total.
See the full diff
dependency
sequelize was updated from 4.43.0
to 5.2.0
.Update to this version instead π
The new version differs by 10 commits.
ab7a954
build: no yarn for pg-native
63fabc8
build: use latest npm
fa0a127
build: get rid of yarn and duplicate builds
2ef16b5
feat: setup semantic release
b6f04ac
fix(query-generator): convert numbers to date types (#10569)
b0da59b
fix(typings): correct return type for model.schema() (#10624)
d81ea5e
revert "fix(query-interface): incorrect regex escape with json querying (#10615)" (#10623)
ef18710
fix(associations): correctly parse include options (#10580)
83f696a
chore: use native deprecations (#10609)
674db19
fix(query-interface): incorrect regex escape with json querying (#10615)
See the full diff
dependency
sequelize was updated from 4.43.0
to 5.2.1
.dependency
sequelize was updated from 4.43.0
to 5.2.6
.dependency
sequelize was updated from 4.43.0
to 5.2.6
.dependency
sequelize was updated from 4.43.0
to 5.2.6
.dependency
sequelize was updated from 4.43.0
to 5.2.6
.dependency
sequelize was updated from 4.43.0
to 5.2.7
.Update to this version instead π
The new version differs by 5 commits.
a676eea
fix(typings): upsert options (#10655)
ea5afbf
fix(model): map fields only once when saving (#10658)
33e140d
docs: fix typos (#10656)
580c065
test: typos in model test names (#10659)
46e0f68
docs: fix typo in belongs-to-many.js (#10652)
See the full diff
dependency
sequelize was updated from 4.43.1
to 5.2.8
.Update to this version instead π
The new version differs by 4 commits.
5a2c6a6
fix(typings): add missing sourceKey option in HasOneOptions association type (#10651)
bb952e8
docs: fix many typos (#10667)
b309131
docs(getting-started): show source of Model (#10663)
26ec367
fix(typings): remove lib/model double export (#10665)
See the full diff
dependency
sequelize was updated from 4.43.1
to 5.2.9
.Update to this version instead π
The new version differs by 5 commits.
0f505ef
fix(types): add version property to init options (#10681)
c9e48e4
docs(readme): make it easier for newcomers (#10676)
4ec86a4
docs(sequelize): update constructor define docs (#10675)
42414f5
docs: adjust misunderstood phrase in pull request template (#10664)
abfe7e5
test: belongs-to-many
See the full diff
dependency
sequelize was updated from 4.43.1
to 5.2.10
.dependency
sequelize was updated from 4.43.1
to 5.2.11
.Update to this version instead π
The new version differs by 8 commits.
cc765cc
build(travis): run lint stage first
fb6dc2b
build: fix spacing in travis.yml
06fe7cc
build: add lint stage
9e0b176
docs(typescript): improve typescript docs (#10677)
24e749d
build: markdown lint (#10692)
6b65998
fix(types): add missing useCLS static (#10693)
7445423
chore(logger): streamline logging (#10630)
a9a32f2
docs: tutorial improvements (#10674)
See the full diff
dependency
sequelize was updated from 4.43.1
to 5.2.12
.dependency
sequelize was updated from 4.43.1
to 5.2.13
.dependency
sequelize was updated from 4.43.1
to 5.2.14
.dependency
sequelize was updated from 4.43.1
to 5.2.15
.dependency
sequelize was updated from 4.43.1
to 5.3.0
.dependency
sequelize was updated from 4.43.1
to 5.3.1
.dependency
sequelize was updated from 4.43.1
to 5.3.2
.dependency
sequelize was updated from 4.43.1
to 5.3.3
.dependency
sequelize was updated from 4.43.1
to 5.3.4
.dependency
sequelize was updated from 4.43.1
to 5.3.5
.dependency
sequelize was updated from 4.43.2
to 5.4.0
.dependency
sequelize was updated from 4.43.2
to 5.5.0
.dependency
sequelize was updated from 4.43.2
to 5.5.1
.dependency
sequelize was updated from 4.43.2
to 5.6.0
.dependency
sequelize was updated from 4.43.2
to 5.6.1
.dependency
sequelize was updated from 4.43.2
to 5.7.0
.dependency
sequelize was updated from 4.43.2
to 5.7.1
.dependency
sequelize was updated from 4.43.2
to 5.7.2
.dependency
sequelize was updated from 4.43.2
to 5.7.3
.dependency
sequelize was updated from 4.43.2
to 5.7.4
.dependency
sequelize was updated from 4.43.2
to 5.7.5
.dependency
sequelize was updated from 4.43.2
to 5.7.6
.dependency
sequelize was updated from 4.43.2
to 5.8.0
.dependency
sequelize was updated from 4.43.2
to 5.8.1
.dependency
sequelize was updated from 4.43.2
to 5.8.2
.dependency
sequelize was updated from 4.43.2
to 5.8.3
.dependency
sequelize was updated from 4.43.2
to 5.8.4
.dependency
sequelize was updated from 4.43.2
to 5.8.5
.dependency
sequelize was updated from 4.44.0
to 5.8.6
.dependency
sequelize was updated from 4.44.0
to 5.8.7
.dependency
sequelize was updated from 4.44.0
to 5.8.8
.dependency
sequelize was updated from 4.44.0
to 5.8.9
.dependency
sequelize was updated from 4.44.0
to 5.8.10
.dependency
sequelize was updated from 4.44.0
to 5.8.11
.dependency
sequelize was updated from 4.44.0
to 5.8.12
.dependency
sequelize was updated from 4.44.0
to 5.9.0
.dependency
sequelize was updated from 4.44.0
to 5.9.1
.
The dependency sequelize was updated from
4.43.0
to5.1.0
.This version is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v5
Breaking Changes
Support for Node 6 and up
Sequelize v5 will only support Node 6 and up #9015
Secure Operators
With v4 you started to get a deprecation warning
String based operators are now deprecated
. Also concept of operators was introduced. These operators are Symbols which prevent hash injection attacks.http://docs.sequelizejs.com/manual/querying.html#operators-security
With v5
operatorsAliases
, but that will give you deprecation warning.Typescript Support
Sequelize now ship official typings #10287. You can consider migrating away from external typings which may get out of sync.
Pooling
With v5 Sequelize now use
sequelize-pool
which is a modernized fork ofgeneric-pool@2.5
. You no longer need to callsequelize.close
to shutdown pool, this helps with lambda executions. #8468Model
Validators
Custom validators defined per attribute (as opposed to the custom validators defined in the model's options) now run when the attribute's value is
null
andallowNull
istrue
(while previously they didn't run and the validation succeeded immediately). To avoid problems when upgrading, please check all your custom validators defined per attribute, whereallowNull
istrue
, and make sure all these validators behave correctly when the value isnull
. See #9143.Attributes
Model.attributes
now removed, useModel.rawAttributes
. #5320Note: Please don't confuse this with
options.attributes
, they are still validParanoid Mode
With v5 if
deletedAt
is set, record will be considered as deleted.paranoid
option will only usedeletedAt
as flag. #8496Model.bulkCreate
updateOnDuplicate
option which used to accept boolean and array, now only accepts non-empty array of attributes. #9288Underscored Mode
Implementation of
Model.options.underscored
is changed. You can find full specifications here.Main outline
underscoredAll
andunderscored
options are merged into singleunderscored
optionunderscored
option set totrue
, thefield
option for attributes will be set as underscored version of attribute name.underscored
will control all attributes including timestamps, version and foreign keys. It will not affect any attribute which already specifies thefield
option.#9304
Removed aliases
Many model based aliases has been removed #9372
Datatypes
Range
Now supports only one standard format
[{ value: 1, inclusive: true }, { value: 20, inclusive: false }]
#9364Case insensitive text
Added support for
CITEXT
for Postgres and SQLiteRemoved
NONE
type has been removed, useVIRTUAL
insteadHooks
Removed aliases
Hooks aliases has been removed #9372
Sequelize
Removed aliases
Prototype references for many constants, objects and classes has been removed #9372
Query Interface
changeColumn
no longer generates constraint with_idx
suffix. Now Sequelize does not specify any name for constraints thus defaulting to database engine naming. This aligns behavior ofsync
,createTable
andchangeColumn
.Others
ValidationErrorItem
now holds reference to original error in theoriginal
property, rather than the__raw
property.3.1.0
, which use any-promise. This module repeat allsequelize.query
operations. You can configureany-promise
to usebluebird
for better performance on Node 4 or 6undefined
keys inwhere
options, In past versionsundefined
was converted tonull
.Dialect Specific
MSSQL
tedious >= 6.0.0
. OlddialectOptions
has to be updated to match their new format. Please refer to tedious documentation. An example of newdialectOptions
is given belowMySQL
mysql2 >= 1.5.2
for prepared statementsMariaDB
dialect: 'mariadb'
is now supported withmariadb
packagePackages
generic-pool
sequelize-pool
Changelog
5.0.0-beta.17
5.0.0-beta.16
5.0.0-beta.15
attribute.column.validate
option #102375.0.0-beta.14
5.0.0-beta.13
5.0.0-beta.12
5.0.0-beta.11
5.0.0-beta.10
5.0.0-beta.9
5.0.0-beta.8
5.0.0-beta.7
5.0.0-beta.6
5.0.0-beta.5
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
5.0.0-beta
Model.attributes
now removed, useModel.rawAttributes
#5320paranoid
mode will now treat any record withdeletedAt
as deleted #8496Commits
The new version differs by 316 commits ahead by 316, behind by 28.
0a9b8a6
5.1.0
6d84ced
docs: fix styling issue with long comments
cf5aeea
chore: v5 release (#10544)
1275de0
docs: remove extra entries
d6d9d81
5.0.0-beta.17
bc6c133
docs: v5.0.0-beta.17
4478d74
chore: strict linting for code and jsdocs (#10535)
f862e6b
fix(util): improve performance of classToInvokable (#10534)
a26193a
chore: enforce stricter linting (#10532)
786b19b
fix(build): default null for multiple primary keys
ae7d4b9
feat: expose Sequelize.BaseError
e03a537
fix(tests): missing clock instance
d7241f7
fix(tests): path for instance tests
69b85c3
refactor: instance tests
0c68590
feat(sqlite/query-generator): support restart identity for truncate-table (#10522)
There are 250 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: