github TanStack/query v4.0.0-alpha.1

latest releases: v5.60.1, v5.60.0, v5.59.20...
pre-release2 years ago

4.0.0-alpha.1 (2021-12-07)

Features

  • New Network Mode
  • Mutation Cache Garbage Collection
  • Tracked Queries per default

BREAKING CHANGES

  • Query Keys (and Mutation Keys) need to be an Array
  • Separate hydration exports have been removed
  • notifyOnChangeProps property no longer accepts "tracked" as a value
  • notifyOnChangePropsExclusion has been removed
  • Consistent behavior for cancelRefetch
  • New Query Filters
  • Streamlined NotifyEvents
  • The src/react directory was renamed to src/reactjs
  • onSuccess is no longer called from setQueryData
  • persistQueryClient and the corresponding persister plugins are no longer experimental and have been renamed
  • 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

Don't miss a new query release

NewReleases is sending notifications on new releases.