Skip to content

v2.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 May 21:47
· 13 commits to alpha since this release
ffa0336

2.0.0-alpha.1 (2022-05-09)

Features

  • update react-query core to beta release (#183) (ffa0336)
  • New Network Mode
  • Mutation Cache Garbage Collection
  • useQueries: api now takes an object as input
  • Added optional logger prop to QueryClient config

BREAKING CHANGES

  • Query Keys (and Mutation Keys) need to be an Array
  • Consistent behavior for cancelRefetch
  • New Query Filters
  • Streamlined NotifyEvents
  • The src/vue directory was renamed to src/vuejs
  • onSuccess is no longer called from setQueryData
  • The cancel method on promises is no longer supported
  • Queries and mutations, per default, need network connection to run
  • Removed undocumented methods from the queryClient
  • Undefined is now an illegal cache value
  • Removed idle state (use fetchStatus)
  • Removed setLogger
  • cacheTime: default cacheTime changed to Infinity for SSR
  • ESM compliant bundling
  • Removed devtools component in favor of official Vue Devtools plugin
  • Removed additionalClients option from VueQueryPlugin
  • Removed nuxt utilities in favor of using VueQueryPlugin - see docs
  • Removed useQueryProvider - use VueQueryPlugin