Skip to content

v0.4.0

Compare
Choose a tag to compare
@SpaceK33z SpaceK33z released this 16 Mar 17:26
· 298 commits to master since this release
  • Stores now only accept one argument, which are the options.
  • When calling model.delete(), it will now do a non-optimistic delete by default, meaning the model will only be removed from the store (if any), when the request is finished. Add { immediate: true } for the old behavior.
  • Add onRequestError method to BinderApi, which gets called for every request error. This is useful if you want to show a notification if a request fails.
  • Return this for model.parse() and store.parse() methods.
  • primaryKey on a model is now static.