-[BUG] Fixed issue with `order: sequelize.literal('string')`
-[FEATURE] add `clone: true` support to `.get()`. Is needed when using `delete` on values from a `.get()` (`toJSON()`, `this.values`). (.get() is just a reference to the values for performance reasons when there's no custom getters or includes)
-[BUG] Fixes crash with `findAll({include: [Model], order: sequelize.literal()})`
# 2.0.0-rc6
-[BUG] Fixed issue with including by association reference and where
...
...
@@ -13,7 +14,6 @@
-[FEATURE] When updating an instance `_previousDataValues` will now be updated after `afterUpdate` hooks have been run rather than before allowing you to use `changed` in `afterUpdate`
-[BUG] Sequelize will no longer fail on a postgres constraint error not defined by Sequelize
-[FEATURE] It's now possible to pass an association reference to include. `var Owner = Company.belongsTo(User, {as: 'owner'}; Company.findOne({include: [Owner]});`
-[BUG] Fixes crash with `findAll({include: [Model], order: sequelize.literal()})`
#### Backwards compatability changes
- When updating an instance `_previousDataValues` will now be updated after `afterUpdate` hooks have been run rather than before allowing you to use `changed` in `afterUpdate`