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

Commit 8a4b5295 by Sushant

docs: more resource link + fix incorrect changelog link

1 parent 411f89e0
Showing with 10 additions and 6 deletions
......@@ -10,7 +10,11 @@
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.
[v4 (current stable) documentation](http://docs.sequelizejs.com)
## Documentation
[v4 (stable) documentation](http://docs.sequelizejs.com)
[v4 upgrade guide](http://docs.sequelizejs.com/manual/tutorial/upgrade-to-v4.html)
[v3 documentation](https://sequelize.readthedocs.io/en/v3/)
......@@ -36,7 +40,7 @@ Starting from 4.0.0 Sequelize will only support Node v4 and above to use ES6 fea
- CLI ([sequelize-cli](https://github.com/sequelize/cli))
## Responsible disclosure
If you have any security issue to report, contact project maintainers privately. You can find contact information [here](https://github.com/sequelize/sequelize/blob/master/CONTACT.md)
If you have any security issue to report, contact project maintainers privately. You can find contact information [here](https://github.com/sequelize/sequelize/blob/master/CONTACT.md)
## Resources
- [Changelog](https://github.com/sequelize/sequelize/blob/master/changelog.md)
......
# Upgrade to V4
Sequelize V4 is a major release and it introduces new features and breaking changes. Majority of sequelize codebase has been refactored to use ES2015 features. The following guide lists some of the changes to upgrade from v3 to v4. See [Changelog](manual/changelog) for full list of changes.
Sequelize V4 is a major release and it introduces new features and breaking changes. Majority of sequelize codebase has been refactored to use ES2015 features. The following guide lists some of the changes to upgrade from v3 to v4. See [Changelog](changelog) for full list of changes.
### Breaking Changes
......@@ -49,10 +49,10 @@ Sequelize V4 is a major release and it introduces new features and breaking chan
Model.prototype.someMethod = function () {..}
```
- Sequelize now uses an independent copy of bluebird library.
- Promises returned by sequelize are now instances of `Sequelize.Promise` instead of global bluebird `Promise`.
- The CLS patch does not affect global bluebird promise. Transaction will not automatically get passed to methods when used with `Promise.all` and other bluebird methods. Explicitly patch your bluebird instance to get CLS to work with bluebird methods.
```bash
$ npm install --save cls-bluebird
```
......@@ -100,7 +100,7 @@ Sequelize V4 is a major release and it introduces new features and breaking chan
- `JSON` datatype support has been added for `SQLite`
- `UPSERT` is now supported on `MSSQL` using `MERGE` statement.
- Transactions are now fully supported on `MSSQL`.
- Filtered indexes are now supported on `MSSQL` dialect.
- Filtered indexes are now supported on `MSSQL` dialect.
```js
queryInterface.addIndex(
'Person',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!