0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

5,589 commits

Author SHA1 Message Date
Wonsuk Choi
7e3ea62364
test(react-query/QueryResetErrorBoundary): relocate 'issue-9728' test and migrate to fake timers (#10090) 2026-02-10 17:24:41 +01:00
Wonsuk Choi
5dd9d9a53b
test(query-core/queryClient): add test for 'getMutationDefaults' matching only relevant mutation defaults (#10099) 2026-02-10 17:23:18 +01:00
Wonsuk Choi
33679a154d
test(query-core/mutationObserver): add test for skipping 'notify' when 'setOptions' is called with same options (#10098) 2026-02-10 17:22:43 +01:00
Wonsuk Choi
858aa9474d
test(query-core/mutationCache): add test for 'remove' splicing target mutation from scope with multiple mutations (#10103) 2026-02-10 17:22:16 +01:00
Wonsuk Choi
e2e5401d75
test(query-core/queryObserver): add test for 'getOptimisticResult' updating 'currentResult' with changed data (#10102) 2026-02-10 17:21:40 +01:00
renovate[bot]
14a3ce5741
chore(deps): lock file maintenance (#9832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-10 14:11:21 +00:00
github-actions[bot]
463d1cd9d4
ci: Version Packages (#10109) @tanstack/preact-query@5.91.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-10 12:10:06 +01:00
TkDodo
5b78aa1de4 fix: preact example name in package.json 2026-02-10 12:05:43 +01:00
vedanta
8f0d834382
feat: Preact Adapter (#9935)
* initial setup -- duplicated + package.json edited

* simple preact updations

* missed a React.ReactNode

* testing grunt work (preact library + other small issues + ErrorBoundary custom implementation)

* missed a few

* Adds ErrorBoundary (from react-error-boundary, but scaled down for preact) -- fixes a lot of tests, which expect react-related functionality

* useSuspenseQueries left -- removed the useQuery.promise tests

* forgot the console logs

* useSuspenseQueries 2 resolved; tests done

* ci: apply automated fixes

* fix: example

* fix: configs should be symlinks

* fix: sync versions for npm-run-all2

* ref: re-sync runall2

* ref: go back to 5.0.0

* ref: remove changelog

* react-query -> preact-query

* remove use client directive + added the useSyncExternalStore (decoupled from compat)

* remove the react remnants

* generate docs

* typescript eslint

* docs

* vite config fix

* docs now reference react docs (most of them atleast)

* code-rabbit issues addressed

* <div/> lol

* fix: docs

* ci: apply automated fixes

* fix: lockfile

* fix: duplicated versions

* lockfile (I cooked or am I cooked)

* ci: apply automated fixes

* Making small edits to fix versioning, warnings, and lock

* unhandled error compat

* Fixing CI

* Fixed the CI errors

* ci: apply automated fixes

* Prettier format

* Update changeset for Preact Adapter feature

---------

Co-authored-by: TkDodo <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-10 12:02:20 +01:00
Dominik Dorfmeister
d68845833b
ci: remove codecov (#10081) 2026-01-30 12:11:24 +01:00
Wonsuk Choi
dee5d3e9e4
test(react-query/ssr): add 'useMutation' and 'useMutationState' tests for SSR (#9995)
* test(react-query/ssr): add 'useMutation' and 'useMutationState' tests for SSR

* test(react-query/ssr): add 'queryCache.clear()' to 'useMutation' and 'useMutationState' tests

* chore(ci): trigger CI rerun

* ci: trigger CI re-run

* ci: trigger CI re-run

---------

Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-30 12:04:10 +01:00
github-actions[bot]
a678f0957c
ci: Version Packages (#10069) @tanstack/angular-query-experimental@5.90.25 @tanstack/eslint-plugin-query@5.91.4 @tanstack/query-devtools@5.93.0 @tanstack/react-query-devtools@5.91.3 @tanstack/solid-query-devtools@5.91.3 @tanstack/svelte-query-devtools@6.0.4 @tanstack/vue-query-devtools@6.1.4
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 10:30:28 +01:00
ColemanDunn
83366c46a6
feat(query-devtools) set data to undefined on Trigger Error in TanstackQueryDevtools (#10072)
* Set query data to undefined when an error is triggered

* changeset
2026-01-30 10:26:01 +01:00
송재욱
ed5e5fcfc1
fix(eslint-plugin-query): declare typescript as optional peer dependency (#10007)
* fix(eslint-plugin-query): declare typescript as optional peer dependency (#9846)

* fix: Restrict typescript peer dependency to versions less than 6.0.0

* chore: update pnpm-lock

* Update packages/eslint-plugin-query/package.json

* update lockfile

* Update TypeScript peer dependency in eslint-plugin-query

Declare TypeScript as an optional peer dependency for eslint-plugin-query.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-24 10:18:14 +01:00
github-actions[bot]
7ac4e20ddb
ci: Version Packages (#10067) @tanstack/angular-query-experimental@5.90.24 @tanstack/query-async-storage-persister@5.90.22 @tanstack/query-broadcast-client-experimental@5.90.20 @tanstack/query-core@5.90.20 @tanstack/query-persist-client-core@5.91.19 @tanstack/query-sync-storage-persister@5.90.22 @tanstack/react-query-persist-client@5.90.22 @tanstack/react-query@5.90.20 @tanstack/solid-query-persist-client@5.90.23 @tanstack/solid-query@5.90.23 @tanstack/svelte-query-persist-client@6.0.20 @tanstack/svelte-query@6.0.18 @tanstack/vue-query@5.92.9
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-23 08:39:24 +01:00
권지호
e7258c5cb3
fix(query-core): ensure onMutate runs synchronously when cache config is undefined (#8724) (#10066)
* chore: add changeset for onMutate sync fix

* fix(query-core): ensure onMutate runs synchronously when cache config is undefined

   Fixes #8724
2026-01-23 08:36:50 +01:00
Damian Osipiuk
7afff9131c
chore: add postinstall to vue 2 examples to fix vue-demi, add vue 2.7 example link to docs (#10063)
* chore: add postinstall to vue 2 examples to fix `vue-demi`, add vue 2.7 example link to docs

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-20 16:21:08 +01:00
espada-edalex
7848320028
docs: add missing eslint rules from left navigation (#9719) 2026-01-20 15:14:49 +01:00
Alexander Karan
9ff3de7981
Upgrade to Vitest v4 (#9862)
* Init upgrade

* Fixed query core

* Fixed persist tests

* Fixed coverage

* Fixed React

* Fixed Solid Query Devtools and Sold Query

* Svelte query fix

* Fixed Vue

* Angular done

* Fixed React

* Merge files

* Knip fix

* Fixed order

* Angular Eslint

* Query Core Eslint

* Fixed Vue Eslint issue

* Removed fallback

* chore: update lockfile

* ci: apply automated fixes

* fix: esbuild resolving

* fix: no idea

* chore: bump vitest

* Pipeline Fix

- Fallback UI is not reset between tests -> moved to create a function for each
- ruleTests needs to be top level

* ci: apply automated fixes

* ref: bump vitejs/plugin-react

* chore: stop testing against ancient ts 5.0

* Revert "chore: stop testing against ancient ts 5.0"

This reverts commit c72b7e7e7b.

* Revert "ref: bump vitejs/plugin-react"

This reverts commit b9622bc117.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-18 17:01:56 +01:00
github-actions[bot]
0525ad1248
ci: Version Packages (#10047) @tanstack/angular-query-experimental@5.90.23 @tanstack/eslint-plugin-query@5.91.3 @tanstack/query-async-storage-persister@5.90.21 @tanstack/query-broadcast-client-experimental@5.90.19 @tanstack/query-core@5.90.19 @tanstack/query-persist-client-core@5.91.18 @tanstack/query-sync-storage-persister@5.90.21 @tanstack/react-query-persist-client@5.90.21 @tanstack/react-query@5.90.19 @tanstack/solid-query-persist-client@5.90.22 @tanstack/solid-query@5.90.22 @tanstack/svelte-query-persist-client@6.0.19 @tanstack/svelte-query@6.0.17 @tanstack/vue-query@5.92.8
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-17 20:23:52 +01:00
Gaurav Kumar
3e4f8c84a4
fix(eslint-plugin-query): Exhaustive deps rule not working for vue files (#10011)
* Fixed and added tests

* Changeset

* ci: apply automated fixes

---------

Co-authored-by: gauravkumar <gaurav@drivetrain.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-16 17:41:03 +01:00
MINSEONG KIM
53fc74ebb1
fix(query-core): fix combine not updating when queries change with stable reference (#9954)
* test(query-core, react-query): add tests for stable combine reference with dynamic queries

* fix(query-core): fix combine cache invalidation with stable reference

* chore: add changesets

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-16 16:24:43 +01:00
Ulrich Stark
0d07172687
chore: remove unnecessary type assertions (#10028)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-16 13:07:36 +01:00
github-actions[bot]
64d5d623c8
ci: Version Packages (#10045) @tanstack/angular-query-experimental@5.90.22 @tanstack/query-async-storage-persister@5.90.20 @tanstack/query-broadcast-client-experimental@5.90.18 @tanstack/query-core@5.90.18 @tanstack/query-persist-client-core@5.91.17 @tanstack/query-sync-storage-persister@5.90.20 @tanstack/react-query-persist-client@5.90.20 @tanstack/react-query@5.90.18 @tanstack/solid-query-persist-client@5.90.21 @tanstack/solid-query@5.90.21 @tanstack/svelte-query-persist-client@6.0.18 @tanstack/svelte-query@6.0.16 @tanstack/vue-query@5.92.7
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-16 11:56:19 +01:00
Seoku
dea1614aaa
fix(query-core): avoid throwing promise errors when data exists (#10025)
* fix(query-core): avoid throwing promise errors when data exists

* test(react-query): cover refetch error behavior with promise + infinite query

* chore(changeset): add query-core patch for prefetch error handling

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-16 11:43:33 +01:00
Daniel Bondarenko
4e8be3f46f
docs: clarify that failureCount starts at 0 in retry callback (#10031)
Added clarification that failureCount parameter in the retry callback
function starts at 0 for the first retry attempt, not 1.

Fixes #10017
2026-01-16 11:24:55 +01:00
github-actions[bot]
bf7f47e6be
ci: Version Packages (#10033) @tanstack/angular-query-experimental@5.90.21 @tanstack/query-async-storage-persister@5.90.19 @tanstack/query-broadcast-client-experimental@5.90.17 @tanstack/query-core@5.90.17 @tanstack/query-persist-client-core@5.91.16 @tanstack/query-sync-storage-persister@5.90.19 @tanstack/react-query-persist-client@5.90.19 @tanstack/react-query@5.90.17 @tanstack/solid-query-persist-client@5.90.20 @tanstack/solid-query@5.90.20 @tanstack/svelte-query-persist-client@6.0.17 @tanstack/svelte-query@6.0.15 @tanstack/vue-query@5.92.6
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-13 20:36:06 +01:00
Flo
269351b8ce
fix(query-core): replaceEqualDeep max depth (#10032)
* fix(query-core): replaceEqualDeep max depth

* restore expected error in unit test

* ci: apply automated fixes

* Update max depth for replaceEqualDeep function

Fixes the max depth for replaceEqualDeep in query-core.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-01-13 18:49:12 +01:00
Wonsuk Choi
44c3cb965b
test(react-query/ssr): add 'useQueries' test for SSR (#9996) 2026-01-11 17:21:37 +09:00
TkDodo
f61647443d chore: size-limit 2025-12-31 10:33:53 +01:00
Martin Meixger
14c0ec89d0
docs: fix missing param in vue infinite queries sample (#10004)
* docs: fix missing param in vue infinite queries sample

Add initialPageParam to useInfiniteQuery

* docs: fix missing param in vue infinite queries sample
2025-12-30 23:27:54 +01:00
github-actions[bot]
167db32642
ci: Version Packages (#10005) @tanstack/angular-query-experimental@5.90.20 @tanstack/query-async-storage-persister@5.90.18 @tanstack/query-broadcast-client-experimental@5.90.16 @tanstack/query-core@5.90.16 @tanstack/query-persist-client-core@5.91.15 @tanstack/query-sync-storage-persister@5.90.18 @tanstack/react-query-persist-client@5.90.18 @tanstack/react-query@5.90.16 @tanstack/solid-query-persist-client@5.90.19 @tanstack/solid-query@5.90.19 @tanstack/svelte-query-persist-client@6.0.16 @tanstack/svelte-query@6.0.14 @tanstack/vue-query@5.92.5
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-30 15:44:57 +01:00
sangwook
4be3ad730c
fix(react-query): allow retryOnMount when throwOnError is function (#9336) (#9338)
* test(react-query): add tests should retry on mount when throwOnError returns false

* fix(react-query): refine throwOnError retry logic for error boundary cases
When throwOnError is a function, allow retryOnMount to proceed even when error boundary hasn't reset,
while maintaining the prevention behavior for boolean throwOnError values.

* fix(react-query): enhance throwOnError logic in error boundaries

Refine behavior to handle function-type throwOnError, allowing retries when appropriate. Ensure boolean throwOnError values still prevent retries when the error boundary isn't reset.

* test: Add tests for `throwOnError` behavior in `useQuery`

This commit introduces tests to verify the behavior of the `throwOnError` callback in scenarios where `retryOnMount` is enabled. It ensures proper handling of retries based on the error state and the `throwOnError` function's return value. These tests improve the reliability and coverage of error handling logic in `useQuery`.

* fix(react-query): improve throwOnError logic with query state validation

- Pass query object to ensurePreventErrorBoundaryRetry for accurate state checking
- Preserve query deduplication behavior while fixing throwOnError function handling
- Fixes issue where throwOnError function couldn't access query error state

* fix(react-query): fix test flakiness and query cache timing (#9338)

- Replace vi.waitFor with vi.advanceTimersByTimeAsync in tests
- Use separate render results to avoid stale DOM references
- Inline fresh query lookup in ensurePreventErrorBoundaryRetry after _experimental_beforeQuery

* ci: apply automated fixes

* fix(react-query): refine retryOnMount logic and error boundary handling

- move query retrieval after `_experimental_beforeQuery` in `useBaseQuery`
- refactor `ensurePreventErrorBoundaryRetry` for better clarity
- make `query` parameter required in `ensurePreventErrorBoundaryRetry`

* ci: apply automated fixes

* feat(react-query): make query param required but nullable in ensurePreventErrorBoundaryRetry

* Apply suggestions from code review

* chore: size-limit

* chore: changeset

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-30 15:39:24 +01:00
Nima Rahnema
7f47906eac
fix(query-core): fix queriesObserver result and observer length mismatch (#9973)
In 1b54538, `setOptions` was changed to call `notifyListeners` which
eventually leads to `QueriesObserver.setQueries`

1. Updating `#observerMatches`
2. Calling `setOptions` which leads to `#notify` being called
3. Updating `#result`

This is an issue when `#notify` is called before the `#result` is
updated, as `#trackResult` assumes these two are the same length, which
may not be the case if the number of queries changed. When the length
increases, `observerResult` becomes `undefined` and the function throws
an exception.

Fix by moving the `#observerMatches` assignment later in the function,
next to the `#observers` and `#result` assignment.

Co-authored-by: nrahnema <nrahnema@hudson-trading.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-30 15:39:03 +01:00
github-actions[bot]
0a1e3e0e05
ci: Version Packages (#10003) @tanstack/angular-query-experimental@5.90.19 @tanstack/query-async-storage-persister@5.90.17 @tanstack/query-broadcast-client-experimental@5.90.15 @tanstack/query-core@5.90.15 @tanstack/query-persist-client-core@5.91.14 @tanstack/query-sync-storage-persister@5.90.17 @tanstack/react-query-persist-client@5.90.17 @tanstack/react-query@5.90.15 @tanstack/solid-query-persist-client@5.90.18 @tanstack/solid-query@5.90.18 @tanstack/svelte-query-persist-client@6.0.15 @tanstack/svelte-query@6.0.13 @tanstack/vue-query@5.92.4
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-29 16:52:59 +01:00
xiangnuan
fccef797d5
fix(query-core): ensure query refetches on mount/retry when status is error (#9728) (#9927)
* fix(query-core): ensure query refetches on mount/retry when status is error (#9728)

* fix: mark queries as invalidated on background errors instead of checking error status

- Remove error status check in shouldFetchOn
- Set isInvalidated: true in reducer when background error occurs (only if data exists)
- Add tests for staleTime: 'static' and non-static queries with background errors

This approach centralizes stale logic in isStale/isStaleByTime and prevents
regression where staleTime: 'static' queries would incorrectly refetch on
window focus after a background error.

* refactor: simplify isInvalidated logic in error case

Set isInvalidated: true unconditionally since queries with no data
are always considered stale per isStaleByTime logic.

* Apply suggestion from @TkDodo

* Apply suggestions from code review

* fix: eslint

* fix: disable retry in background error tests to prevent timeout

The tests were timing out because when refetch() throws an error, the
default retry mechanism (3 retries with exponential backoff) was being
triggered. With fake timers, the retry delays weren't being advanced,
causing the tests to hang.

Adding retry: false to both tests disables retries and allows them to
complete immediately after the error, which is appropriate for these
tests that specifically check background error behavior.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-29 16:36:15 +01:00
Simon Schick
e907f89c64
fix(core): report errors of useMutation callbacks asynchronously (#9676)
* Ensure errors of useMutation callbacks onError and onSettled are reported asynchronously

* Fixed accidental removal of vitests unhandledRejection handler

* chore: size-limit

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 20:22:05 +01:00
Simon Schick
3ee1ae47f8
fix(core): report errors of mutation callbacks asynchronously (#9675)
* Ensure errors of mutation callbacks are reported asynchronously

* Fixed accidental removal of vitests unhandledRejection handler

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 20:12:30 +01:00
github-actions[bot]
84564f1293
ci: Version Packages (#10001) @tanstack/angular-query-experimental@5.90.18 @tanstack/query-async-storage-persister@5.90.16 @tanstack/query-broadcast-client-experimental@5.90.14 @tanstack/query-core@5.90.14 @tanstack/query-devtools@5.92.0 @tanstack/query-persist-client-core@5.91.13 @tanstack/query-sync-storage-persister@5.90.16 @tanstack/react-query-devtools@5.91.2 @tanstack/react-query-persist-client@5.90.16 @tanstack/react-query@5.90.14 @tanstack/solid-query-devtools@5.91.2 @tanstack/solid-query-persist-client@5.90.17 @tanstack/solid-query@5.90.17 @tanstack/svelte-query-devtools@6.0.3 @tanstack/svelte-query-persist-client@6.0.14 @tanstack/svelte-query@6.0.12 @tanstack/vue-query-devtools@6.1.3 @tanstack/vue-query@5.92.3
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-28 17:02:35 +01:00
HuijungYoon
d576092e2e
fix(query-core): prevent reducer from being called twice in streamedQuery (#9970)
* fix(query-core): prevent reducer from being called twice in streamedQuery #9787

- Fix bug where reducer was called twice for each chunk (once in setQueryData, once in loop)
- Store reducer result in variable to avoid duplicate calls
- Add test case to verify reducer is only called once per chunk

* fix(streamed-query): prevent reducer from being called twice

Fixed an issue where the reducer was being invoked twice when refetchMode is set to 'replace'.
Added a regression test to verify the fix.

Fixes #9787

* docs: add changeset and lockfile update

* fix(changeset): change version bump to patch

* Update streamedQuery.test.tsx

fix: lint

* fix: support refetchMode append and prevent double reducer calls

- Fix refetchMode append to preserve existing data on refetch
- Fix reducer being called twice by calling it once and storing result
- Update pnpm-lock.yaml to match main branch

* chore: update pnpm-lock.yaml to include size-limit dependencies

* ci: apply automated fixes

* refactor: simplify streamedQuery logic with clearer isReplaceRefetch condition

- Extract isReplaceRefetch variable for better readability
- Use explicit if-else instead of negated conditions
- Make it clearer when reducer is called in each branch

---------

Co-authored-by: TkDodo <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-28 15:30:40 +01:00
Matthew Costabile
f9fc56a9b8
fix(devtools): Handle some additional query devtools accessibility findings (#9961)
* improve a11y again

* ci: apply automated fixes

* changeset

* more granular read

* add valuemin

* a few more nits

* fix mouseUp

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 15:21:24 +01:00
Ji-hoon Choi
0b29b6f877
fix(devtools): handle PiP open failures by resetting persisted state (#9983)
fix: handle PiP open failures by resetting persisted state

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 15:02:10 +01:00
Wonsuk Choi
642f72d699
test(react-query/ssr): add 'useIsFetching' test for SSR (#9994) 2025-12-28 14:14:04 +01:00
dilmuhammad abdumalikov
31e3db527a
Enhance scroll restoration documentation for TanStack Query (#9987)
* Enhance scroll restoration documentation for TanStack Query

Explain how TanStack Query improves scroll restoration in SPAs by caching data and preventing UI resets.

* Update docs/framework/react/guides/scroll-restoration.md

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 11:29:15 +01:00
Dominik Dorfmeister
e722679e16
ref: move size-limit config to its own file (#9998)
* ref: move size-limit config to its own file

to avoid cache busting everything when the limits change

* ref: update size-limit
2025-12-28 10:25:52 +01:00
github-actions[bot]
1d20c486ae
ci: Version Packages (#9997) @tanstack/react-query-persist-client@5.90.15
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-28 10:10:24 +01:00
razhayat
4a0a78afbc
fix: streamed query consume aware signal (#9963)
* chore: move consume aware signal logic to utils

* fix: add consume aware signal to streamedQuery

* test: add a test for not a signal that is not consumed by streamFn

* chore: add changeset

* fix: made queryFn of streamedQuery not consume signal directly (so that only streamFn can consume it)

* fix: made onCancelled get called only once

* fix: memoized getSignal and made sure it is called only once

* fix: no-unnecessary-condition

* chore: size-limit

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-12-28 10:06:55 +01:00
TkDodo
5810292b38 fix: size-limit 2025-12-27 18:05:51 +01:00
TkDodo
51b895c718 fix: size-limit 2025-12-27 18:02:48 +01:00
TkDodo
dd45407927 fix: run size-limit with --json 2025-12-27 17:56:48 +01:00