github-actions[bot]
12199722dc
ci: Version Packages ( #12062 )
...
release-2026-10-17-1753
@tanstack/query-core@5.104.4
@tanstack/svelte-query-persist-client@6.3.4
@tanstack/solid-query-persist-client@5.104.4
@tanstack/angular-query-experimental@5.104.4
@tanstack/lit-query@0.2.29
@tanstack/solid-query-devtools@5.104.4
@tanstack/preact-query-devtools@5.104.4
@tanstack/react-query-devtools@5.104.4
@tanstack/vue-query-devtools@6.3.4
@tanstack/query-sync-storage-persister@5.104.4
@tanstack/query-persist-client-core@5.104.4
@tanstack/svelte-query@6.3.4
@tanstack/vue-query@5.104.4
@tanstack/query-devtools@5.104.4
@tanstack/react-query-persist-client@5.104.4
@tanstack/eslint-plugin-query@5.104.4
@tanstack/solid-query@5.104.4
@tanstack/query-async-storage-persister@5.104.4
@tanstack/query-broadcast-client-experimental@5.104.4
@tanstack/react-query-next-experimental@5.104.4
@tanstack/preact-query@5.104.4
@tanstack/svelte-query-devtools@6.3.4
@tanstack/react-query@5.104.4
@tanstack/preact-query-persist-client@5.104.4
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-17 19:51:17 +02:00
chungyoung kim
1fee0443db
fix(query-core): clear mutations before notifying subscribers ( #11470 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-17 19:46:13 +02:00
JeongHoon
c20886163a
fix(react-query): retry queries with falsy errors on mount ( #11328 )
...
* fix(react-query): retry queries with falsy errors on mount
* refactor(react-query): keep throwOnError constant
---------
Co-authored-by: TkDodo <office@dorfmeister.cc>
2026-10-17 19:26:30 +02:00
Jooyoung Shin
0addcd2a9a
fix(preact-query): retry on mount for falsy errors when throwOnError returns false ( #11375 )
...
* fix(preact-query): retry on mount for falsy errors when throwOnError returns false
`ensurePreventErrorBoundaryRetry` only evaluated a function-valued
`throwOnError` when `query.state.error` was truthy. For a query that
rejected with a falsy value (e.g. `undefined`), the callback was skipped
and the function itself was treated as truthy, so `retryOnMount` was
disabled even though `throwOnError` would have returned `false`.
Check `query.state.status === 'error'` instead so the callback runs for
every failed query. Ports #11328 to preact-query.
* refactor(preact-query): keep throwOnError constant
---------
Co-authored-by: TkDodo <office@dorfmeister.cc>
2026-10-17 19:23:55 +02:00
Seungtaek Oh
7ea0278558
fix(solid-query): subscribe to the new observer when the queryClient changes ( #11920 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-17 19:10:13 +02:00
곽지욱
fce89ddf7a
fix(query-core): preserve null infinite page params ( #11527 )
...
fix(query-core): preserve null infinite page params
2026-10-17 18:54:51 +02:00
Wonsuk Choi
b61abc2033
fix(query-devtools/Devtools): apply the 'hideDisabledQueries' prop to the query list ( #11638 )
2026-10-17 18:51:43 +02:00
Wonsuk Choi
fc3a3848f2
fix({preact,solid,svelte,angular-query-experimental}): switch to 'export type *' for type-only re-exports ( #11251 )
...
* fix({preact,solid,svelte,angular-query-experimental}): switch to 'export type *' for type-only re-exports
* chore(.changeset/export-type-star-adapters): trim redundant PR cross-reference from changeset body
2026-10-17 18:51:10 +02:00
Derrick Marcey
c8f5eac9df
fix(query-devtools): expose pressed state on the boolean value toggle button ( #11983 )
...
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-17 18:34:57 +02:00
Minh Vu
1cf6eb4e9e
fix(eslint-plugin-query): detect aliased React hook dependencies ( #11889 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-17 18:24:06 +02:00
Wonsuk Choi
a10839824c
fix(react-query*): declare '@types/react' as an optional peer dependency ( #11728 )
...
* fix(react-query*): declare '@types/react' as a peer dependency like 'react-query-devtools'
* fix(react-query*): mark '@types/react' as an optional peer dependency
2026-10-17 18:07:05 +02:00
Wonsuk Choi
5817e6f698
fix(examples/react): throw on non-ok 'fetch' responses in the query and mutation functions ( #12058 )
2026-10-17 18:06:09 +02:00
Wonsuk Choi
ec80fda0c1
docs(framework/react/overview): throw on a non-ok 'fetch' response in the example, and in 'examples/react/simple' ( #12057 )
2026-10-17 18:03:41 +02:00
Wonsuk Choi
eddeaa1fc9
docs(eslint/exhaustive-deps): mark the rule as providing suggestions instead of being fixable ( #12043 )
2026-10-17 18:03:14 +02:00
Wonsuk Choi
a5f1b092bb
refactor(eslint-plugin-query/exhaustive-deps): remove the unused 'fixable' from the rule metadata ( #12044 )
2026-10-17 18:02:55 +02:00
Wonsuk Choi
0992a92914
fix(react-query-devtools): create the devtools instance lazily with 'useState' initializer instead of on every render ( #11722 )
2026-10-17 18:02:24 +02:00
Wonsuk Choi
2bb82dfd23
fix(svelte-query/HydrationBoundary): make 'options' and 'queryClient' props optional ( #12030 )
2026-10-17 18:01:46 +02:00
Paul Nguyen
2ce51902de
fix(preact-query): do not go into optimistic fetching state when not subscribed ( #11259 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-17 17:42:13 +02:00
Wonsuk Choi
a636462b85
refactor(examples/react/suspense): prefetch the projects in the click handler instead of inside the 'setShowProjects' updater ( #12056 )
2026-10-17 11:43:26 +09:00
Wonsuk Choi
9fbf293807
fix(examples/react/nextjs-app-optimistic-updates): return the invalidation promise from 'onSettled' so the pending todo stays until the refetch finishes ( #12055 )
2026-10-17 11:36:37 +09:00
Wonsuk Choi
f38e6271b4
chore(*): update '@tanstack/typedoc-config' to v0.3.5 ( #12035 )
...
* chore(scripts/generate-docs): read type alias bodies whose type parameters have defaults
* chore(*): update '@tanstack/typedoc-config' to v0.3.5
2026-10-17 11:14:03 +09:00
Wonsuk Choi
584fd64144
refactor(examples/react/react-router): replace the deprecated 'ensureQueryData' with 'query' and 'staleTime: 'static'' in the loaders ( #12052 )
2026-10-17 11:01:52 +09:00
Wonsuk Choi
83b0831c27
fix(examples): rename the auto-refetching title from 'stale-time' to 'refetchInterval', which is the option it sets ( #12051 )
2026-10-17 04:01:34 +09:00
Wonsuk Choi
b71ff31696
fix(examples/react/offline): throw on non-ok responses so failures surface the server's message instead of a JSON parse error ( #12050 )
2026-10-17 03:54:46 +09:00
Wonsuk Choi
6f1fa2b843
fix(examples/react/chat): submit through a 'form' so 'Enter' cannot send an empty question ( #12049 )
2026-10-17 03:04:42 +09:00
Wonsuk Choi
9583088120
fix(examples/react/batching): show the character's 'status' instead of the query 'status' ( #12045 )
2026-10-17 03:01:30 +09:00
Wonsuk Choi
116818a610
fix(examples/react/rick-morty): read the episode's 'air_date' instead of the nonexistent 'airDate' ( #12046 )
2026-10-17 03:01:20 +09:00
Wonsuk Choi
817f823b9e
fix(examples/react/chat): give each question an 'id' so repeated questions get their own React key and query ( #12047 )
2026-10-17 03:01:08 +09:00
Wonsuk Choi
8ca99d1e57
fix(examples/react/chat): use camelCase 'strokeWidth', 'strokeLinecap' and 'strokeLinejoin' on the send icon ( #12048 )
2026-10-17 03:01:00 +09:00
Wonsuk Choi
cc185b0807
docs(eslint/no-void-query-fn): note that the rule requires typed linting ( #12042 )
2026-10-17 02:40:13 +09:00
Wonsuk Choi
fceed3463c
docs(eslint/eslint-plugin-query): add an 'Oxlint' section for using the plugin through 'jsPlugins' ( #12041 )
2026-10-17 02:39:57 +09:00
Wonsuk Choi
e90c0bdb83
chore(integrations): remove the unused legacy '.eslintrc.cjs' configs ( #12040 )
...
* chore(integrations): remove the unused legacy '.eslintrc.cjs' configs
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-17 02:21:55 +09:00
Wonsuk Choi
eb94a5b445
chore(examples/react/react-native): add a flat config and run 'test:eslint' ( #12039 )
...
* chore(examples/react/react-native): add a flat config and run 'test:eslint'
* refactor(examples/react/react-native): fix lint errors
2026-10-17 01:08:08 +09:00
Wonsuk Choi
0e19ad7c33
chore(oxlint.config): ignore 'examples' and 'integrations', which are not linted by Oxlint ( #12038 )
2026-10-17 01:00:11 +09:00
Wonsuk Choi
e75ecbedf2
refactor(examples/react/react-native): pass the movie title in route params and show the cached list item as 'placeholderData' ( #12037 )
...
* refactor(examples/react/react-native): pass the movie title in route params and show the cached list item as 'placeholderData'
* refactor(examples/react/react-native): check 'isError' instead of 'error' before rendering the data
2026-10-17 00:57:02 +09:00
github-actions[bot]
ee47993724
ci: Version Packages ( #11998 )
...
release-2026-10-15-0754
@tanstack/react-query-persist-client@5.104.3
@tanstack/query-core@5.104.3
@tanstack/svelte-query@6.3.3
@tanstack/svelte-query-persist-client@6.3.3
@tanstack/svelte-query-devtools@6.3.3
@tanstack/vue-query@5.104.3
@tanstack/solid-query@5.104.3
@tanstack/solid-query-persist-client@5.104.3
@tanstack/solid-query-devtools@5.104.3
@tanstack/angular-query-experimental@5.104.3
@tanstack/eslint-plugin-query@5.104.3
@tanstack/lit-query@0.2.28
@tanstack/preact-query-devtools@5.104.3
@tanstack/preact-query-persist-client@5.104.3
@tanstack/preact-query@5.104.3
@tanstack/query-async-storage-persister@5.104.3
@tanstack/react-query@5.104.3
@tanstack/query-devtools@5.104.3
@tanstack/query-broadcast-client-experimental@5.104.3
@tanstack/query-persist-client-core@5.104.3
@tanstack/query-sync-storage-persister@5.104.3
@tanstack/react-query-devtools@5.104.3
@tanstack/react-query-next-experimental@5.104.3
@tanstack/vue-query-devtools@6.3.3
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-15 09:50:17 +02:00
autofix-ci[bot]
acd8bbc984
ci: apply automated fixes
2026-10-15 07:39:46 +00:00
Sviat Barbutsa
0f15bc925d
fix(query-core): preserve union narrowing in setQueryData updaters ( #11935 )
...
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-10-15 09:36:14 +02:00
Wonsuk Choi
a21e17b5e2
chore(examples/svelte/playground): add a flat config and run 'test:eslint' ( #12029 )
...
* chore(examples/svelte/playground): add a flat config and run 'test:eslint'
* refactor(examples/svelte/playground): fix lint errors
2026-10-15 15:22:16 +09:00
Wonsuk Choi
9cce260056
fix(examples/svelte/playground): keep unsaved edits out of the query cache and apply the 'staleTime' and 'gcTime' inputs ( #11986 )
2026-10-15 14:31:10 +09:00
Wonsuk Choi
eea734d168
chore(examples/react): add the missing 'react' prefix to package names ( #12028 )
2026-10-15 13:42:43 +09:00
Wonsuk Choi
8b48d0253b
chore(examples/vue): add 'test:types' to type-check the examples in CI ( #12022 )
2026-10-15 10:14:24 +09:00
Wonsuk Choi
27346620ad
docs(*): exclude members declared in 'node_modules' from generated reference docs ( #12014 )
2026-10-15 10:09:02 +09:00
Wonsuk Choi
98451e1b3c
chore(examples/react): add 'test:types' to type-check the examples in CI ( #12020 )
...
* chore(examples/react): add 'test:types' to type-check the examples in CI
* chore(examples/react): run 'next typegen' before 'tsc' in the remaining Next.js examples
2026-10-15 10:01:28 +09:00
Wonsuk Choi
682e00144f
chore(examples/svelte): add 'test:types' to type-check the examples in CI ( #12019 )
2026-10-15 09:53:04 +09:00
Wonsuk Choi
e26971ebf9
chore(examples/solid): add 'test:types' to type-check the examples in CI and move 'astro check' out of 'build' ( #12018 )
2026-10-15 09:52:44 +09:00
Wonsuk Choi
6768f4e0bf
chore(examples/lit): move the type check from 'build' to 'test:types' ( #12017 )
2026-10-15 09:52:08 +09:00
Wonsuk Choi
dc90144cd0
chore(examples/preact): add 'test:types' to type-check the example in CI ( #12016 )
2026-10-15 09:51:46 +09:00
Wonsuk Choi
c87cdcb962
chore(examples/angular): add 'test:types' to type-check the examples in CI ( #12015 )
2026-10-15 09:51:32 +09:00
Wonsuk Choi
8d88a1725d
chore(nx.json): build the dependencies before 'test:types' ( #12021 )
2026-10-15 09:08:15 +09:00