Changelog
0.11.0
Potential breaking changes to model API:
Model#equals
is now used by Model#update
to prevent unnecessary updates in some cases when the intended updates would not change the current model. By default models will always be updated if any of the passed attributes have a different reference than the respective existing attribute. #204Model.withId
and resolving foreign key relationships no longer throw an error if the referenced model does not exist. Instead null
is returned. #210Model.exists
now accepts passing a lookup object to check if any model instance matching the passed attributes exists. #209Model.hasId
has been replaced by Model.idExists
. #209Fixed QuerySet#toString
. 12ce882
Upgraded to reselect v3.0.1. #208
Refactored fields.js
, descriptors.js
and small parts of Model.js
. #210
Changelog
0.10.2
pkg.module
now points to a new entrypoint at es/index.js
adhering to the latest finalized ECMAScript version without non-standard language features. 3ab92b9
To use the original source in your application, please have your bundler resolve src/index.js
as defined in pkg["jsnext:main"]
.Changelog
0.10.0
@deprecated
JSDoc tag to deprecated members and functions. #201pkg.module
path to package.json
indicating path for ES6 module. May fix #53 for some people. #192Set
. See Polyfill.Changelog
0.9.1