feathers-sequelize
Advanced tools
Comparing version 2.0.1 to 2.1.0
# Change Log | ||
## [v2.0.1](https://github.com/feathersjs/feathers-sequelize/tree/v2.0.1) (2017-06-09) | ||
[Full Changelog](https://github.com/feathersjs/feathers-sequelize/compare/v2.0.0...v2.0.1) | ||
**Closed issues:** | ||
- Allow custom primary keys [\#122](https://github.com/feathersjs/feathers-sequelize/issues/122) | ||
- Investigate issue where getters, setters not being called [\#116](https://github.com/feathersjs/feathers-sequelize/issues/116) | ||
- Model.create ignoring field and virtual setters [\#113](https://github.com/feathersjs/feathers-sequelize/issues/113) | ||
- An in-range update of feathers is breaking the build 🚨 [\#112](https://github.com/feathersjs/feathers-sequelize/issues/112) | ||
- Using `include` breaks the find method query [\#111](https://github.com/feathersjs/feathers-sequelize/issues/111) | ||
- An in-range update of feathers-errors is breaking the build 🚨 [\#110](https://github.com/feathersjs/feathers-sequelize/issues/110) | ||
- Add `lean` attribute to automatically call toJSON? [\#19](https://github.com/feathersjs/feathers-sequelize/issues/19) | ||
- Add a toJSON bundled hook like mongoose [\#18](https://github.com/feathersjs/feathers-sequelize/issues/18) | ||
**Merged pull requests:** | ||
- Fix issue with custom ID when using eager loading [\#124](https://github.com/feathersjs/feathers-sequelize/pull/124) ([DesignByOnyx](https://github.com/DesignByOnyx)) | ||
- Update chai to the latest version 🚀 [\#120](https://github.com/feathersjs/feathers-sequelize/pull/120) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Issue \#113: Model.create ignoring field and virtual setters [\#114](https://github.com/feathersjs/feathers-sequelize/pull/114) ([buske](https://github.com/buske)) | ||
## [v2.0.0](https://github.com/feathersjs/feathers-sequelize/tree/v2.0.0) (2017-05-03) | ||
@@ -15,4 +35,4 @@ [Full Changelog](https://github.com/feathersjs/feathers-sequelize/compare/v1.4.5...v2.0.0) | ||
- Fixed return value of patch method for postgresql dialect [\#104](https://github.com/feathersjs/feathers-sequelize/pull/104) ([msimulcik](https://github.com/msimulcik)) | ||
- Update semistandard to the latest version 🚀 [\#103](https://github.com/feathersjs/feathers-sequelize/pull/103) ([greenkeeper[bot]](https://github.com/integration/greenkeeper)) | ||
- Update dependencies to enable Greenkeeper 🌴 [\#102](https://github.com/feathersjs/feathers-sequelize/pull/102) ([greenkeeper[bot]](https://github.com/integration/greenkeeper)) | ||
- Update semistandard to the latest version 🚀 [\#103](https://github.com/feathersjs/feathers-sequelize/pull/103) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
- Update dependencies to enable Greenkeeper 🌴 [\#102](https://github.com/feathersjs/feathers-sequelize/pull/102) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) | ||
@@ -19,0 +39,0 @@ ## [v1.4.5](https://github.com/feathersjs/feathers-sequelize/tree/v1.4.5) (2017-03-26) |
@@ -10,5 +10,11 @@ 'use strict'; | ||
return function (item) { | ||
if (!(item instanceof Model.Instance)) { | ||
// (Darren): We have to check that the Model.Instance static property exists | ||
// first since it's been deprecated in Sequelize 4.x. | ||
// See: http://docs.sequelizejs.com/manual/tutorial/upgrade-to-v4.html | ||
var shouldBuild = Model.Instance ? !(item instanceof Model.Instance) : !(item instanceof Model); | ||
if (shouldBuild) { | ||
return Model.build(item, { isNewRecord: false, include: include }); | ||
} | ||
return item; | ||
@@ -15,0 +21,0 @@ }; |
{ | ||
"name": "feathers-sequelize", | ||
"description": "A service adapter for Sequelize an SQL ORM", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"homepage": "https://github.com/feathersjs/feathers-sequelize", | ||
@@ -66,2 +66,3 @@ "main": "lib/", | ||
"lodash.omit": "^4.3.0", | ||
"sequelize": "^4.3.1", | ||
"uberproto": "^1.1.2" | ||
@@ -85,5 +86,4 @@ }, | ||
"semistandard": "^11.0.0", | ||
"sequelize": "^3.25.0", | ||
"sqlite3": "^3.1.7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57005
16
15
443
6
+ Addedsequelize@^4.3.1
+ Added@types/geojson@1.0.6(transitive)
+ Added@types/node@22.5.4(transitive)
+ Addedbluebird@3.7.2(transitive)
+ Addedcls-bluebird@2.1.0(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddepd@1.1.2(transitive)
+ Addeddottie@2.0.6(transitive)
+ Addedgeneric-pool@3.5.0(transitive)
+ Addedinflection@1.12.0(transitive)
+ Addedis-bluebird@1.0.2(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedmoment-timezone@0.5.45(transitive)
+ Addedms@2.0.0(transitive)
+ Addedretry-as-promised@2.3.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsequelize@4.44.4(transitive)
+ Addedshimmer@1.2.1(transitive)
+ Addedterraformer@1.0.12(transitive)
+ Addedterraformer-wkt-parser@1.2.1(transitive)
+ Addedtoposort-class@1.0.1(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedvalidator@10.11.0(transitive)
+ Addedwkx@0.4.8(transitive)