Skip to content

v6.0.0

Choose a tag to compare

@greguz greguz released this 08 Aug 15:12
· 4 commits to master since this release

Breaking changes

  • Rework type declarations (this doesn't break the core funcionality).
    • Remove second generic from Lazy type.
    • Remove OneOrMore type.
    • Rename Result type to One.
    • Query hooks now accepts undefined queries (this is a fix).
  • Remove options field from thrown errors (was error.info.options).

Features

  • Better arguments validation.
  • Support Adapter's findEntity and filterEntities methods.
  • Add skip(n) mutator.
  • Add limit(n) mutator.
  • Add mutable flag to Mutation class (inherit from Store's mutable option).
  • Make the delete(predicate) mutator conditional.
  • Add raw getter to Store class (returns the Adapter's raw property).