v7.0.0
⚠ BREAKING CHANGES
-
entitykey: The "keyType" Schema option has been removed as it is no longer needed. Also, as gstore does not parse the id anymore, running your project against the Datastore emulator locally might break as the emulator treats differently User.get(123) than User.get("123"). Auto-allocated ids are integers and need to be provided as integers for the Emulator.
-
Dependencies: Node version 8.x not supported anymore. Upgrade to v10.x or superior.
-
Dependencies: The @google-cloud/datastore package is not defined anymore as a dependency of gstore-node. You will need to manually install it in your project.
-
Dependencies: Set google-cloud datastore as peerDependency (#177) (ac52ffb)
Bug Fixes
- call execPostHooks on internalTransaction (#161) (7b132cf)
- entity: add "id" property to entity after it has been saved (#180) (15a713a), closes #172
- entitykey: remove convertion of string number to integer for entity key id (#179) (75dc869), closes #168
- excludefromindexes: update logic to add all properties of Array embedded entities (#182) (c9da35b), closes #132
- model: throw NOT_FOUND error when trying to update a Model that does not exist (#181) (cc11e02), closes #164
- Types: Schema methods() signature (#171) (4a144ce)