不要怂,就是干,撸起袖子干!

Commit 6dcc3e7d by Sushant

changelog for 5.0.0-beta.1

1 parent 5789c9ce
Showing with 6 additions and 6 deletions
...@@ -8,8 +8,6 @@ Sequelize v5 is the next major release after v4 ...@@ -8,8 +8,6 @@ Sequelize v5 is the next major release after v4
Sequelize v5 will only support Node 6 and up [#9015](https://github.com/sequelize/sequelize/issues/9015) Sequelize v5 will only support Node 6 and up [#9015](https://github.com/sequelize/sequelize/issues/9015)
__DEV__: _Done, no deprecation_
### Secure Operators ### 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. 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.
...@@ -38,19 +36,21 @@ __DEV__: _Incomplete, deprecated_ ...@@ -38,19 +36,21 @@ __DEV__: _Incomplete, deprecated_
__Note__: _Please dont confuse this with `options.attributes`, they are still valid_ __Note__: _Please dont confuse this with `options.attributes`, they are still valid_
__DEV__: _Done, no deprecation_
**Paranoid Mode** **Paranoid Mode**
With v5 if `deletedAt` is set, record will be considered as deleted. So `paranoid` option will only use `deletedAt` as flag. With v5 if `deletedAt` is set, record will be considered as deleted. So `paranoid` option will only use `deletedAt` as flag.
In v4 it used to compare current time with `deletedAt`. [#8496](https://github.com/sequelize/sequelize/issues/8496) In v4 it used to compare current time with `deletedAt`. [#8496](https://github.com/sequelize/sequelize/issues/8496)
__DEV__: _Done, no deprecation_
## Changelog ## Changelog
### 5.0.0-beta.1
- fix(postgres): reserved words support [#9236](https://github.com/sequelize/sequelize/pr/9236)
- fix(findOrCreate): warn and handle unknown attributes in defaults
- fix(query-generator): 1-to-many join in subQuery filter missing where clause [#9228](https://github.com/sequelize/sequelize/issues/9228)
### 5.0.0-beta ### 5.0.0-beta
- `Model.attributes` now removed, use `Model.rawAttributes` [#5320](https://github.com/sequelize/sequelize/issues/5320) - `Model.attributes` now removed, use `Model.rawAttributes` [#5320](https://github.com/sequelize/sequelize/issues/5320)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!