tannerlinsley/react-query
 Watch   
 Star   
 Fork   
10 days ago
react-query

v5.85.5

Version 5.85.5 - 8/19/25, 9:41 AM

Changes

Fix

  • core: only reject when promise gets used (#9576) (abab082) by Dominik Dorfmeister

Packages

  • @tanstack/query-core@5.85.5
  • @tanstack/query-broadcast-client-experimental@5.85.5
  • @tanstack/query-persist-client-core@5.85.5
  • @tanstack/query-sync-storage-persister@5.85.5
  • @tanstack/react-query@5.85.5
  • @tanstack/react-query-devtools@5.85.5
  • @tanstack/react-query-persist-client@5.85.5
  • @tanstack/react-query-next-experimental@5.85.5
  • @tanstack/solid-query@5.85.5
  • @tanstack/solid-query-devtools@5.85.5
  • @tanstack/solid-query-persist-client@5.85.5
  • @tanstack/svelte-query@5.85.5
  • @tanstack/svelte-query-devtools@5.85.5
  • @tanstack/svelte-query-persist-client@5.85.5
  • @tanstack/vue-query@5.85.5
  • @tanstack/vue-query-devtools@5.85.5
  • @tanstack/angular-query-experimental@5.85.5
  • @tanstack/query-async-storage-persister@5.85.5
  • @tanstack/angular-query-devtools-experimental@5.85.5
10 days ago
react-query

v5.85.4

Version 5.85.4 - 8/19/25, 9:10 AM

Changes

Fix

  • core: never revert to undefined data (#9577) (e4f5ce8) by Dominik Dorfmeister

Docs

  • react-query: recommend defaultError = unknown instead of AxiosError (#9575) (2989e69) by Lee
  • update community resources (f1e608b) by TkDodo

Packages

  • @tanstack/query-core@5.85.4
  • @tanstack/query-broadcast-client-experimental@5.85.4
  • @tanstack/query-persist-client-core@5.85.4
  • @tanstack/query-sync-storage-persister@5.85.4
  • @tanstack/react-query@5.85.4
  • @tanstack/react-query-devtools@5.85.4
  • @tanstack/react-query-persist-client@5.85.4
  • @tanstack/react-query-next-experimental@5.85.4
  • @tanstack/solid-query@5.85.4
  • @tanstack/solid-query-devtools@5.85.4
  • @tanstack/solid-query-persist-client@5.85.4
  • @tanstack/svelte-query@5.85.4
  • @tanstack/svelte-query-devtools@5.85.4
  • @tanstack/svelte-query-persist-client@5.85.4
  • @tanstack/vue-query@5.85.4
  • @tanstack/vue-query-devtools@5.85.4
  • @tanstack/angular-query-experimental@5.85.4
  • @tanstack/query-async-storage-persister@5.85.4
  • @tanstack/angular-query-devtools-experimental@5.85.4
15 days ago
react-query

v5.85.3

Version 5.85.3 - 8/14/25, 1:05 PM

Changes

Fix

  • query-core: race condition in StrictMode (#9565) (51aad7d) by Dominik Dorfmeister

Test

  • core: tests for StrictMode behaviour (de3626a) by TkDodo

Packages

  • @tanstack/query-core@5.85.3
  • @tanstack/query-broadcast-client-experimental@5.85.3
  • @tanstack/query-persist-client-core@5.85.3
  • @tanstack/query-sync-storage-persister@5.85.3
  • @tanstack/react-query@5.85.3
  • @tanstack/react-query-devtools@5.85.3
  • @tanstack/react-query-persist-client@5.85.3
  • @tanstack/react-query-next-experimental@5.85.3
  • @tanstack/solid-query@5.85.3
  • @tanstack/solid-query-devtools@5.85.3
  • @tanstack/solid-query-persist-client@5.85.3
  • @tanstack/svelte-query@5.85.3
  • @tanstack/svelte-query-devtools@5.85.3
  • @tanstack/svelte-query-persist-client@5.85.3
  • @tanstack/vue-query@5.85.3
  • @tanstack/vue-query-devtools@5.85.3
  • @tanstack/angular-query-experimental@5.85.3
  • @tanstack/query-async-storage-persister@5.85.3
  • @tanstack/angular-query-devtools-experimental@5.85.3
15 days ago
react-query

v5.85.2

Version 5.85.2 - 8/14/25, 8:51 AM

Changes

Fix

  • query-core: query cancellation and reverting (#9293) (0991576) by Dominik Dorfmeister

Packages

  • @tanstack/query-core@5.85.2
  • @tanstack/react-query@5.85.2
  • @tanstack/query-broadcast-client-experimental@5.85.2
  • @tanstack/query-persist-client-core@5.85.2
  • @tanstack/query-sync-storage-persister@5.85.2
  • @tanstack/react-query-devtools@5.85.2
  • @tanstack/react-query-persist-client@5.85.2
  • @tanstack/react-query-next-experimental@5.85.2
  • @tanstack/solid-query@5.85.2
  • @tanstack/solid-query-devtools@5.85.2
  • @tanstack/solid-query-persist-client@5.85.2
  • @tanstack/svelte-query@5.85.2
  • @tanstack/svelte-query-devtools@5.85.2
  • @tanstack/svelte-query-persist-client@5.85.2
  • @tanstack/vue-query@5.85.2
  • @tanstack/vue-query-devtools@5.85.2
  • @tanstack/angular-query-experimental@5.85.2
  • @tanstack/query-async-storage-persister@5.85.2
  • @tanstack/angular-query-devtools-experimental@5.85.2
15 days ago
react-query

v5.85.1

Version 5.85.1 - 8/14/25, 7:57 AM

Changes

Fix

  • query-core: have revertState capture manual updates (#9558) (4806dfa) by Dominik Dorfmeister

Chore

  • update bundle-size badges to react 19.1.1 (9ae770b) by TkDodo

Packages

  • @tanstack/query-core@5.85.1
  • @tanstack/query-broadcast-client-experimental@5.85.1
  • @tanstack/query-persist-client-core@5.85.1
  • @tanstack/query-sync-storage-persister@5.85.1
  • @tanstack/react-query@5.85.1
  • @tanstack/react-query-devtools@5.85.1
  • @tanstack/react-query-persist-client@5.85.1
  • @tanstack/react-query-next-experimental@5.85.1
  • @tanstack/solid-query@5.85.1
  • @tanstack/solid-query-devtools@5.85.1
  • @tanstack/solid-query-persist-client@5.85.1
  • @tanstack/svelte-query@5.85.1
  • @tanstack/svelte-query-devtools@5.85.1
  • @tanstack/svelte-query-persist-client@5.85.1
  • @tanstack/vue-query@5.85.1
  • @tanstack/vue-query-devtools@5.85.1
  • @tanstack/angular-query-experimental@5.85.1
  • @tanstack/query-async-storage-persister@5.85.1
  • @tanstack/angular-query-devtools-experimental@5.85.1
17 days ago
react-query

v5.85.0

Version 5.85.0 - 8/12/25, 12:41 PM

Changes

Feat

  • add solid devtools panel export to solid devtools (#9551) (c63713f) by Alem Tuzlak

Chore

  • update browser icons (#9555) (6402d75) by Dmytro Borysov
  • tsconfig.json: add "test-setup.ts" to "include" array (#9545) (6bf2eb7) by @sukvvon
  • angular-query: add infiniteQueryOptions tests from react-query (#9544) (95db48b) by Arnoud

Test

  • react-query/useIsFetching: remove unnecessary "advanceTimersByTimeAsync", unify to "rendered", and add detailed "expect" for custom queryClient and state updates during rendering (#9530) (77e53b0) by @sukvvon

Docs

  • Add Firefox and Edge browser extension support to devtools docs (#9548) (d25c0da) by Dmytro Borysov

Other

  • (763cee3) by Lubos
  • (fba477b) by Lubos
  • (3a999cc) by Lubos
  • (0455d58) by Lubos

Packages

  • @tanstack/react-query@5.85.0
  • @tanstack/react-query-devtools@5.85.0
  • @tanstack/solid-query-devtools@5.85.0
  • @tanstack/angular-query-experimental@5.85.0
  • @tanstack/react-query-persist-client@5.85.0
  • @tanstack/react-query-next-experimental@5.85.0
  • @tanstack/angular-query-devtools-experimental@5.85.0
21 days ago
react-query

v5.84.2

Version 5.84.2 - 8/8/25, 2:00 PM

Changes

Fix

  • angular-query: align mutation options to most recent react-query types (#9543) (cd6ea9a) by Arnoud

Test

  • react-query/mutationOptions: add tests for without "mutationKey" in "mutationOptions" and add "sleep" to "mutationFn" (#9510) (34657e5) by @sukvvon

Packages

  • @tanstack/react-query@5.84.2
  • @tanstack/angular-query-experimental@5.84.2
  • @tanstack/react-query-devtools@5.84.2
  • @tanstack/react-query-persist-client@5.84.2
  • @tanstack/react-query-next-experimental@5.84.2
  • @tanstack/angular-query-devtools-experimental@5.84.2
28 days ago
react-query

v5.84.1

Version 5.84.1 - 8/1/25, 12:14 PM

Changes

Refactor

  • angular-query: restructure package type declaration path (#9519) (025f080) by Arnoud

Test

  • react-query/QueryResetErrorBoundary: add "sleep" and simplify "queryFn", add multiple "expect" cases (#9523) (711010c) by @sukvvon

Packages

  • @tanstack/react-query@5.84.1
  • @tanstack/angular-query-experimental@5.84.1
  • @tanstack/react-query-devtools@5.84.1
  • @tanstack/react-query-persist-client@5.84.1
  • @tanstack/react-query-next-experimental@5.84.1
  • @tanstack/angular-query-devtools-experimental@5.84.1
28 days ago
react-query

v5.84.0

Version 5.84.0 - 7/31/25, 7:52 PM

Changes

Feat

  • devtools: add setting to hide disabled queries (#9500) (7b19d49) by JonLuca De Caro

Fix

  • react-query: HydrationBoundary has strictly typed state (#9520) (e07812b) by clover caruso

Chore

  • angular-query: run publint and attw on tarball (#9518) (250dbd9) by Arnoud

Docs

  • add missing period (#9509) (c8322d9) by Sajad Torkamani

Packages

  • @tanstack/query-devtools@5.84.0
  • @tanstack/react-query@5.84.0
  • @tanstack/react-query-devtools@5.84.0
  • @tanstack/solid-query-devtools@5.84.0
  • @tanstack/svelte-query-devtools@5.84.0
  • @tanstack/vue-query-devtools@5.84.0
  • @tanstack/angular-query-experimental@5.84.0
  • @tanstack/react-query-persist-client@5.84.0
  • @tanstack/react-query-next-experimental@5.84.0
  • @tanstack/angular-query-devtools-experimental@5.84.0
29 days ago
react-query

v5.83.1

Version 5.83.1 - 7/31/25, 12:42 PM

Changes

Refactor

  • angular-query: build package using vite (#9517) (422f2ec) by Arnoud

Chore

  • angular-query: move test-setup.ts (#9516) (74d8ce6) by Arnoud
  • deps: update marocchino/sticky-pull-request-comment digest to 28d58c4 (#9013) (53a2eae) by renovate[bot]
  • manually update dependencies (#9464) (9133c10) by Lachlan Collins

Test

  • query-core/mutationCache: add "sleep" to callbacks and remove "await" from "executeMutation" using "advanceTimersByTimeAsync" (#9506) (cc45977) by @sukvvon
  • svelte-query/createQueries: simplify "queryFn" and add test for success when queries reslove at different times (#9494) (e9d9080) by @sukvvon
  • svelte-query/{QueryClientProvider,useIsFetching,useIsMutating}: simplify "queryFn" (#9495) (52fdff2) by @sukvvon
  • svelte-query/createQuery: simplify "queryFn" and replace "queryByText" with "getByText" (#9490) (234f2f4) by @sukvvon
  • svelte-query/createMutation: add "sleep" in "mutationFn" and replace "queryByText" with "getByText" (#9491) (80242d6) by @sukvvon
  • svelte-query/createInfiniteQuery: add "sleep", remove "Number" in "queryFn", and replace "queryByText" with "getByText" (#9492) (c273ba4) by @sukvvon
  • svelte-query/useMutationState: simplify "queryFn" and replace "queryByText" with "getByText" (#9489) (880d183) by @sukvvon
  • solid-query/useIsMutating: simplify "mutationFn" and add "expect" for "isMutating" state transitions (#9486) (552fe4b) by @sukvvon
  • react-query/useSuspenseQueries: simplify "queryFn" and add "expect" for "loading" text (#9477) (6bc45b8) by @sukvvon
  • solid-query/suspense: simplify "queryFn" and add "expect" for "loading" text (#9479) (039d214) by @sukvvon
  • solid-query/useInfiniteQuery: add "sleep", remove "Number" in "queryFn", and simplify it (#9484) (bf9f9dc) by @sukvvon
  • react-query/useIsFetching: simplify "queryFn" and add "expect" using "toBeInTheDocument (#9478) (9041b41) by @sukvvon
  • solid-query/useIsFetching: simplify "queryFn" and add "expect" for "isFetching" state transitions (#9480) (c2e8330) by @sukvvon
  • react-query/HydrationBoundary: use precise time in "advanceTimersByTimeAsync", add "expect" using "toBeInTheDocument", and simplify "queryFn" (#9472) (9376835) by @sukvvon
  • react-query/suspense: add "sleep" in "queryFn", and add "expect" for "loading" text (#9468) (cb9ab1e) by @sukvvon
  • react-query/ssr: simplify "queryFn" and add "sleep" for accurate testing (#9471) (72c2a4c) by @sukvvon
  • react-query/useSuspenseQuery: add "sleep" in "queryFn", simplify it, and add "expect" for "loading" text (#9469) (db6281e) by @sukvvon
  • react-query/useInfiniteQuery: remove "Number" in "queryFn", and simplify it (#9470) (d7af654) by @sukvvon
  • react-query/useSuspenseQueries: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9450) (ac5d858) by @sukvvon
  • react-query/usePrefetchInfiniteQuery: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9447) (ff13c2e) by @sukvvon
  • react-query/useInfiniteQuery: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9446) (efb14d6) by @sukvvon
  • react-query/useSuspenseQuery: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9455) (05c62a0) by @sukvvon
  • react-query/QueryResetErrorBoundary: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9456) (e349d85) by @sukvvon
  • react-query/usePrefetchQuery: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9448) (63bc828) by @sukvvon
  • react-query/useMutation: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9458) (e2ce12c) by @sukvvon
  • react-query/useQueries: replace inline "Promise" delays with "sleep", and add "expect" using "toBeInTheDocument" (#9466) (ed90d1a) by @sukvvon
  • angular-query-experimental/providers: replace "runAllTimersAsync" with "advanceTimersByTimeAsync" (#9436) (bf77ab7) by @sukvvon
  • angular-query-experimental/inject-mutation-state: replace "runAllTimersAsync", "advanceTimersByTime" with "advanceTimersByTimeAsync" (#9438) (2d71a22) by @sukvvon
  • react-query/fine-grained-persister: use precise time in "advanceTimersByTimeAsync", and add "expect" using "toBeInTheDocument" (#9441) (7c58392) by @sukvvon
  • react-query/QueryClientProvider: add "expect" using "toBeInTheDocument" (#9442) (958b0f0) by @sukvvon
  • react-query/ssr: replace "advanceTimersByTimeAsync" with "sleep" in "queryFn", remove "await" from "fetchQuery" and related methods (#9443) (bfcff0b) by @sukvvon
  • react-query/suspense: change "queryFn" to return a "Promise", replace "advanceTimersByTime" with "advanceTimersByTimeAsync", and add "expect" (#9444) (4daf694) by @sukvvon
  • query-core/queryCache: remove redundant "advanceTimersByTimeAsync" (#9433) (4d8bbbf) by Wonsuk Choi
  • angular-query-experimental/inject-query: use precise time in "advanceTimersByTimeAsync" (#9435) (b4a847e) by @sukvvon
  • angular-query-experimental/inject-mutation: use precise time in "advanceTimersByTimeAsync" (#9434) (b67caee) by @sukvvon
  • query-core/queryObserver: use precise time in "advanceTimersByTimeAsync" (#9432) (343501c) by @sukvvon
  • query-core/queriesObserver: use precise time in "advanceTimersByTimeAsync" (#9429) (c65869e) by @sukvvon
  • angular-query-experimental/inject-is-mutating: separate "injectionContext" from testing, and add more "expect" (#9425) (9dcd588) by @sukvvon
  • svelte-query/useIsMutating: replace incorrect usage of "fetching" with "mutating" (#9424) (d7f1621) by @sukvvon
  • query-core/infiniteQueryBehavior: remove "vi.waitFor", and add "advanceTimersByTimeAsync" in infinite loop on retry test (#9426) (d5a4d35) by @sukvvon
  • query-core/mutations: replace "runAllTimersAsync" with "advanceTimersByTimeAsync", and use precise time in "advanceTimersByTimeAsync" (#9427) (357bafb) by @sukvvon
  • svelte-query/createQuery: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9416) (f8a20ac) by @sukvvon
  • svelte-query/useMutationState: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9420) (431784d) by @sukvvon
  • angular-query-experimental/inject-infinite-query: use precise time in "advanceTimersByTimeAsync" (#9422) (5a783b1) by @sukvvon
  • vue-query/useQuery: switch to fake timers, and replace "sleep" with "advanceTimersByTimeAsync" (#9421) (8e77701) by @sukvvon
  • angular-query-experimental/inject-is-fetching: replace "advanceTimersByTime" with "advanceTimersByTimeAsync", and add "expect" "isFetching" to equal 0 (#9423) (91bbf48) by @sukvvon
  • svelte-query/useIsMutating: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9419) (77a358a) by @sukvvon
  • svelte-query/useIsFetching: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9418) (5062c59) by @sukvvon
  • svelte-query/QueryClientProvider: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9417) (f285dee) by @sukvvon
  • svelte-query/createQueries: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9415) (a5c71cc) by @sukvvon
  • svelte-query/createMutation: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9414) (c2ece73) by @sukvvon
  • svelte-query/createInfiniteQuery: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9413) (0cd4e7d) by @sukvvon
  • solid-query/useInfiniteQuery: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9411) (c5bd083) by Wonsuk Choi
  • solid-query/useMutation: remove "vi.waitFor", replace "findByText" with "getByText", and add "advanceTimersByTimeAsync", "expect" (#9409) (4349e75) by Wonsuk Choi

Ci

  • add labeler script from router (#9503) (3cc59be) by Lachlan Collins
  • replace fast-glob with tinyglobby (#9501) (a3f49cf) by Lachlan Collins
  • enable prettier experimental CLI (#9465) (a2ff833) by Lachlan Collins

Docs

  • example: Remove unnecessary data truthiness check (#9485) (1e83468) by davidmoranetflix
  • add signal to queryFn for cancelQueries to work properly (#9475) (fba2c86) by Wilson
  • react-query: change comma to sentence period (#9459) (76211bb) by DavidPfl
  • add text regarding local environment recommendations for symlinks (#9451) (3bcaa41) by 차승하
  • solid: fix incorrect link to state managers guide (#9430) (35d5d55) by @LimChaeJune

Packages

  • @tanstack/eslint-plugin-query@5.83.1
  • @tanstack/query-core@5.83.1
  • @tanstack/query-devtools@5.83.1
  • @tanstack/react-query@5.83.1
  • @tanstack/solid-query@5.83.1
  • @tanstack/solid-query-devtools@5.83.1
  • @tanstack/solid-query-persist-client@5.83.1
  • @tanstack/svelte-query@5.83.1
  • @tanstack/svelte-query-devtools@5.83.1
  • @tanstack/svelte-query-persist-client@5.83.1
  • @tanstack/vue-query@5.83.1
  • @tanstack/angular-query-experimental@5.83.1
  • @tanstack/query-broadcast-client-experimental@5.83.1
  • @tanstack/query-persist-client-core@5.83.1
  • @tanstack/query-sync-storage-persister@5.83.1
  • @tanstack/react-query-devtools@5.83.1
  • @tanstack/react-query-persist-client@5.83.1
  • @tanstack/react-query-next-experimental@5.83.1
  • @tanstack/vue-query-devtools@5.83.1
  • @tanstack/angular-query-devtools-experimental@5.83.1
  • @tanstack/query-async-storage-persister@5.83.1