Skip to content

Update dependency @tanstack/react-query to v5 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 11, 2024

This PR contains the following updates:

Package Change Age Confidence
@tanstack/react-query (source) ^4.36.1 -> ^5.0.0 age confidence

Release Notes

TanStack/query (@​tanstack/react-query)

v5.84.1

Compare Source

v5.84.0

Compare Source

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
Packages

v5.83.1

Compare Source

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

Changes

Refactor
Chore
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
Docs

Packages

v5.83.0

Compare Source

Version 5.83.0 - 7/11/25, 5:00 PM

Changes

Feat
  • core: QueryObserver returns isEnabled flag (#​9408) (23c8908) by Dominik Dorfmeister
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

v5.82.0

Compare Source

Version 5.82.0 - 7/9/25, 3:03 PM

Changes
Feat
Chore
Test
Ci
Type
Packages

v5.81.5

Compare Source

Version 5.81.5 - 6/27/25, 7:02 PM

Changes

Fix
Test

Packages

v5.81.4

Compare Source

Version 5.81.4 - 6/27/25, 1:54 PM

Changes

Refactor
  • deprecate createSyncStoragePersister (#​9316) (1078bce) by Dominik Dorfmeister
Test

Packages

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
  • angular-query: build with vite, publish d.ts files to package root (#​9292) (658d5fa) by Arnoud
Chore
Docs
  • add Chrome extension information for TanStack Query devtools across multiple frameworks (

Configuration

📅 Schedule: Branch creation - "before 10am on Thursday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from 6575afb to ab29c16 Compare January 14, 2024 10:48
@renovate renovate bot changed the title Update dependency @tanstack/react-query to v5 Update dependency @tanstack/react-query to v5 - autoclosed Jan 14, 2024
@renovate renovate bot closed this Jan 14, 2024
@renovate renovate bot deleted the renovate/major-tanstack-query-monorepo branch January 14, 2024 11:26
@renovate renovate bot changed the title Update dependency @tanstack/react-query to v5 - autoclosed Update dependency @tanstack/react-query to v5 Jan 14, 2024
@renovate renovate bot reopened this Jan 14, 2024
@renovate renovate bot restored the renovate/major-tanstack-query-monorepo branch January 14, 2024 21:17
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch 2 times, most recently from 77b4cad to 954a630 Compare January 18, 2024 03:45
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from 954a630 to 2f862bf Compare January 25, 2024 07:06
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from 2f862bf to b475178 Compare February 8, 2024 13:36
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from b475178 to edbcbcf Compare March 14, 2024 12:50
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from edbcbcf to f870a94 Compare April 11, 2024 20:45
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch 2 times, most recently from fa6d21b to 5474169 Compare August 1, 2025 00:48
@renovate renovate bot force-pushed the renovate/major-tanstack-query-monorepo branch from 5474169 to c4f33c1 Compare August 1, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants