Skip to content

Releases: TanStack/query

v4.0.0-alpha.1

07 Dec 08:00
b84681f

Choose a tag to compare

v4.0.0-alpha.1 Pre-release
Pre-release

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

v3.34.0

01 Dec 06:00
aec640a

Choose a tag to compare

3.34.0 (2021-12-01)

Features

v3.33.7

28 Nov 07:21
dc2df10

Choose a tag to compare

3.33.7 (2021-11-28)

Bug Fixes

  • useQuery: continue retries if query unmounts and remounts (#3032) (dc2df10)

v3.33.6

26 Nov 20:10
c51498a

Choose a tag to compare

3.33.6 (2021-11-26)

Bug Fixes

  • useQueries: search for unused observers if keepPreviousData (#2680) (#2866) (c51498a)

v3.33.5

24 Nov 19:12
c6906b3

Choose a tag to compare

3.33.5 (2021-11-24)

Bug Fixes

  • useQueries: add useMemo to useQueries to keep result stable (#2992) (c6906b3)

v3.33.4

22 Nov 16:44
0aafb42

Choose a tag to compare

3.33.4 (2021-11-22)

Bug Fixes

  • query: make sure prefetched queries can be garbage collected (#3007) (0aafb42)

v3.33.3

22 Nov 13:49
27e72de

Choose a tag to compare

3.33.3 (2021-11-22)

Bug Fixes

  • useQuery: cleanup queries even if they have been fetching (#2950) (27e72de)

v3.33.2

20 Nov 08:01
58dc1ce

Choose a tag to compare

3.33.2 (2021-11-20)

Bug Fixes

  • useQuery: fix tracked queries and error boundaries (#2993) (58dc1ce)

v3.33.1

17 Nov 17:20
16131c3

Choose a tag to compare

3.33.1 (2021-11-17)

Bug Fixes

v3.33.0

17 Nov 14:23
5285479

Choose a tag to compare

3.33.0 (2021-11-17)

Features