Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
0f339c1
test(angular-query-experimental/injectQueries): switch 'isRestoring' …
sukvvon Apr 23, 2026
65f9eeb
test(angular-query-experimental/injectQueries): add 'readonly' modifi…
sukvvon Apr 23, 2026
e2a945e
test(angular-query-experimental/injectMutation): switch 'success' and…
sukvvon Apr 23, 2026
61b9763
docs(eslint/no-unstable-deps): correct 'react' package name casing in…
AlexRixten Apr 23, 2026
6540a41
feat(core): callback for retryOnMount (#10515)
TkDodo Apr 23, 2026
ad517e5
ci: Version Packages (#10567)
github-actions[bot] Apr 23, 2026
1bb0d23
fix(query-core): fix hydration bugs for already resolved promises (#1…
Ephem Apr 23, 2026
2f9527e
ci: Version Packages (#10568)
github-actions[bot] Apr 23, 2026
41a7ab0
test(query-core/utils): add tests for 'ensureQueryFn' with 'initialPr…
KimHyeongRae0 Apr 24, 2026
5ccd597
test(angular-query-experimental/injectQuery): switch 'success' and 'r…
sukvvon Apr 25, 2026
d6a7bf3
Fix/infinite query hydration 8825 (#10074)
chosule Apr 25, 2026
645d5d1
ref(core): remove leftover setStateOptions (#10574)
TkDodo Apr 25, 2026
ea4497e
fix(query-core): stop wrapping persister generics in NoInfer (#10510)
ousamabenyounes Apr 25, 2026
93b2845
ci: Version Packages (#10575)
github-actions[bot] Apr 25, 2026
f85d825
Feature/use suspense queries combine (#10576)
TkDodo Apr 25, 2026
fe287cc
ci: Version Packages (#10579)
github-actions[bot] Apr 25, 2026
3d1a62e
fix(devtools): change onClose callback type from () => unknown to () …
grzdev Apr 25, 2026
55afb3e
ci: Version Packages (#10581)
github-actions[bot] Apr 25, 2026
672c319
fix(query-core): propagate AbortSignal reason in infiniteQueryBehavio…
kuishou68 Apr 25, 2026
a53ef97
fix: add missing changeset
TkDodo Apr 25, 2026
441204b
ci: Version Packages (#10582)
github-actions[bot] Apr 25, 2026
20fc6c2
test(angular-query-experimental/injectInfiniteQuery): add test for er…
sukvvon Apr 26, 2026
4f37369
test(angular-query-experimental/injectQuery): add test for 'select' o…
sukvvon Apr 26, 2026
76161b7
test(angular-query-experimental/injectQuery): add test for 'placehold…
sukvvon Apr 26, 2026
d78883b
test(angular-query-experimental/injectQuery): remove duplicate error …
sukvvon Apr 26, 2026
e69e5d2
test(angular-query-experimental/injectMutation): switch 'error' test …
sukvvon Apr 26, 2026
72a15ae
test(angular-query-experimental/injectMutation): switch 'pending' tes…
sukvvon Apr 26, 2026
51ef23f
test(angular-query-experimental/injectMutation): add test for 'mutate…
sukvvon Apr 26, 2026
7a5b53c
test(angular-query-experimental/injectIsFetching): add filter test by…
sukvvon Apr 26, 2026
c9755be
test(angular-query-experimental/injectIsMutating): add filter test by…
sukvvon Apr 26, 2026
3547f86
test(angular-query-experimental/injectIsRestoring): add test for reac…
sukvvon Apr 26, 2026
dd901ae
test(angular-query-experimental/injectQueries): add test for error st…
sukvvon Apr 26, 2026
f88a608
test(angular-query-experimental/injectIsRestoring): add test for reso…
sukvvon Apr 28, 2026
3af3a5d
refactor(solid-query): remove 'Solid' prefix from 'SolidQueryOptions'…
sukvvon Apr 28, 2026
87f7ccf
ci: Version Packages (#10604)
github-actions[bot] Apr 28, 2026
c5ab5a1
test(preact-query/ErrorBoundary): replace British 'behaviour' with Am…
sukvvon Apr 28, 2026
4ef364a
docs(devtools): add 'relative' to Vue/Solid 'buttonPosition' and fix …
grzdev Apr 29, 2026
0694696
docs(preact-query/devtools): add missing 'relative' to 'buttonPositio…
sukvvon Apr 29, 2026
3c24ff3
ci(labeler-config): add missing 'preact-query-devtools' and 'preact-q…
sukvvon May 1, 2026
868577d
docs(devtools): align logo, panel, and option union descriptions acro…
sukvvon May 1, 2026
3ae4261
ci: Version Packages (#10620)
github-actions[bot] May 1, 2026
bf2546f
docs(devtools): add missing 'theme' option (#10621)
sukvvon May 2, 2026
60b4416
refactor(preact-query-devtools): replace deprecated 'JSX.CSSPropertie…
sukvvon May 2, 2026
9800c8f
ci: Version Packages (#10623)
github-actions[bot] May 2, 2026
529e590
chore(svelte-query-devtools): set up vitest environment with '@testin…
sukvvon May 3, 2026
3f0948b
test(svelte-query-devtools): add tests for missing 'QueryClient', con…
sukvvon May 3, 2026
d5d69cb
test(preact-query-devtools): add tests for missing 'QueryClient', con…
sukvvon May 3, 2026
03eba38
test(react-query-devtools): add tests for missing 'QueryClient', cont…
sukvvon May 3, 2026
9b879f1
test(preact-query-devtools): make production fallback test determinis…
sukvvon May 3, 2026
fcee7bd
fix(query-core): restore NoInfer on persister's TQueryKey (#10601)
neefrehman May 3, 2026
3d21cac
fix(query-devtools): align onClose setter type (#10607)
grzdev May 3, 2026
14926b7
docs: remove typo in QueryOptions#retry JSDoc (#10606)
MattIPv4 May 3, 2026
bf902df
feat(angular-query): add devtools theme option (#10609)
grzdev May 3, 2026
8c3d523
ci: Version Packages (#10630)
github-actions[bot] May 3, 2026
74fa05e
chore(tsconfig.json): narrow 'include' pattern to prevent TS6053 race…
sukvvon May 3, 2026
c8e1bde
chore(vue-query-devtools): set up vitest environment with production …
sukvvon May 4, 2026
0d63459
docs(devtools): correct 'errorTypes' type to array (#10634)
grzdev May 5, 2026
5892279
test(query-devtools/TanstackQueryDevtools): replace placeholder with …
sukvvon May 5, 2026
0d8d64b
test(query-devtools/TanstackQueryDevtoolsPanel): add 'mount' and 'unm…
sukvvon May 5, 2026
f4a365f
test(query-devtools/utils): add tests for 'getMutationStatusColor' an…
sukvvon May 5, 2026
3c24bc8
test(query-devtools/utils): add tests for 'displayValue' (#10646)
sukvvon May 5, 2026
8a5d189
test(query-devtools/utils): add tests for 'getSidedProp' (#10647)
sukvvon May 5, 2026
24d0834
test(query-devtools/utils): add tests for 'convertRemToPixels' (#10648)
sukvvon May 6, 2026
150300f
test(query-devtools/utils): add tests for 'setupStyleSheet' (#10649)
sukvvon May 6, 2026
0db5b90
test(query-devtools/utils): add tests for 'sortFns' (#10650)
sukvvon May 6, 2026
9d1ce70
test(query-devtools/utils): add tests for 'mutationSortFns' (#10651)
sukvvon May 6, 2026
3d1ee9d
test(query-devtools/utils): add tests for 'getPreferredColorScheme' (…
sukvvon May 8, 2026
4082894
feat: lit query adapter
chughgaurav May 8, 2026
086d449
ci: Version Packages (#10657)
github-actions[bot] May 8, 2026
2f6e16b
ref: remove versions from examples
TkDodo May 8, 2026
3894b05
fix: package.json
TkDodo May 8, 2026
abad6f0
test(query-devtools/utils): add tests for 'getQueryStatusColor' (#10670)
sukvvon May 9, 2026
64d0b89
test(query-devtools/utils): add tests for 'getQueryStatusLabel' (#10671)
sukvvon May 9, 2026
8dd9724
test(query-devtools/utils): cover empty path, array nested path, and …
sukvvon May 9, 2026
a709b04
test(query-devtools/utils): add tests for 'array nested path' and 'pr…
sukvvon May 9, 2026
a37c003
test(query-devtools/utils): add test for stale vs fresh rank in 'stat…
sukvvon May 9, 2026
9963b2f
test(query-devtools/TanstackQueryDevtools{,Panel}): add tests for set…
sukvvon May 9, 2026
4731c07
chore(query-devtools): set up '@solidjs/testing-library' for componen…
sukvvon May 9, 2026
b79d7b4
test(query-devtools/DevtoolsComponent): add smoke test for rendering …
sukvvon May 9, 2026
90fbff8
test(query-devtools/DevtoolsPanelComponent): add tests for rendering …
sukvvon May 9, 2026
f46b22a
test(query-devtools/Devtools): add tests for initial state from 'init…
sukvvon May 10, 2026
be4f84f
test(query-devtools/Devtools): add tests for open and close interacti…
sukvvon May 10, 2026
ac57627
test(query-devtools/Devtools): add tests for query list rendering, fi…
sukvvon May 10, 2026
abdc308
test(query-devtools/Devtools): add tests for query details panel and …
sukvvon May 10, 2026
4746ac4
test(query-devtools/Devtools): add tests for mutation details, sort o…
sukvvon May 10, 2026
f24d1a3
test(query-devtools/Devtools): add tests for "Bulk Edit Data" mode sw…
sukvvon May 10, 2026
7e45976
test(query-devtools/Devtools): add tests for 'errorTypes' prop and er…
sukvvon May 10, 2026
3e74fcb
test(query-devtools/Devtools): add tests for sort dropdown, hide disa…
sukvvon May 10, 2026
fdea97d
test(query-devtools/Devtools): add tests for settings menu (#10690)
sukvvon May 10, 2026
ba58314
test(query-devtools/Devtools): add tests for resize handle (#10691)
sukvvon May 11, 2026
c84c9d0
test(query-devtools/Devtools): add tests for online toggle (#10692)
sukvvon May 11, 2026
55c6b8a
test(query-devtools/Devtools): add test for hiding the panel when the…
sukvvon May 11, 2026
4d130b9
fix(query-devtools): remove experimentalDts to prevent solid-js type …
TkDodo May 11, 2026
9d2692c
ci: Version Packages (#10695)
github-actions[bot] May 11, 2026
65b8e31
chore: change `pull_request_target` to `pull_request event` for label…
SeanCassiere May 11, 2026
6840460
pull_request_target -> pull_request
TkDodo May 12, 2026
e220149
ci: add zizmor workflow (#10700)
Sheraff May 13, 2026
5dce547
test(query-devtools/Devtools): add test for query details panel auto-…
sukvvon May 13, 2026
28177f5
test(query-devtools/Devtools): add test for restoring previous query …
sukvvon May 13, 2026
57f7301
test(query-devtools/Devtools): add test for clamping the width when r…
sukvvon May 13, 2026
299447b
fix(vue-query-devtools): use class attribute in templates (#10635)
grzdev May 13, 2026
139e67c
fix(vue-query): allow computed ref as queryKey property in queryOptio…
KimHyeongRae0 May 13, 2026
65b9b72
chore: add CODEOWNERS file (#10703)
crutchcorn May 14, 2026
3ed5d63
test(query-devtools/Explorer): add tests for primitive values and bas…
sukvvon May 18, 2026
334161f
test(query-devtools/Explorer): add tests for 'Map' and iterable rende…
sukvvon May 18, 2026
3e85350
ci: Version Packages (#10706)
github-actions[bot] May 18, 2026
caace85
test(query-devtools/Explorer): add tests for 'defaultExpanded' and pa…
sukvvon May 19, 2026
57f8ec7
test(query-devtools/Explorer): add tests for action menu buttons (#10…
sukvvon May 19, 2026
a4cebdb
test(query-devtools/Explorer): add tests for inline edit on primitive…
sukvvon May 19, 2026
359184e
test(query-devtools/Explorer): add test for 'CopyButton' error state …
sukvvon May 19, 2026
e3ebf3f
test(query-devtools/Explorer): add test for independently toggling tw…
sukvvon May 20, 2026
48b7d66
test(query-devtools/Explorer): add tests for resetting 'CopyButton' s…
sukvvon May 20, 2026
e196f9f
test(query-devtools/Explorer): add test for deleting fields via inlin…
sukvvon May 20, 2026
ec4a59a
test(query-devtools/Explorer): add test for action buttons rendered i…
sukvvon May 20, 2026
3a5753f
test(query-devtools/Devtools): add tests for clearing edit error on r…
sukvvon May 21, 2026
fe54a9c
test(query-devtools/Devtools): add test for 'static' indicator on a q…
sukvvon May 21, 2026
c00ea27
test(query-devtools/{DevtoolsComponent,DevtoolsPanelComponent}): add …
sukvvon May 22, 2026
f532bda
fix(lit-query): avoid redundant function option updates (#10716)
raashish1601 May 22, 2026
eff8f74
ci: Version Packages (#10754)
github-actions[bot] May 22, 2026
ae054a0
docs: update Next.js TypeScript docs reference (#10753)
sgibler-droid May 22, 2026
87013d5
chore(pnpm): update pnpm to v11 (#10699)
harry-whorlow May 22, 2026
d9b2ca7
docs: correct refetchOnReconnect default in JSDoc (#10632)
TheSeydiCharyyev May 22, 2026
98fd431
docs(reference/QueryClient): clarify query client query methods (#10725)
0Jaemin0 May 22, 2026
bb4556a
fix(eslint-plugin-query): allow suspense queries combine deps (#10642)
cyphercodes May 22, 2026
f0865fd
security: stricter pnpm config blockExoticSubdeps & trustPolicy (#10719)
Sheraff May 22, 2026
c066ab8
chore: enforce pnpm 11 (#10749)
Sheraff May 22, 2026
b125ba9
docs(react-query): undefined vs. null in query-functions.md (#10008)
camjackson May 22, 2026
ab9f0d5
fix: trust vite v6.4.1 (#10756)
TkDodo May 22, 2026
b9eb3af
chore: pin chokidar to 5.0.0 (#10757)
TkDodo May 22, 2026
2ccdae8
fix(eslint-plugin-query): handle array-destructured useQueries result…
vinamra1102 May 22, 2026
5ff4f69
ci: Version Packages (#10755)
github-actions[bot] May 22, 2026
d423168
fix(query-core): use built-in NoInfer for generic indexed-access type…
ousamabenyounes May 22, 2026
05cf2bc
ci: Version Packages (#10758)
github-actions[bot] May 22, 2026
b94b24e
fix: upgrade @sveltejs/kit to 2.57.1 (CVE-2026-40073) (#10637)
orbisai0security May 22, 2026
a00c0d2
test(query-devtools/Devtools): add tests for opening a picture-in-pic…
sukvvon May 23, 2026
217b67a
test(query-devtools/Devtools): add test for 'pip_open' reset when the…
sukvvon May 23, 2026
50a71c3
test(query-devtools/Devtools): add tests for in-page panel visibility…
sukvvon May 23, 2026
d5c6df7
test(query-devtools/Devtools): add test for restoring 'width' to the …
sukvvon May 23, 2026
3f10705
test(query-devtools/Devtools): add test for rendering an idle mutatio…
sukvvon May 23, 2026
ed20b6d
fix(react): do not go into optimistic fetching state when not subscri…
TkDodo May 23, 2026
ba6e7be
ci: Version Packages (#10767)
github-actions[bot] May 23, 2026
e631dc3
Fix devtools query rows with mutable keys (#10750)
puneetdixit200 May 24, 2026
3042860
fix(query-devtools): handle missing query row state (#10772)
raashish1601 May 24, 2026
63b3a72
test(query-devtools/Explorer): add test for rendering under the 'ligh…
sukvvon May 24, 2026
b9ec780
ci(labeler): remove the labeler workflow and its configuration (#10766)
sukvvon May 24, 2026
bde5a7f
test(query-devtools/Explorer): add test for rendering with a 'shadowD…
sukvvon May 25, 2026
04fb3fb
test(query-devtools/Devtools): add test for PiP panel narrow layout b…
sukvvon May 25, 2026
67e250b
test(query-devtools/Devtools): add test for rendering without a 'Them…
sukvvon May 25, 2026
0cfde2a
test(query-devtools/Devtools): add assertion for default theme fallin…
sukvvon May 25, 2026
514c132
test(query-devtools/contexts/ThemeContext): split 'ThemeContext' test…
sukvvon May 25, 2026
3023dad
Fix(lit-query): prevent redundant host updates (#10789)
chughgaurav May 25, 2026
7252bdc
ci(detect-agent): remove the detect-agent workflow (#10781)
sukvvon May 25, 2026
b110d25
test(query-devtools/contexts/ThemeContext): drop the 'Provider' value…
sukvvon May 25, 2026
828858d
test(query-devtools/contexts/QueryDevtoolsContext): add test for 'Pro…
sukvvon May 25, 2026
335975d
test(query-devtools/contexts/PiPContext): add test for 'usePiPWindow'…
sukvvon May 25, 2026
25009cd
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWi…
sukvvon May 25, 2026
1b7d28a
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWi…
sukvvon May 25, 2026
8c66649
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWi…
sukvvon May 25, 2026
4cfd8a7
test(query-devtools/contexts/PiPContext): add test for the 'pagehide'…
sukvvon May 25, 2026
d7c27dc
test(query-devtools/contexts/PiPContext): add tests for 'closePipWind…
sukvvon May 26, 2026
db19ccf
test(query-devtools/contexts/PiPContext): add tests for the 'pip_open…
sukvvon May 26, 2026
9a1aa92
test(query-devtools/contexts/PiPContext): add tests for the '#_goober…
sukvvon May 26, 2026
e42d85c
test(query-devtools/Devtools): remove PiP auto-open and popup-blocker…
sukvvon May 26, 2026
1ccc028
test(query-devtools/Devtools): drop the 'pip_open' localStorage asser…
sukvvon May 26, 2026
93e7d39
chore(.nvmrc): update Node to 'v24.16.0' (Krypton LTS) (#10807)
sukvvon May 26, 2026
532bb29
fix(tests): disable local coverage instrumentation (#10776)
raashish1601 May 26, 2026
3daac67
chore: migrate changesets changelog generator (#10809)
Sheraff May 27, 2026
e0245c7
test(react-query-devtools/ReactQueryDevtools): add tests for forwardi…
sukvvon May 28, 2026
9c8d2ea
test(preact-query-devtools/PreactQueryDevtools): add tests for forwar…
sukvvon May 28, 2026
d5630c9
test(solid-query-devtools/devtools): add tests for forwarding 'button…
sukvvon May 28, 2026
7c3e028
test(solid-query-devtools/devtools): add wiring and default-value cas…
sukvvon May 29, 2026
7f947b9
test(solid-query-devtools/devtools): restore forwarding cases for 'bu…
sukvvon May 29, 2026
dcdd552
fix(eslint-plugin-query): track custom query hook wrappers (#10730)
junjuny0227 May 29, 2026
6fa179d
test(solid-query-devtools/devtoolsPanel): add wiring and default-valu…
sukvvon May 30, 2026
7fa2781
test(solid-query-devtools/devtoolsPanel): add tests for the 'style' m…
sukvvon May 30, 2026
dccede4
chore(solid-query-devtools/tsconfig): include 'test-setup.ts' for jes…
sukvvon May 31, 2026
2c4d9b1
test(solid-query-devtools/devtoolsPanel): use 'toHaveStyle' matcher i…
sukvvon May 31, 2026
c27d366
chore: add conditional check for repository owner in release job (#10…
KevinVandy May 31, 2026
9d488a1
test(solid-query-devtools/devtools{,Panel}): add tests for the non-de…
sukvvon May 31, 2026
2d27c4e
test(react-query-devtools/ReactQueryDevtools{,Panel}): add tests for …
sukvvon Jun 1, 2026
1114d0b
test(preact-query-devtools/PreactQueryDevtools{,Panel}): add tests fo…
sukvvon Jun 1, 2026
1b4e731
docs(framework/{preact,solid}/devtools): add the 'Embedded Mode' sect…
sukvvon Jun 1, 2026
a79fc8d
docs(framework/vue/devtools): correct 'your React app' typo to 'your …
sukvvon Jun 1, 2026
b1337cd
docs(framework/vue/devtools): align the 'Embedded Mode' example with …
sukvvon Jun 1, 2026
dcc4a16
docs(framework/vue/devtools): inline the toggle and 'onClose' handler…
sukvvon Jun 1, 2026
1348095
fix(vue-query): replace deprecated isServer with environmentManager.i…
spandzgit Jun 1, 2026
f167fa8
refactor(examples/nextjs-suspense-streaming): drop unnecessary 'as st…
sukvvon Jun 2, 2026
0bc0a88
fix(examples/integrations): replace deprecated 'isServer' with 'envir…
sukvvon Jun 2, 2026
2faff25
fix(examples): replace deprecated 'isServer' with 'environmentManager…
spiderocious Jun 2, 2026
7cf5923
fix(react-query-next-experimental): replace deprecated 'isServer' wit…
sukvvon Jun 2, 2026
dc54932
fix(eslint-plugin-query): detect rest destructuring on custom query h…
Newbie012 Jun 2, 2026
f3d8d2a
ci: Version Packages (#10774)
github-actions[bot] Jun 2, 2026
d29f7db
test(query-core/utils): add test for already-aborted signal in 'addCo…
sukvvon Jun 3, 2026
304eb09
test(query-core/utils): add test for exposing the signal on the query…
sukvvon Jun 3, 2026
4fb2da1
test(query-core/utils): add test for recursion depth limit in 'replac…
sukvvon Jun 3, 2026
2702b34
test(query-core/utils): add tests for consumed signal cancellation an…
sukvvon Jun 3, 2026
dc0effd
docs(framework/react/guides): replace deprecated 'isServer' with 'env…
sukvvon Jun 3, 2026
64b54a0
test(query-persist-client-core/retryStrategies): add tests for 'remov…
sukvvon Jun 3, 2026
b6b9d1a
test(query-persist-client-core/retryStrategies): add test for 'remove…
sukvvon Jun 3, 2026
8f6f923
test(query-persist-client-core/retryStrategies): add test for 'remove…
sukvvon Jun 3, 2026
c3be7ac
test(query-persist-client-core/persist): add test for hydrating a val…
sukvvon Jun 4, 2026
a6fda44
test(query-persist-client-core/persist): hoist 'queryClient' and 'per…
sukvvon Jun 4, 2026
e6c26c0
test(query-persist-client-core/persist): wrap the suites in a top-lev…
sukvvon Jun 4, 2026
89bae56
test(query-persist-client-core/persist): add tests for removing an ex…
sukvvon Jun 4, 2026
5fcb4d7
test(query-persist-client-core/persist): add test for removing a cach…
sukvvon Jun 4, 2026
0c7b9d6
test(query-persist-client-core/persist): add tests for 'persistQueryC…
sukvvon Jun 4, 2026
79e639e
test(query-persist-client-core/persist): add test for ignoring mutati…
sukvvon Jun 4, 2026
0a0e2d9
test(query-persist-client-core/createPersister): add tests for removi…
sukvvon Jun 4, 2026
c4b39ff
test(query-persist-client-core/createPersister): add test for 'persis…
sukvvon Jun 4, 2026
c2d73d5
test(query-persist-client-core/createPersister): add test for 'retrie…
sukvvon Jun 4, 2026
525e316
docs(reference/QueryCache): use the v5 filters-object form in 'find' …
DucMinhNe Jun 4, 2026
3270e09
docs(reference/QueryCache): correct the 'find' and 'findAll' options …
sukvvon Jun 4, 2026
92d9e2c
test(query-core/onlineManager): add test for online status updates fr…
sukvvon Jun 5, 2026
bd0a264
test(query-core/queryObserver): add test for promise not rejecting wh…
sukvvon Jun 5, 2026
b63da8a
test(query-core/queryCache): add test for 'remove' only deleting the …
sukvvon Jun 5, 2026
ba7fbc4
test(query-core/queryObserver): split 'shouldFetchOnWindowFocus' test…
sukvvon Jun 5, 2026
1d12194
test(query-core/queryObserver): unify all test descriptions to start …
sukvvon Jun 7, 2026
708d9c5
test(query-core/queryObserver): add test for 'refetchOnWindowFocus' a…
sukvvon Jun 7, 2026
413fdc5
test(query-core/queryObserver): add tests for 'refetchOnWindowFocus' …
sukvvon Jun 7, 2026
84cbbdb
test(query-core/queryObserver): add test for 'refetchInterval' as a f…
sukvvon Jun 7, 2026
01616c6
test(query-core/queryObserver): add test for 'refetchInterval' as a f…
sukvvon Jun 7, 2026
4077908
test(query-core/queryObserver): add tests for 'notifyOnChangeProps' a…
sukvvon Jun 7, 2026
3c77cd0
test(svelte-query/createQuery): migrate suitable tests to render with…
sukvvon Jun 7, 2026
2a4c2c9
test(svelte-query/createQuery): replace 'Promise.resolve' with 'sleep…
sukvvon Jun 9, 2026
763782a
test(svelte-query): align 'advanceTimersByTimeAsync' with 'sleep' dur…
sukvvon Jun 9, 2026
969a556
test(solid-query/useMutation): add 'mutate' callback tests for when '…
sukvvon Jun 11, 2026
f6c6542
test(solid-query/useMutation): add 'mutateAsync' callback tests for w…
sukvvon Jun 11, 2026
c916722
test(solid-query/useIsFetching): centralize 'queryClient' setup with …
sukvvon Jun 11, 2026
6c63b82
test(solid-query/mutationOptions): centralize 'queryClient' setup wit…
sukvvon Jun 11, 2026
b5ad715
test(solid-query/useMutationState): centralize 'queryClient' setup wi…
sukvvon Jun 11, 2026
b552179
test(solid-query/useIsMutating): centralize 'queryClient' setup with …
sukvvon Jun 11, 2026
feb1efd
test(*): move 'vi.useRealTimers' to the end of 'afterEach' so cleanup…
sukvvon Jun 11, 2026
43a4ea0
test(vue-query): replace deprecated 'toBeCalledWith' and 'toBeCalled'…
sukvvon Jun 14, 2026
87426a3
test(react-query): replace deprecated 'toBeCalledTimes' with 'toHaveB…
sukvvon Jun 14, 2026
c8ebcd7
test(solid-query): replace deprecated 'toBeCalledTimes' with 'toHaveB…
sukvvon Jun 14, 2026
b266bdc
test(preact-query): replace deprecated 'toBeCalledTimes' with 'toHave…
sukvvon Jun 14, 2026
ee89b90
test(query-async-storage-persister): replace deprecated 'toBeCalledTi…
sukvvon Jun 14, 2026
e5161df
test(angular-query-experimental): replace deprecated 'toBeCalledWith'…
sukvvon Jun 14, 2026
2555dd0
test(lit-query): replace deprecated 'toThrowError' with 'toThrow' (#1…
sukvvon Jun 14, 2026
47e539a
docs(react-query): recommend against using server actions in queryFn …
JSimko4 Jun 14, 2026
ecc321f
chore(knip): update '$schema' to 'knip@6' to match the installed majo…
sukvvon Jun 14, 2026
63d425b
fix(scripts): sort 'readFile' before 'readdir' in 'generate-docs' to …
sukvvon Jun 14, 2026
8bb5fde
test({react,preact}-query/useMutation): split 'should pass meta to mu…
sukvvon Jun 14, 2026
4154613
test({react,preact}-query/useMutation): split 'should handle conditio…
sukvvon Jun 14, 2026
6048592
test(solid-query/useMutation): split 'should pass meta to mutation' i…
sukvvon Jun 14, 2026
0e2bfe7
test(solid-query): add 'renderWithClient' helper and replace inline '…
sukvvon Jun 14, 2026
588b30f
test(solid-query/useQueries): add test for not fetching during the re…
sukvvon Jun 14, 2026
86b949b
test(solid-query/useQueries): add test for using a provided custom 'q…
sukvvon Jun 14, 2026
5327a73
Merge branch 'main' into solid-query-main-merge
brenelz Jun 15, 2026
bf91a3f
ci: apply automated fixes
autofix-ci[bot] Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 32 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,43 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "TanStack/query" }
"@changesets/changelog-github",
{ "repo": "TanStack/query", "disableThanks": true }
],
"commit": false,
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"fixed": [],
"fixed": [
[
"@tanstack/angular-query-experimental",
"@tanstack/angular-query-persist-client",
"@tanstack/eslint-plugin-query",
"@tanstack/preact-query",
"@tanstack/preact-query-devtools",
"@tanstack/preact-query-persist-client",
"@tanstack/query-async-storage-persister",
"@tanstack/query-broadcast-client-experimental",
"@tanstack/query-core",
"@tanstack/query-devtools",
"@tanstack/query-persist-client-core",
"@tanstack/query-sync-storage-persister",
"@tanstack/react-query",
"@tanstack/react-query-devtools",
"@tanstack/react-query-next-experimental",
"@tanstack/react-query-persist-client",
"@tanstack/solid-query",
"@tanstack/solid-query-devtools",
"@tanstack/solid-query-persist-client",
"@tanstack/vue-query"
],
[
"@tanstack/vue-query-devtools",
"@tanstack/svelte-query",
"@tanstack/svelte-query-devtools",
"@tanstack/svelte-query-persist-client"
]
],
"linked": [],
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
Expand Down
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.github/ @TanStack/tanstack-core
.nx/ @TanStack/tanstack-core
nx.json @TanStack/tanstack-core
.changeset/config.json @TanStack/tanstack-core
scripts/ @TanStack/tanstack-core
.npmrc @TanStack/tanstack-core
6 changes: 4 additions & 2 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Tools
uses: TanStack/config/.github/setup@main
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3
- name: Fix formatting
run: pnpm run format
- name: Apply fixes
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/detect-agent.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/labeler.yml

This file was deleted.

51 changes: 27 additions & 24 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,27 @@ concurrency:
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

permissions:
contents: read
pull-requests: write
issues: write
permissions: {}

jobs:
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Start Nx Agents
run: npx nx-cloud start-ci-run --distribute-on=".nx/workflows/dynamic-changesets.yaml"
- name: Setup Tools
uses: TanStack/config/.github/setup@main
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3
- name: Get base and head commits for `nx affected`
uses: nrwl/nx-set-shas@v4.4.0
uses: nrwl/nx-set-shas@3e9ad7370203c1e93d109be57f3b72eb0eb511b1 # v4.4.0
with:
main-branch-name: main
- name: Run Checks
Expand All @@ -40,42 +41,44 @@ jobs:
preview:
name: Preview
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Tools
uses: TanStack/config/.github/setup@main
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3
- name: Build Packages
run: pnpm run build:all
- name: Publish Previews
run: pnpx pkg-pr-new publish --pnpm --compact './packages/*' --template './examples/*/*'
- name: Determine commit SHA
id: determine-sha
run: |
echo "COMMIT_SHA=${{ github.event.pull_request.head.sha || github.sha }}" >> $GITHUB_ENV
run: echo "COMMIT_SHA=${COMMIT_SHA}" >> "$GITHUB_ENV"
env:
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Size Limit
uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_step: install
build_script: build:all
provenance:
name: Provenance
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
- name: Check Provenance
uses: danielroe/provenance-action@v0.1.1
with:
fail-on-downgrade: true
version-preview:
name: Version Preview
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Tools
uses: TanStack/config/.github/setup@main
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3
- name: Changeset Preview
uses: TanStack/config/.github/changeset-preview@main
uses: TanStack/config/.github/changeset-preview@e4b48f16568324f76f467aa4c2aac2f05db632c3
21 changes: 14 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,25 @@ env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

permissions:
contents: write
id-token: write
pull-requests: write
contents: read

jobs:
release:
name: Release
if: github.repository_owner == 'TanStack'
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: true # changesets/action pushes version/release changes
- name: Setup Tools
uses: TanStack/config/.github/setup@main
uses: TanStack/config/.github/setup@e4b48f16568324f76f467aa4c2aac2f05db632c3
- name: Run Build
run: pnpm run build:all
- name: Determine dist-tag
Expand All @@ -35,6 +39,7 @@ jobs:
BRANCH="${GITHUB_REF_NAME}"
if [[ "$BRANCH" == *-pre ]]; then
echo "prerelease=true" >> "$GITHUB_OUTPUT"
echo "tag=pre" >> "$GITHUB_OUTPUT"
elif [[ "$BRANCH" == *-maint ]]; then
echo "tag=maint" >> "$GITHUB_OUTPUT"
elif [[ "$BRANCH" =~ ^v[0-9]+$ ]]; then
Expand All @@ -44,7 +49,7 @@ jobs:
fi
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish ${{ steps.dist-tag.outputs.tag && format('--tag {0}', steps.dist-tag.outputs.tag) }}
Expand All @@ -54,7 +59,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create GitHub Release
if: steps.changesets.outputs.published == 'true'
run: node scripts/create-github-release.mjs ${{ steps.dist-tag.outputs.prerelease == 'true' && '--prerelease' }} ${{ steps.dist-tag.outputs.latest == 'true' && '--latest' }}
run: node scripts/create-github-release.mjs ${PRERELEASE_FLAG} ${LATEST_FLAG}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PRERELEASE_FLAG: ${{ steps.dist-tag.outputs.prerelease == 'true' && '--prerelease' }}
LATEST_FLAG: ${{ steps.dist-tag.outputs.latest == 'true' && '--latest' }}
24 changes: 24 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GitHub Actions Security Analysis

on:
push:
branches: [main]
pull_request:
branches: ['**']

permissions: {}

jobs:
zizmor:
name: Run zizmor
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
advanced-security: false
annotations: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ yarn.lock
build
coverage
dist
dist-cjs
dist-ts

# misc
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.8.0
24.16.0
5 changes: 5 additions & 0 deletions docs/community-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ others:
url: 'https://github.com/rametta/rapini',
description: 'πŸ₯¬ OpenAPI to React Query (or SWR) & Axios',
},
{
title: 'React Query Visualizer',
url: 'https://marketplace.visualstudio.com/items?itemName=fe-dudu.react-query-visualizer',
description: 'VS Code extension for TanStack Query (React Query): visualize query keys, cache invalidation/refetch flows, and file impact graph',
},
{
title: 'Tanstack Query Visualizer',
url: 'https://tanstack-query-visualizer.sofi.coop/',
Expand Down
Loading
Loading