- You can still use string operators by passing an operators map in `operatorsAliases`, but that will give you deprecation warning.
- You can still use string operators by passing an operators map in `operatorsAliases`, but that will give you deprecation warning.
- Op.$raw is removed
- Op.$raw is removed
### Pooling
With v5 Sequelize now use `sequelize-pool` which is a modernized fork of `generic-pool@2.5`. You no longer need to call `sequelize.close` to shutdown pool, this helps with lambda executions. [#8468](https://github.com/sequelize/sequelize/issues/8468)
### Model
### Model
**Attributes**
**Attributes**
...
@@ -170,7 +174,7 @@ Model.findAll({
...
@@ -170,7 +174,7 @@ Model.findAll({
- 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.1.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 throw for all `undefined` keys in `where` options, In past versions `undefined` was converted to `null`.
- Sequelize will throw for all `undefined` keys in `where` options, In past versions `undefined` was converted to `null`.