Skip to content

v1.0.0-rc.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@phortx phortx released this 11 Jun 06:12
· 149 commits to master since this release

Changelog

Breaking Changes

The call syntax for custom queries and mutations changed:

  • $customQuery({ query: 'example' }) -> $customQuery({ name: 'example' })

  • customQuery({ query: 'example', id: post.id }) -> customQuery({ name: 'example', filter: { id: post.id } })

  • $mutate({ mutation: 'upvotePost' }) -> $mutate({ name: 'upvotePost' })

  • mutate({ mutation: 'upvotePost', id: post.id }) -> mutate({ name: 'upvotePost', args: { id: post.id } })

Bugfixes

  • Fixed the detection of deprecated records after $persist()
  • Fixed a promise issue within the code

Features

  • Allow to set multiple field for custom queries and mutations.

Documentation

  • Added Multiple or single record section to custom mutations and queries chapter.