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

Commit cb536f3a by Sushant

docs: changelog for 6.0.0-beta.3

1 parent 95104b63
Showing with 18 additions and 0 deletions
......@@ -8,6 +8,20 @@ Sequelize v6 is the next major release after v5
Sequelize v6 will only support Node 10 and up [#10821](https://github.com/sequelize/sequelize/issues/10821)
### CLS
You should now use [cls-hooked](https://github.com/Jeff-Lewis/cls-hooked) package for CLS support.
```js
const cls = require('cls-hooked');
const namespace = cls.createNamespace('....');
const Sequelize = require('sequelize');
Sequelize.useCLS(namespace);
```
Bluebird [now supports](https://github.com/petkaantonov/bluebird/issues/1403) `async_hooks`. This configuration will automatically be enabled when invoking `Sequelize.useCLS`. Thus all promises should maintain CLS context without `cls-bluebird` patching.
### Model
**`options.returning`**
......@@ -34,6 +48,10 @@ This method now tests for equality with `_.isEqual` and is now deep aware. Modif
## Changelog
### 6.0.0-beta.3
- feat: support cls-hooked / tests [#11584](https://github.com/sequelize/sequelize/pull/11584)
### 6.0.0-beta.2
- feat(postgres): change returning option to only return model attributes [#11526](https://github.com/sequelize/sequelize/pull/11526)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!