0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
Commit graph

5,266 commits

Author SHA1 Message Date
Wonsuk Choi
f167fa8ef5
refactor(examples/nextjs-suspense-streaming): drop unnecessary 'as string' cast (#10859) 2026-06-02 11:26:37 +09:00
Spandan Chatterjee
134809544c
fix(vue-query): replace deprecated isServer with environmentManager.isServer() (#10826)
* fix(vue-query): replace deprecated isServer with environmentManager.isServer()

* chore: add changeset

---------

Co-authored-by: Spandan Chatterjee <spandzgit@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-06-01 16:25:11 +02:00
Wonsuk Choi
dcc4a161d4
docs(framework/vue/devtools): inline the toggle and 'onClose' handler in the 'Embedded Mode' example to match the other adapters (#10856) 2026-06-01 17:07:14 +09:00
Wonsuk Choi
b1337cd568
docs(framework/vue/devtools): align the 'Embedded Mode' example with the other adapters and add the missing 'ref' import (#10855) 2026-06-01 16:23:30 +09:00
Wonsuk Choi
a79fc8d03b
docs(framework/vue/devtools): correct 'your React app' typo to 'your Vue app' in the Embedded Mode section (#10854) 2026-06-01 15:27:48 +09:00
Wonsuk Choi
1b4e73161f
docs(framework/{preact,solid}/devtools): add the 'Embedded Mode' section (#10853) 2026-06-01 15:10:21 +09:00
Wonsuk Choi
1114d0bd11
test(preact-query-devtools/PreactQueryDevtools{,Panel}): add tests for the full prop wiring matrix (#10852)
* test(preact-query-devtools/PreactQueryDevtools{,Panel}): add tests for the full prop wiring matrix

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 10:33:35 +09:00
Wonsuk Choi
2d27c4e903
test(react-query-devtools/ReactQueryDevtools{,Panel}): add tests for the full prop wiring matrix (#10851)
* test(react-query-devtools/ReactQueryDevtools{,Panel}): add tests for the full prop wiring matrix

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 10:33:24 +09:00
Wonsuk Choi
9d488a10d1
test(solid-query-devtools/devtools{,Panel}): add tests for the non-development fallback (#10848) 2026-06-01 03:26:20 +09:00
Kevin Van Cott
c27d3661f0
chore: add conditional check for repository owner in release job (#10847) 2026-05-31 12:02:55 -05:00
Wonsuk Choi
2c4d9b16bb
test(solid-query-devtools/devtoolsPanel): use 'toHaveStyle' matcher in the 'style' merge cases (#10846) 2026-06-01 00:51:52 +09:00
Wonsuk Choi
dccede4318
chore(solid-query-devtools/tsconfig): include 'test-setup.ts' for jest-dom matcher typings (#10845) 2026-06-01 00:42:19 +09:00
Wonsuk Choi
7fa2781a1b
test(solid-query-devtools/devtoolsPanel): add tests for the 'style' merge contract (preserve default and override on conflict) (#10828)
* test(solid-query-devtools/devtoolsPanel): add a case for merging 'style' with the default container height

* test(solid-query-devtools/devtoolsPanel): assert 'style' overrides the default container height to catch merge-order regressions

* test(solid-query-devtools/devtoolsPanel): add a case for preserving the default container height when 'style' omits 'height'
2026-05-30 10:22:08 +09:00
Wonsuk Choi
6fa179df6f
test(solid-query-devtools/devtoolsPanel): add wiring and default-value cases for 'onClose', 'errorTypes', 'theme', 'setClient', and 'unmount' (#10827)
* test(solid-query-devtools/devtoolsPanel): add wiring and default-value cases for 'onClose', 'errorTypes', 'theme', 'setClient', and 'unmount'

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-30 10:00:47 +09:00
전준연
dcdd552824
fix(eslint-plugin-query): track custom query hook wrappers (#10730)
* fix(eslint-plugin-query): track custom query hook wrappers

* fix(eslint-plugin-query): handle later custom hook wrappers

* test(eslint-plugin-query): avoid TDZ in wrapper test

---------

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-05-29 20:51:33 +02:00
Wonsuk Choi
7f947b9194
test(solid-query-devtools/devtools): restore forwarding cases for 'buttonPosition' and 'position' props (#10824) 2026-05-29 10:38:55 +09:00
Wonsuk Choi
7c3e028a15
test(solid-query-devtools/devtools): add wiring and default-value cases for 'initialIsOpen', 'errorTypes', 'theme', 'setClient', and 'unmount' (#10823)
* test(solid-query-devtools/devtools): add wiring cases for 'initialIsOpen', 'errorTypes', 'theme', 'setClient', and 'unmount'

* test(solid-query-devtools/devtools): add default-value cases for 'initialIsOpen', 'errorTypes', and 'theme' when omitted
2026-05-29 10:21:19 +09:00
Wonsuk Choi
d5630c939f
test(solid-query-devtools/devtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance (#10819)
* test(solid-query-devtools/devtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-28 17:18:58 +09:00
Wonsuk Choi
9c8d2eaff6
test(preact-query-devtools/PreactQueryDevtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance (#10818) 2026-05-28 16:46:32 +09:00
Wonsuk Choi
e0245c78cb
test(react-query-devtools/ReactQueryDevtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance (#10817)
* test(react-query-devtools/ReactQueryDevtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-28 16:32:58 +09:00
Flo
3daac67da5
chore: migrate changesets changelog generator (#10809)
* chore: migrate changesets changelog generator

* chore: sort changelog dependency
2026-05-27 07:34:01 +02:00
Raashish Aggarwal
532bb298fb
fix(tests): disable local coverage instrumentation (#10776)
Disable local coverage instrumentation

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-05-26 17:29:33 +02:00
Wonsuk Choi
93e7d390c7
chore(.nvmrc): update Node to 'v24.16.0' (Krypton LTS) (#10807) 2026-05-26 17:57:16 +09:00
Wonsuk Choi
1ccc028188
test(query-devtools/Devtools): drop the 'pip_open' localStorage assertion from the PiP restore case now covered by 'PiPContext.test.tsx' (#10806) 2026-05-26 15:11:58 +09:00
Wonsuk Choi
e42d85c27d
test(query-devtools/Devtools): remove PiP auto-open and popup-blocker cases now covered by 'PiPContext.test.tsx' (#10805) 2026-05-26 12:30:38 +09:00
Wonsuk Choi
9a1aa92ef8
test(query-devtools/contexts/PiPContext): add tests for the '#_goober' MutationObserver observing and mirroring parent style mutations (#10804)
* test(query-devtools/contexts/PiPContext): add tests for the '#_goober' MutationObserver observing and mirroring parent style mutations

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-26 11:40:57 +09:00
Wonsuk Choi
db19ccfeb2
test(query-devtools/contexts/PiPContext): add tests for the 'pip_open' auto-open createEffect (#10803)
* test(query-devtools/contexts/PiPContext): add tests for the 'pip_open' auto-open createEffect

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-26 10:07:29 +09:00
Wonsuk Choi
d7c27dcf23
test(query-devtools/contexts/PiPContext): add tests for 'closePipWindow' guard and reset (#10802) 2026-05-26 09:48:30 +09:00
Wonsuk Choi
4cfd8a70fe
test(query-devtools/contexts/PiPContext): add test for the 'pagehide' listener resetting the 'pipWindow' signal and 'pip_open' (#10801) 2026-05-26 04:34:52 +09:00
Wonsuk Choi
8c666496ce
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWindow' copying parent stylesheets into the PiP document head (#10800) 2026-05-26 04:11:54 +09:00
Wonsuk Choi
1b7d28adda
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWindow' resetting the PiP document title, body margin, and head/body contents (#10798) 2026-05-26 03:56:55 +09:00
Wonsuk Choi
25009cd456
test(query-devtools/contexts/PiPContext): add tests for 'requestPipWindow' opening a PiP window and persisting 'pip_open' (#10797) 2026-05-26 03:35:06 +09:00
Wonsuk Choi
335975d88d
test(query-devtools/contexts/PiPContext): add test for 'usePiPWindow' throwing outside a 'PiPProvider' (#10796) 2026-05-26 03:13:59 +09:00
Wonsuk Choi
828858de1c
test(query-devtools/contexts/QueryDevtoolsContext): add test for 'Provider' value reactivity via getter properties (#10793)
* test(query-devtools/contexts/QueryDevtoolsContext): add test for 'Provider' value reactivity via getter properties

* ci: apply automated fixes

* test(query-devtools/contexts/QueryDevtoolsContext): clear 'QueryClient' instances after the reactive getter test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-26 02:54:29 +09:00
Wonsuk Choi
b110d25c40
test(query-devtools/contexts/ThemeContext): drop the 'Provider' value pass-through case in favor of the reactive 'Accessor' case (#10794) 2026-05-26 02:45:16 +09:00
Wonsuk Choi
7252bdc612
ci(detect-agent): remove the detect-agent workflow (#10781) 2026-05-25 14:52:47 +02:00
Gaurav
3023dadec3
Fix(lit-query): prevent redundant host updates (#10789)
* fix(lit-query): prevent redundant host updates

* ci: apply automated fixes

---------

Co-authored-by: gauravchugh <gauravchugh@servicenow.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-25 14:36:52 +02:00
Wonsuk Choi
514c132c1b
test(query-devtools/contexts/ThemeContext): split 'ThemeContext' tests into a unit test file mirroring the 'src/contexts' structure (#10787) 2026-05-25 15:35:01 +09:00
Wonsuk Choi
0cfde2a9e8
test(query-devtools/Devtools): add assertion for default theme falling back to 'dark' without a 'ThemeContext.Provider' (#10786) 2026-05-25 14:59:51 +09:00
Wonsuk Choi
67e250bb1d
test(query-devtools/Devtools): add test for rendering without a 'ThemeContext.Provider' (#10785) 2026-05-25 14:41:18 +09:00
Wonsuk Choi
04fb3fb8a5
test(query-devtools/Devtools): add test for PiP panel narrow layout below the second breakpoint (#10784) 2026-05-25 14:14:01 +09:00
Wonsuk Choi
bde5a7f3bd
test(query-devtools/Explorer): add test for rendering with a 'shadowDOMTarget' (#10782) 2026-05-25 12:51:32 +09:00
Wonsuk Choi
b9ec780ea6
ci(labeler): remove the labeler workflow and its configuration (#10766) 2026-05-24 20:34:02 +02:00
Wonsuk Choi
63b3a72d13
test(query-devtools/Explorer): add test for rendering under the 'light' theme (#10768) 2026-05-25 01:59:20 +09:00
Raashish Aggarwal
3042860e3c
fix(query-devtools): handle missing query row state (#10772)
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-05-24 15:46:56 +02:00
Puneet Dixit
e631dc3fa1
Fix devtools query rows with mutable keys (#10750)
* Fix devtools query rows with mutable keys

* ci: apply automated fixes

---------

Co-authored-by: puneetdixit200 <236133619+puneetdixit200@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-24 15:02:26 +02:00
github-actions[bot]
ba6e7beebd
ci: Version Packages (#10767) release-2026-05-23-1717 @tanstack/angular-query-experimental@5.100.14 @tanstack/eslint-plugin-query@5.100.14 @tanstack/lit-query@0.2.6 @tanstack/preact-query-devtools@5.100.14 @tanstack/preact-query-persist-client@5.100.14 @tanstack/preact-query@5.100.14 @tanstack/query-async-storage-persister@5.100.14 @tanstack/query-broadcast-client-experimental@5.100.14 @tanstack/query-core@5.100.14 @tanstack/query-devtools@5.100.14 @tanstack/query-persist-client-core@5.100.14 @tanstack/query-sync-storage-persister@5.100.14 @tanstack/react-query-devtools@5.100.14 @tanstack/react-query-next-experimental@5.100.14 @tanstack/react-query-persist-client@5.100.14 @tanstack/react-query@5.100.14 @tanstack/solid-query-devtools@5.100.14 @tanstack/solid-query-persist-client@5.100.14 @tanstack/solid-query@5.100.14 @tanstack/svelte-query-devtools@6.1.33 @tanstack/svelte-query-persist-client@6.1.33 @tanstack/svelte-query@6.1.33 @tanstack/vue-query-devtools@6.1.33 @tanstack/vue-query@5.100.14
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-23 19:13:22 +02:00
Dominik Dorfmeister 🔮
ed20b6d754
fix(react): do not go into optimistic fetching state when not subscribed (#10759)
* fix(react): do not go into optimistic fetching state when not subscribed

* changeset
2026-05-23 17:34:07 +02:00
Wonsuk Choi
3f10705579
test(query-devtools/Devtools): add test for rendering an idle mutation row (#10764) 2026-05-23 21:52:15 +09:00
Wonsuk Choi
d5c6df7090
test(query-devtools/Devtools): add test for restoring 'width' to the rendered minimum after a drag clamp (#10763) 2026-05-23 16:15:15 +09:00