Skip to content

v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Jul 20:28
· 15 commits to beta since this release

2.0.0-beta.1 (2022-07-04)

Bug Fixes

  • re-export everything from react-query core (#189) (24e9b75)
  • remove parseArgs helpers exports (7374ed1)
  • unwrap queryFn key type (#193) (d89309b)
  • use generic TQueryKey in useQuery and useInfiniteQuery parameters (#185) (6fb5f18)

Features

  • context sharing (#188) (323bf50)
  • refetch, remove, reset returned as function not ref (43da7d8)
  • update deps, query core (05ec6cb)
  • update query/core to beta 15 (#193) (e8f8141)
  • update react-query core to beta release (#183) (ffa0336)
  • useIsFetching reactivity improvements (f7a98b6)
  • useIsMutating reactivity improvements (f1066d0)

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
  • removed parseArgs helpers exports since those might have unintended side-effects
  • refetch, remove, reset are now returned as function instead of ref