Releases: TanStack/query
Releases · TanStack/query
v5.83.0
Version 5.83.0 - 7/11/25, 5:00 PM
Changes
Feat
Test
- solid-query/suspense: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9407) (0569891) by @sukvvon
- svelte-query/createMutation: switch to fake timers, replace "waitFor" with "vi.waitFor", and add "expect" (#9382) (d6930fd) by @sukvvon
- svelte-query/createQueries: switch to fake timers, and replace "waitFor" with "vi.waitFor" (#9383) (ab7fd72) by @sukvvon
- svelte-query/createQuery: switch to fake timers, replace "waitFor" with "vi.waitFor", and add "expect" (#9384) (2212fff) by @sukvvon
- svelte-query/useIsFetching: switch to fake timers, add "expect", "vi.waitFor", and replace "findByText" with "getByText" (#9386) (06cb8eb) by @sukvvon
- solid-query/useIsMutating: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9404) (9ecfbf7) by @sukvvon
- solid-query/useMutationState: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9405) (89f9483) by @sukvvon
- solid-query/useQueries: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9406) (daad8e3) by @sukvvon
- svelte-query/createInfiniteQuery: switch to fake timers, and replace "waitFor" with "vi.waitFor" (#9381) (b32904c) by @sukvvon
- solid-query/useIsFetching: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9403) (e2bcbe8) by @sukvvon
- solid-query/transition: remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9402) (eb1cab7) by @sukvvon
- solid-query/QueryClientProvider: remove "vi.waitFor", and add "advanceTimersByTimeAsync", "expect" (#9401) (93978d3) by @sukvvon
- svelte-query/useMutationState: switch to fake timers, and replace "waitFor" with "vi.waitFor" (#9388) (32467aa) by @sukvvon
- svelte-query/useIsMutating: switch to fake timers, add "expect", "vi.waitFor", and replace "findByText" with "getByText" (#9387) (c597f76) by @sukvvon
- solid-query/useIsFetching: switch to fake timers, replace "waitFor" with "vi.waitFor" and "findByText" with "getByText" (#9377) (bce4d7e) by @sukvvon
- svelte-query/QueryClientProvider: switch to fake timers, replace "waitFor" with "vi.waitFor", and add "expect" (#9385) (c0fd94e) by @sukvvon
- solid-query/useQueries: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9380) (f7c83c2) by @sukvvon
- solid-query/suspense: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9375) (d1c8cff) by @sukvvon
- solid-query/useMutationState: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9379) (94f2150) by @sukvvon
- solid-query/useIsMutating: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9378) (509064a) by @sukvvon
- solid-query/transition: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9376) (27d82a7) by @sukvvon
- solid-query/useInfiniteQuery: switch to fake timers, and replace "waitFor" with "vi.waitFor" (#9391) (a0aeac0) by @sukvvon
- solid-query/QueryClientProvider: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9374) (c66af8a) by @sukvvon
- vue-query/vueQueryPlugin: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9372) (8c79719) by @sukvvon
- vue-query/useIsMutating: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9373) (47f7e86) by @sukvvon
- vue-query/useIsFetching: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9370) (367a96e) by @sukvvon
- vue-query/useQueries: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9369) (fc0b23e) by @sukvvon
- vue-query/queryClient: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9371) (79893c8) by @sukvvon
- vue-query/useInfiniteQuery: switch to fake timers and replace "sleep" with "advanceTimersByTimeAsync" (#9368) (fc2a95c) by @sukvvon
- react-query/usePrefetchQuery: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9355) (c9daf2c) by @sukvvon
- react-query/useQueries: remove "waitFor" and add "advanceTimersByTimeAsync" (#9367) (fd7c655) by @sukvvon
- react-query/useInfiniteQuery: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9366) (f6085d0) by @sukvvon
- react-query/useMutation: remove "vi.waitFor", add "advanceTimersByTimeAsync" and replace "findByText" with "getByText" (#9352) (c680879) by @sukvvon
- react-query/mutationOptions: switch to fake timers, remove "vi.waitFor", and add "advanceTimersByTimeAsync" (#9397) (5765378) by @sukvvon
- react-query/suspense: remove "vi.waitFor" and add "advanceTimersByTime" (#9350) (f580f08) by @sukvvon
- react-query/useQuery: remove "vi.waitFor", add "advanceTimersByTimeAsync" and replace "findByText" with "getByText" (#9363) (eaf768b) by @sukvvon
- react-query/useSuspenseQueries: remove "waitFor" and add "advanceTimersByTimeAsync" (#9356) (a0a0812) by @sukvvon
Packages
- @tanstack/query-core@5.83.0
- @tanstack/react-query@5.83.0
- @tanstack/solid-query@5.83.0
- @tanstack/vue-query@5.83.0
- @tanstack/query-broadcast-client-experimental@5.83.0
- @tanstack/query-persist-client-core@5.83.0
- @tanstack/query-sync-storage-persister@5.83.0
- @tanstack/react-query-devtools@5.83.0
- @tanstack/react-query-persist-client@5.83.0
- @tanstack/react-query-next-experimental@5.83.0
- @tanstack/solid-query-devtools@5.83.0
- @tanstack/solid-query-persist-client@5.83.0
- @tanstack/svelte-query@5.83.0
- @tanstack/svelte-query-devtools@5.83.0
- @tanstack/svelte-query-persist-client@5.83.0
- @tanstack/vue-query-devtools@5.83.0
- @tanstack/angular-query-experimental@5.83.0
- @tanstack/query-async-storage-persister@5.83.0
- @tanstack/angular-query-devtools-experimental@5.83.0
v5.82.0
Version 5.82.0 - 7/9/25, 3:03 PM
Changes
Feat
Chore
- *: migrate tsup configuration files to TypeScript format (#9330) (4425423) by @manudeli
- add typescript-eslint/require-await rule (#9029) (f4a1115) by MINSEONG KIM
- add .vscode/mcp.json and .github/instructions/nx.instructions.md to .gitignore (#9325) (002550c) by @manudeli
Test
- react-query/useSuspenseQuery: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9364) (ed8cc23) by @sukvvon
- react-query/QueryResetErrorBoundary: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9365) (0907dab) by @sukvvon
- react-query/usePrefetchInfiniteQuery: switch to fake timers, remove "waitFor" and add "advanceTimersByTimeAsync" (#9354) (d449f6f) by @sukvvon
- react-query/QueryResetErrorBoundary: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9349) (ac2fa17) by @sukvvon
- react-query/useSuspenseQuery: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9357) (ed66939) by @sukvvon
- react-query/useInfiniteQuery: switch to fake timers and replace "waitFor" with "vi.waitFor" (#9359) (026c050) by @sukvvon
- react-query/QueryClientProvider: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9345) (058c1eb) by @sukvvon
- react-query/useIsFetching: remove "vi.waitFor", add "advanceTimersByTimeAsync" and replace "findByText" with "getByText" (#9358) (67695ef) by @sukvvon
- react-query/useMutationState: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9353) (8bf2214) by @sukvvon
- react-query/fine-grained-persister: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9344) (3eebcff) by @sukvvon
- query-core/onlineManager: replace "advanceTimersByTimeAsync" with "advanceTimersByTime" (#9337) (2bc52bf) by @sukvvon
- query-core/mutationCache: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9339) (d0bea3f) by @sukvvon
- query-core/queryCache: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9340) (998be8b) by @sukvvon
- query-core/mutations: add "await" to "sleep", remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9341) (d75a78a) by @sukvvon
- query-core/infiniteQueryBehavior: remove most "vi.waitFor" and add "advanceTimersByTimeAsync" (#9333) (b805733) by @sukvvon
- query-core/queriesObserver: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9342) (879a1e3) by @sukvvon
- query-core/queryObserver: remove "vi.waitFor" and add "advanceTimersByTimeAsync" (#9343) (5e6e36d) by @sukvvon
- query-core/infiniteQueryObserver: remove duplicate "InfiniteQueryObserver" and fix grammar in test names (#9332) (a5319d5) by @sukvvon
- query-core/queryClient: add "advanceTimersByTimeAsync" and remove "vi.waitFor" (#9326) (b16e793) by @sukvvon
- query-core/intiniteQueryBehavior: remove duplicate "InfiniteQueryBehavior" in test name (#9331) (33c69ec) by @sukvvon
- query-core/queryClient: replace "advanceTimersByTime" with "advanceTimersByTimeAsync" (#9327) (35d50cb) by @sukvvon
- query-core/notifyManager: replace "queueMicrotask" with "advanceTimersByTimeAsync" (#9329) (8837536) by @sukvvon
- fix typo - remove duplicate "should run" in mutation test name (#9328) (45dac6f) by sue hyeok chae
- query-core/query: add "advanceTimersByTimeAsync" and remove "vi.waitFor" (#9319) (7dafa93) by @sukvvon
- query-core/queryClient: add missing "await" for "advanceTimersByTimeAsync" (#9320) (e4bbb89) by @sukvvon
Ci
- .github/workflows/autofix: use "pnpm run" for prettier script for consistency (#9348) (03aca2e) by @sukvvon
Type
- vue-query: ensure type definition matches implementation (#9276) (1dd32ac) by @Mini-ghost
Packages
- @tanstack/query-core@5.82.0
- @tanstack/react-query@5.82.0
- @tanstack/vue-query@5.82.0
- @tanstack/query-broadcast-client-experimental@5.82.0
- @tanstack/query-persist-client-core@5.82.0
- @tanstack/query-sync-storage-persister@5.82.0
- @tanstack/react-query-devtools@5.82.0
- @tanstack/react-query-persist-client@5.82.0
- @tanstack/react-query-next-experimental@5.82.0
- @tanstack/solid-query@5.82.0
- @tanstack/solid-query-devtools@5.82.0
- @tanstack/solid-query-persist-client@5.82.0
- @tanstack/svelte-query@5.82.0
- @tanstack/svelte-query-devtools@5.82.0
- @tanstack/svelte-query-persist-client@5.82.0
- @tanstack/vue-query-devtools@5.82.0
- @tanstack/angular-query-experimental@5.82.0
- @tanstack/query-async-storage-persister@5.82.0
- @tanstack/angular-query-devtools-experimental@5.82.0
v4.40.1
v5.81.5
Version 5.81.5 - 6/27/25, 7:02 PM
Changes
Fix
- react-query: throw type error when skipToken is present in prefetch query (#9321) (9813a39) by @tmkx
Test
- query-core/focusManager: use "advanceTimersByTime" for boolean focused arg test (#9317) (b5a9095) by @sukvvon
Packages
- @tanstack/query-core@5.81.5
- @tanstack/react-query@5.81.5
- @tanstack/query-broadcast-client-experimental@5.81.5
- @tanstack/query-persist-client-core@5.81.5
- @tanstack/query-sync-storage-persister@5.81.5
- @tanstack/react-query-devtools@5.81.5
- @tanstack/react-query-persist-client@5.81.5
- @tanstack/react-query-next-experimental@5.81.5
- @tanstack/solid-query@5.81.5
- @tanstack/solid-query-devtools@5.81.5
- @tanstack/solid-query-persist-client@5.81.5
- @tanstack/svelte-query@5.81.5
- @tanstack/svelte-query-devtools@5.81.5
- @tanstack/svelte-query-persist-client@5.81.5
- @tanstack/vue-query@5.81.5
- @tanstack/vue-query-devtools@5.81.5
- @tanstack/angular-query-experimental@5.81.5
- @tanstack/query-async-storage-persister@5.81.5
- @tanstack/angular-query-devtools-experimental@5.81.5
v5.81.4
Version 5.81.4 - 6/27/25, 1:54 PM
Changes
Refactor
Test
- query-core/mutationObserver: add "advanceTimersByTimeAsync" in all tests (#9312) (20120ae) by @sukvvon
Packages
- @tanstack/query-core@5.81.4
- @tanstack/query-sync-storage-persister@5.81.4
- @tanstack/query-broadcast-client-experimental@5.81.4
- @tanstack/query-persist-client-core@5.81.4
- @tanstack/react-query@5.81.4
- @tanstack/react-query-devtools@5.81.4
- @tanstack/react-query-persist-client@5.81.4
- @tanstack/react-query-next-experimental@5.81.4
- @tanstack/solid-query@5.81.4
- @tanstack/solid-query-devtools@5.81.4
- @tanstack/solid-query-persist-client@5.81.4
- @tanstack/svelte-query@5.81.4
- @tanstack/svelte-query-devtools@5.81.4
- @tanstack/svelte-query-persist-client@5.81.4
- @tanstack/vue-query@5.81.4
- @tanstack/vue-query-devtools@5.81.4
- @tanstack/angular-query-experimental@5.81.4
- @tanstack/query-async-storage-persister@5.81.4
- @tanstack/angular-query-devtools-experimental@5.81.4
v5.81.3
Version 5.81.3 - 6/27/25, 9:11 AM
Changes
Fix
- docs: Update persistQueryClient.md (f052bf2) by Dominik Dorfmeister
Chore
- angular-query: remove obsolete angular platform-browser-dynamic (#9311) (b180d83) by Arnoud
- update @tanstack/config (#9302) (f7cf1b5) by Arnoud
Test
Ci
- apply automated fixes (0de3843) by autofix-ci[bot]
Docs
- angular-query: fix nullish coalescing warnings in examples (f0741db) by Arnoud de Vries
Type
- vue-query: introduce
ShallowOption
to unifyshallow
type and JSDoc (#9277) (df56456) by @Mini-ghost
Packages
- @tanstack/svelte-query@5.81.3
- @tanstack/svelte-query-devtools@5.81.3
- @tanstack/svelte-query-persist-client@5.81.3
- @tanstack/vue-query@5.81.3
- @tanstack/angular-query-devtools-experimental@5.81.3
- @tanstack/vue-query-devtools@5.81.3
v5.81.2
Version 5.81.2 - 6/21/25, 10:28 PM (Manual Release)
Changes
Fix
- angular-query: fix package publishing (#9297) (5b0d320) by Arnoud
- trigger release (0e44a74) by Dominik Dorfmeister
- trigger release (76c91d8) by Dominik Dorfmeister
Refactor
Chore
- angular-query: revert to tsup to build package (#9298) (48f116c) by Arnoud
- update documentation generation and publishing scripts (#9296) (b766d07) by @manudeli
- add .cursor/rules to .gitignore (#9295) (51cc9e7) by @manudeli
- angular-query: run prepack after build (#9294) (93caca1) by Arnoud
Docs
- add Chrome extension information for TanStack Query devtools across multiple frameworks (#9275) (1a0ab99) by Dmytro Borysov
- clarify comment regarding userIds in dependent queries example (#9288) (22368e0) by @ahelmi365
Packages
- @tanstack/eslint-plugin-query@5.81.2
- @tanstack/query-async-storage-persister@5.81.2
- @tanstack/query-broadcast-client-experimental@5.81.2
- @tanstack/query-core@5.81.2
- @tanstack/query-devtools@5.81.2
- @tanstack/query-persist-client-core@5.81.2
- @tanstack/query-sync-storage-persister@5.81.2
- @tanstack/react-query@5.81.2
- @tanstack/react-query-devtools@5.81.2
- @tanstack/react-query-persist-client@5.81.2
- @tanstack/react-query-next-experimental@5.81.2
- @tanstack/solid-query@5.81.2
- @tanstack/solid-query-devtools@5.81.2
- @tanstack/solid-query-persist-client@5.81.2
- @tanstack/svelte-query@5.81.2
- @tanstack/svelte-query-devtools@5.81.2
- @tanstack/svelte-query-persist-client@5.81.2
- @tanstack/vue-query@5.81.2
- @tanstack/vue-query-devtools@5.81.2
- @tanstack/angular-query-devtools-experimental@5.81.2
- @tanstack/angular-query-experimental@5.81.2
v5.80.10
Version 5.80.10 - 6/19/25, 8:52 AM
Changes
Perf
- query-core: clear query"s revertState once fetching ends successfully (#9265) (fa48673) by LoicDavid
Chore
Ci
Docs
- Change the word "Vue" to "Solid" (#9287) (af1de4d) by Anders Madsen
- Update community-projects.md (#9285) (5b017d1) by @klis87
Packages
- @tanstack/query-core@5.80.10
- @tanstack/query-broadcast-client-experimental@5.80.10
- @tanstack/query-persist-client-core@5.80.10
- @tanstack/query-sync-storage-persister@5.80.10
- @tanstack/react-query@5.80.10
- @tanstack/react-query-devtools@5.80.10
- @tanstack/react-query-persist-client@5.80.10
- @tanstack/react-query-next-experimental@5.80.10
- @tanstack/solid-query@5.80.10
- @tanstack/solid-query-devtools@5.80.10
- @tanstack/solid-query-persist-client@5.80.10
- @tanstack/svelte-query@5.80.10
- @tanstack/svelte-query-devtools@5.80.10
- @tanstack/svelte-query-persist-client@5.80.10
- @tanstack/vue-query@5.80.10
- @tanstack/vue-query-devtools@5.80.10
- @tanstack/angular-query-experimental@5.80.10
- @tanstack/query-async-storage-persister@5.80.10
- @tanstack/angular-query-devtools-experimental@5.80.10