@@ -64,6 +64,7 @@ Added support for `CIDR`, `INET` and `MACADDR` for Postgres
...
@@ -64,6 +64,7 @@ Added support for `CIDR`, `INET` and `MACADDR` for Postgres
- Sequelize now use parameterized queries for all INSERT / UPDATE operations (except UPSERT). They provide better protection against SQL Injection attack.
- Sequelize now use parameterized queries for all INSERT / UPDATE operations (except UPSERT). They provide better protection against SQL Injection attack.
-`ValidationErrorItem` now holds reference to original error in the `original` property, rather than the `__raw` property.
-`ValidationErrorItem` now holds reference to original error in the `original` property, rather than the `__raw` property.
-[retry-as-promised](https://github.com/mickhansen/retry-as-promised) has been updated to `3.0.0`, which use [any-promise](https://github.com/kevinbeaty/any-promise). This module repeat all `sequelize.query` operations. You can configure `any-promise` to use `bluebird` for better performance on Node 4 or 6
-[retry-as-promised](https://github.com/mickhansen/retry-as-promised) has been updated to `3.0.0`, which use [any-promise](https://github.com/kevinbeaty/any-promise). This module repeat all `sequelize.query` operations. You can configure `any-promise` to use `bluebird` for better performance on Node 4 or 6
- Sequelize will ignore all `undefined` keys in `where` options, In past versions `undefined` was converted to `null`. For `BULKUPDATE / BULKDELETE` query types passing undefined keys in where options will throw an error.
### Packages
### Packages
...
@@ -73,6 +74,23 @@ Added support for `CIDR`, `INET` and `MACADDR` for Postgres
...
@@ -73,6 +74,23 @@ Added support for `CIDR`, `INET` and `MACADDR` for Postgres
## Changelog
## Changelog
### 5.0.0-beta.10
- fix(belongsToMany): association.add returns array of array of through records [#9700](https://github.com/sequelize/sequelize/pull/9700)
- feat: association hooks [#9590](https://github.com/sequelize/sequelize/pull/9590)
- fix(bulkCreate): dont map dataValue to fields for individualHooks:true[#9672](https://github.com/sequelize/sequelize/pull/9672)
- feat(postgres): drop enum support [#9641](https://github.com/sequelize/sequelize/pull/9641)
- feat(validation): improve validation for type[#9660](https://github.com/sequelize/sequelize/pull/9660)