v2.0.0-alpha.1
Pre-release
Pre-release
·
13 commits
to alpha
since this release
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/vuedirectory was renamed tosrc/vuejs onSuccessis no longer called fromsetQueryData- The
cancelmethod 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
additionalClientsoption from VueQueryPlugin - Removed
nuxtutilities in favor of using VueQueryPlugin - see docs - Removed
useQueryProvider- use VueQueryPlugin