Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2025

This PR contains the following updates:

Package Change Age Confidence
@tanstack/query-core (source) ^5.77.1 -> ^5.83.1 age confidence
@tanstack/query-core-v4 (source) ^4.36.1 -> ^4.40.0 age confidence
@tanstack/react-query (source) ^5.77.1 -> ^5.84.2 age confidence
@tanstack/react-query-v4 (source) ^4.36.1 -> ^4.40.1 age confidence
@tanstack/vue-query (source) ^5.77.1 -> ^5.83.1 age confidence
@tanstack/vue-query-v4 (source) ^4.37.1 -> ^4.40.0 age confidence
@types/node (source) ^18.19.103 -> ^18.19.122 age confidence
@types/react (source) ^18.3.22 -> ^18.3.23 age confidence
@vitest/coverage-istanbul (source) ^3.1.4 -> ^3.2.4 age confidence
@vitest/ui (source) ^3.1.4 -> ^3.2.4 age confidence
eslint (source) ^9.27.0 -> ^9.33.0 age confidence
happy-dom ^17.4.7 -> ^17.6.3 age confidence
release-it ^19.0.2 -> ^19.0.4 age confidence
typescript (source) ^5.8.3 -> ^5.9.2 age confidence
unbuild ^3.5.0 -> ^3.6.0 age confidence
vitest (source) ^3.1.4 -> ^3.2.4 age confidence
vue (source) ^3.5.14 -> ^3.5.18 age confidence

Release Notes

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

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](https://redirect.github.com/TanStack/query/co


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 1am and before 2am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 16, 2025

Open in StackBlitz

npm i https://pkg.pr.new/aa900031/tanstack-query-callbacks@38

commit: e0c32b9

@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fd40f4e) to head (e6705aa).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           40        40           
  Branches        15        15           
=========================================
  Hits            40        40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 5 times, most recently from 91d13e8 to d3c5171 Compare June 25, 2025 18:10
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 4 times, most recently from 2b09e35 to 7969e0b Compare June 29, 2025 01:48
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 6 times, most recently from f04ea97 to 43dc5b4 Compare July 9, 2025 00:00
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 5 times, most recently from 571b7d3 to a578b02 Compare July 17, 2025 23:46
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 4 times, most recently from 02afb41 to 2a1801d Compare July 23, 2025 17:11
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 4 times, most recently from 9324105 to 22f6a7a Compare August 1, 2025 18:56
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 5 times, most recently from be4a8a1 to bffd102 Compare August 10, 2025 13:56
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch 2 times, most recently from 8fe5e9e to e6705aa Compare August 15, 2025 18:01
@renovate renovate bot force-pushed the renovate/npm-dev-minor-patch branch from e6705aa to eadc544 Compare August 15, 2025 22:24
@renovate renovate bot merged commit b3eb686 into main Aug 19, 2025
4 checks passed
@renovate renovate bot deleted the renovate/npm-dev-minor-patch branch August 19, 2025 01:46
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.

2 participants