Download Latest Version v5.84.1 source code.tar.gz (18.8 MB)
Email in envelope

Get an email when there's a new version of TanStack Query

Home / v5.83.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-31 9.2 kB
v5.83.1 source code.tar.gz 2025-07-31 18.8 MB
v5.83.1 source code.zip 2025-07-31 19.6 MB
Totals: 3 Items   38.4 MB 0

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
Source: README.md, updated 2025-07-31