Wonsuk Choi
4ae64479f4
fix(examples/solid/basic-graphql-request): type post ids as strings and pass the id as a GraphQL variable ( #12100 )
2026-10-19 01:14:41 +09:00
Wonsuk Choi
c10c1f770c
fix(examples/solid): throw on non-ok 'fetch' responses in the query functions ( #12098 )
2026-10-19 01:13:50 +09:00
Wonsuk Choi
c1296c1745
fix(examples/preact/simple): throw on non-ok 'fetch' responses in the query function ( #12097 )
2026-10-19 01:13:30 +09:00
Wonsuk Choi
de10bb0f9c
chore(examples/react/react-native): replace the removed 'expo eject' script with 'expo prebuild' and drop the deprecated global 'expo-cli' install step ( #12096 )
2026-10-19 01:13:14 +09:00
Wonsuk Choi
0e7d125f0f
refactor(examples/solid/astro): type the pokemon responses and move the queries into 'src/lib/api.ts' with 'queryOptions' ( #12102 )
2026-10-19 00:46:59 +09:00
Wonsuk Choi
ddff3a70be
fix(examples/react/react-native): register 'NetInfo' through 'onlineManager.setEventListener' so connected devices are not treated as offline while reachability is unknown ( #12091 )
2026-10-18 23:02:32 +09:00
Wonsuk Choi
85feb09419
refactor(examples/react/react-native): refetch only active stale queries in 'useRefreshOnFocus' as in the React Native guide ( #12092 )
2026-10-18 23:02:22 +09:00
Wonsuk Choi
3c648e4dd8
feat(examples/react/react-native): render 'ReactQueryDevtools' on web through a platform-specific 'Devtools' component ( #12093 )
2026-10-18 23:01:44 +09:00
Wonsuk Choi
a8eeff39fe
refactor(examples/react/react-native): replace the deprecated 'Paragraph' and 'Title' with 'Text' variants from 'react-native-paper' ( #12094 )
2026-10-18 23:01:33 +09:00
Wonsuk Choi
af1e58044a
refactor(examples/react/eslint-plugin-demo): rename the 'useApiClient' stub to 'getApiClient' since it is called outside of hooks ( #12089 )
2026-10-18 22:28:44 +09:00
Wonsuk Choi
c57cf557c1
refactor(examples/react/basic): remove the always-true 'enabled' and the always-false '!postId' check in 'Post' ( #12088 )
2026-10-18 22:28:38 +09:00
Wonsuk Choi
e39f330fa3
fix(examples/react/basic-graphql-request): type post ids as strings and pass the id as a GraphQL variable ( #12087 )
2026-10-18 22:28:32 +09:00
Wonsuk Choi
988e69ebfd
fix(examples/react/algolia): show the search error and use a 'button' that is disabled while fetching for loading more ( #12086 )
2026-10-18 22:28:25 +09:00
Wonsuk Choi
0fba30fbea
fix(examples/react/load-more-infinite-scroll): move the projects query into 'infiniteQueryOptions' in 'src/lib' and type 'nextId' and 'previousId' as nullable ( #12085 )
2026-10-18 22:28:18 +09:00
Wonsuk Choi
7328d02a36
fix(examples/react/pagination): share the projects query with 'queryOptions' in 'src/lib' so the next page prefetch respects 'staleTime' ( #12084 )
2026-10-18 22:28:11 +09:00
Wonsuk Choi
d338489e0a
fix(examples/react/playground): show 'Saved!' only after a successful mutation instead of while idle ( #12083 )
2026-10-18 22:28:05 +09:00
Wonsuk Choi
f0dcdca510
fix(examples/react/offline): show query errors in 'List' and 'Detail' and remove the 'MovieError' element that 'react-location' never renders ( #12082 )
2026-10-18 22:27:59 +09:00
Wonsuk Choi
3ff2ec1678
fix(examples/react/nextjs-app-optimistic-updates): stream the prefetched todos with 'useSuspenseQuery' and a 'React.Suspense' boundary ( #12081 )
2026-10-18 22:27:53 +09:00
Wonsuk Choi
68b655af86
docs({react,preact}/quick-start): use 'createRoot' in the React example and keep 'render' from 'preact' in the Preact example ( #12080 )
2026-10-18 22:27:47 +09:00
Wonsuk Choi
116687942b
docs(react/guides/ssr): add the default 'staleTime' to the 'Remove boilerplate' '_app' example ( #12079 )
2026-10-18 22:27:40 +09:00
Wonsuk Choi
ccbd483363
docs(react/guides/mutations): use 'createAsyncStoragePersister' instead of the deprecated 'createSyncStoragePersister' ( #12078 )
2026-10-18 22:27:33 +09:00
Wonsuk Choi
cd9e573ea9
fix(examples/react/nextjs): set a default 'staleTime' so the statically generated posts are not refetched right after hydration ( #12077 )
2026-10-18 22:27:27 +09:00
Wonsuk Choi
9d93dc57d1
refactor(examples/react/nextjs-app-prefetching): add 'shouldRedactErrors' to the query client as in the advanced SSR guide ( #12076 )
2026-10-18 22:27:20 +09:00
Wonsuk Choi
daf7444f91
fix(examples/react/prefetching): show the error instead of an empty list or blank details when fetching characters fails ( #12075 )
2026-10-18 22:27:14 +09:00
Wonsuk Choi
19ad6d7fd4
fix(examples/react/nextjs): show the error in 'PostList' instead of an empty list when fetching posts fails ( #12074 )
2026-10-18 22:27:08 +09:00
Wonsuk Choi
d3aac58fbd
docs(examples/react/prefetching): replace the unreachable '[user]/[repo]' page with a character details page that reads the prefetched query ( #12073 )
2026-10-18 21:01:44 +09:00
Wonsuk Choi
2e7c288ed2
refactor(examples/react/shadow-dom): type the dogs response and move the query into 'api.ts' with 'queryOptions' ( #12072 )
2026-10-18 21:01:16 +09:00
Wonsuk Choi
0a37fa6f23
refactor(examples/react/nextjs-app-optimistic-updates): share the todos query and fetchers with 'queryOptions' ( #12071 )
2026-10-18 21:00:55 +09:00
Benjamín Vicente
7ec7fcdc90
ci: update Changesets preview action for v3 ( #12064 )
2026-10-18 10:00:22 +02:00
Wonsuk Choi
5b7f490130
refactor(examples/react/prefetching): type the character query and share it with 'queryOptions' ( #12070 )
2026-10-18 14:09:05 +09:00
Wonsuk Choi
090fb4a417
refactor(examples/react/star-wars): type the API responses and share the queries with 'queryOptions' ( #12069 )
2026-10-18 13:40:28 +09:00
Wonsuk Choi
256abf45f0
refactor(examples/react/rick-morty): type the API responses and share the queries with 'queryOptions' ( #12068 )
2026-10-18 13:40:06 +09:00
Wonsuk Choi
ffb1fbb62d
chore(examples/react): update '@types/react' and '@types/react-dom' to '^19' in the examples still on '^18' ( #12067 )
2026-10-18 13:39:47 +09:00
Wonsuk Choi
53bd787530
ci(.github/workflows): keep autofix from cancelling the release on pushes and skip the release on pushes by 'autofix-ci[bot]' ( #12066 )
...
* ci(.github/workflows): keep autofix from cancelling the release on pushes and skip the release on autofix commits
* ci(.github/workflows/release): skip the release on pushes by 'autofix-ci[bot]' instead of matching the commit message
2026-10-18 12:08:48 +09:00
autofix-ci[bot]
1099ebb444
ci: apply automated fixes
2026-10-17 17:55:17 +00:00
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