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

Commit 8808a917 by Sushant

beta.2 changelog

1 parent 4ba7beac
...@@ -33,7 +33,6 @@ const Sequelize = require('sequelize'); ...@@ -33,7 +33,6 @@ const Sequelize = require('sequelize');
const sequelize = new Sequelize('database', 'username', 'password', { const sequelize = new Sequelize('database', 'username', 'password', {
host: 'localhost', host: 'localhost',
dialect: 'mysql'|'sqlite'|'postgres'|'mssql', dialect: 'mysql'|'sqlite'|'postgres'|'mssql',
operatorsAliases: false,
pool: { pool: {
max: 5, max: 5,
......
...@@ -27,10 +27,7 @@ const sequelize = new Sequelize('database', 'username', 'password', { ...@@ -27,10 +27,7 @@ const sequelize = new Sequelize('database', 'username', 'password', {
}, },
// SQLite only // SQLite only
storage: 'path/to/database.sqlite', storage: 'path/to/database.sqlite'
// http://docs.sequelizejs.com/manual/tutorial/querying.html#operators
operatorsAliases: false
}); });
const User = sequelize.define('user', { const User = sequelize.define('user', {
......
...@@ -42,9 +42,15 @@ In v4 it used to compare current time with `deletedAt`. [#8496](https://github.c ...@@ -42,9 +42,15 @@ In v4 it used to compare current time with `deletedAt`. [#8496](https://github.c
## Changelog ## Changelog
### 5.0.0-beta.2
- change(operators): Symbol operators now enabled by default, removed deprecation warning
- fix(model): don't add LIMIT in findOne() queries on unique key [#9248](https://github.com/sequelize/sequelize/pull/9248)
- fix(model): use schema when generating foreign keys [#9029](https://github.com/sequelize/sequelize/issues/9029)
### 5.0.0-beta.1 ### 5.0.0-beta.1
- fix(postgres): reserved words support [#9236](https://github.com/sequelize/sequelize/pr/9236) - fix(postgres): reserved words support [#9236](https://github.com/sequelize/sequelize/pull/9236)
- fix(findOrCreate): warn and handle unknown attributes in defaults - 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) - fix(query-generator): 1-to-many join in subQuery filter missing where clause [#9228](https://github.com/sequelize/sequelize/issues/9228)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!