- 14 Jun, 2016 2 commits
-
-
* (test) hasOne fails on updating with primary key * use Pk in hasOne injectSetter when possible
Sushant committed -
* Updated `inflection` dependency and pinned version * Expose all used `inflection` methods on `Utils` * `Sequelize.useInflection` method
overlookmotel committed
-
- 13 Jun, 2016 4 commits
-
-
let, const, method shorthands, arrow functions, export
Felix Becker committed -
* (test) count() should return attributes * count use explicit attributes from options * count with attributes return string
Sushant committed -
toString() should return the source of the class
Felix Becker committed -
Sushant committed
-
- 12 Jun, 2016 8 commits
-
-
… being modified v2 (#5836) * Update dev dependency `hints` used in tests support shim * `Model.init` is not shimmed by test shims * Tests support shim checks for options object being modified * Fix JSDoc comments in tests shim * Increase tests timeout to 30secs * Environment var `SHIM` to trigger tests support shim
overlookmotel committed -
https://greenkeeper.io/
Greenkeeper committed -
Makes Model.build() and new Model() identical except that build() can also take an array Makes values parameter optional
Felix Becker committed -
let, const, arrow functions, exports
Felix Becker committed -
const, method shorthands, for of, arrow functions, ES6 Map
Felix Becker committed -
let, const, template strings, export default
Felix Becker committed -
let, const, arrow functions, export default
Felix Becker committed -
overlookmotel committed
-
- 10 Jun, 2016 2 commits
-
-
- Use let, const and property shorthands. - The data types are not changed to ES6 classes because it should be possible to call them without `new`. - Use function declarations so the functions (which are classes) have a name - Simplify `inherits` function and move it to utils.js The manual style may be a bit more verbose but it comes closer to true ES6 classes because the functions are named and not dynamically created - Name methods - Fix bugs in dialect data types where constructor arguments were not applied when called without `new` - Remove unneeded code
Felix Becker committed -
- let, const, arrow functions, property shorthands, exports, classes - changes classes to be PascalCase - Removes inherit() function (not used anymore)
Felix Becker committed
-
- 09 Jun, 2016 1 commit
-
-
* Make abstract ConnectionManager an ES6 class * ES6 refactor of abstract ConnectionManager let, const, arrow functions, property shorthands * ES6 refactor of AbstractDialect classes, export default * Make AbstractQuery an ES6 class * ES6 refactor of AbstractQuery let, const, arrow functions, for of * ES6 refactor of abstract QueryGenerator use let, const, arrow functions, method shorthands, for..of, sometimes template strings. Changes variable declarations so they are declared where initialized (instead of on the top of the function) as let/const is not hoisted anymore. Removes some IIFEs in favor of block-scoped variables. Does _not_ yet refactor lodash template strings to ES6 template strings.
Felix Becker committed
-
- 08 Jun, 2016 6 commits
-
-
* ES6 refactor of SQLite ConnectionManager * ES6 refactor of SQLiteDialect * Make sqlite Query an ES6 class * ES6 refactor of SQLite Query * ES6 refactor of SQLite QueryGenerator * ES6 refactor of SQLite QueryInterface
Felix Becker committed -
* ES6 refactor of hstore.js const, export * ES6 refactor of PostgresDialect const, classes, property shorthands, export default * ES6 refactor of postgres ConnectionManager classes, let, const, arrow functions, for of, export default * Make postgres Query an ES6 class * ES6 refactor of postgres Query let, const, arrow functions, property shorthands, export default * ES6 refactor of postgres QueryGenerator let, const, arrow functions, template strings where it was easy to implement * ES6 refactor of postgres range.js let, const, arrow functions, export
Felix Becker committed -
https://greenkeeper.io/
Greenkeeper committed -
* ES6 refactor of MSSQL ConnectionManager classes, let, const, arrow functions, export default * Make Mssql Query an ES6 class * ES6 refactor of Mssql Query let, const, arrow functions, property shorthands, for of, export default
Felix Becker committed -
* Make BelongsTo association an ES6 class * ES6 refactor of belongs-to.js * Make BelongsToMany an ES6 class * ES6 refactor of BelongsToMany * Make HasMany an ES6 class * ES6 refactor of HasMany * Make HasOne an ES6 class * ES6 refactor of HasOne * ES6 refactor of association helpers * ES6 refactor of associations/index.js * ES6 refactor of association mixin
Felix Becker committed -
https://greenkeeper.io/
Greenkeeper committed
-
- 07 Jun, 2016 9 commits
-
-
* Make Mysql ConnectionManager an ES6 class * ES6 refactor of MySQL ConnectionManager let, const, for of, arrow functions, Map, export default * Make MySQL Query an ES6 class * ES6 refactor of MySQL Query let, const, for of, arrow functions, export default * ES6 refactor of MySQL QueryInterface * ES6 refactor of MySQL QueryGenerator
Felix Becker committed -
* ES6 refactor of errors.js Use classes and export * Add stack trace test
Felix Becker committed -
* Make ModelManager an ES6 class * ES6 refactor of ModelManager
Felix Becker committed -
* Make Transaction an ES6 class * ES6 refactor of Transaction let, const, arrow functions, export default
Felix Becker committed -
Felix Becker committed
-
* Make QueryInterface an ES6 class * ES6 refactor of QueryInterface let, const, arrow functions, for..of, export default, property shorthands
Felix Becker committed -
* ES6 refactor of model.js * ES6 refactor of attribute.js classes, export default
Felix Becker committed -
* Fix this reference in instance test * Fix instance validation test
Felix Becker committed -
* Make Sequelize an ES6 class * ES6 refactor of sequelize.js let, const, arrow functions, property shorthands, for of, export default
Felix Becker committed
-
- 06 Jun, 2016 4 commits
-
-
fix(Model): findOrCreate should fail explicitely, not timeout, when altering hooks before create
Mick Hansen committed -
📝 Jan Aagaard Meier committed -
Kevin Simper committed
-
https://greenkeeper.io/
Greenkeeper committed
-
- 03 Jun, 2016 3 commits
-
-
Sushant committed
-
When creating a foreign key constraint in MySQL, use the template {referring_table}_{attribute}_foreign_idx, rather than just {attribute}_foreign_idx, to avoid duplicate constraint names. Related tests are updated. See GitHub #5826
Yaohan Chen committed -
Ryer Wong committed
-
- 01 Jun, 2016 1 commit
-
-
Sushant committed
-