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

553 commits

Author SHA1 Message Date
github-actions[bot]
b699b52d60
ci: Version Packages (#11849)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-11 21:32:27 +02:00
Wonsuk Choi
98fd5936f0
chore(examples/react): add '@types/node' to the Next.js examples that relied on the root copy (#11977) 2026-10-12 03:40:40 +09:00
Wonsuk Choi
3a0e92744d
chore(examples/react): add '.stackblitzrc' so StackBlitz runs the 'dev' script in the Next.js examples (#11976) 2026-10-12 03:35:35 +09:00
Wonsuk Choi
fd820ed30d
fix(examples/{react,solid}/offline): regenerate the msw worker and render after it starts (#11974) 2026-10-12 02:35:05 +09:00
Wonsuk Choi
d81b4e41d6
fix(examples/react/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions' (#11973)
* fix(examples/react/offline): type the movie query and mutation with 'queryOptions' and 'mutationOptions'

* fix(examples/react/offline): type the movie list response with only 'id' and 'title'
2026-10-12 02:34:19 +09:00
Wonsuk Choi
a6a46a2eab
fix(examples/react/react-native): type the movie list items as 'Movie' (#11971) 2026-10-12 02:26:02 +09:00
Wonsuk Choi
d2d3e064a0
chore(examples/react): raise 'target' from 'ES5' to 'ES2017' in the Next app examples (#11969) 2026-10-12 01:53:40 +09:00
Wonsuk Choi
3ae9fb0c3c
fix(examples/react/algolia): compute the next page from 'lastPageParam' and the optional 'nbPages' (#11967) 2026-10-11 23:41:43 +09:00
Wonsuk Choi
70194b8a7c
chore(examples/react): add 'vite-env.d.ts' so CSS imports type-check under TS 6 (#11968) 2026-10-11 23:41:19 +09:00
Wonsuk Choi
008b750034
fix(examples/react/prefetching): subscribe to prefetched characters instead of forcing a rerender (#11966) 2026-10-11 23:35:03 +09:00
Wonsuk Choi
11ad4e012a
fix(examples/react/infinite-query-with-max-pages): extract a typed 'fetchProjects' for 'queryFn' (#11965) 2026-10-11 23:34:39 +09:00
Wonsuk Choi
4e21da774f
fix(examples/react): narrow 'req.query' values in the Next API routes (#11963)
* fix(examples/react): narrow 'req.query' values in the Next API routes

* fix(examples/react): skip empty 'add' values and keep 'parseInt' for 'req.query' in the Next API routes
2026-10-11 23:09:43 +09:00
Wonsuk Choi
dee1679bf4
chore(examples/react): remove unused 'React' imports (#11962) 2026-10-11 11:42:04 +09:00
Wonsuk Choi
3a66faac11
fix(examples/react): remove the 'exact' prop that react-router v6 no longer supports (#11961) 2026-10-11 11:41:31 +09:00
Wonsuk Choi
fb65258385
chore(examples/react): add '@types/react' to the examples that relied on the root one (#11960) 2026-10-11 10:45:38 +09:00
Wonsuk Choi
22621e773c
chore(examples/react): enable 'allowJs' so typed linting covers 'eslint.config.js' (#11950) 2026-10-11 00:51:13 +09:00
Wonsuk Choi
42745443cf
chore(nx.json): build the dependencies before 'test:eslint' (#11951) 2026-10-10 23:58:26 +09:00
Wonsuk Choi
bef879eb56
chore(examples/react): run 'test:eslint' in 'algolia', 'basic-graphql-request' and 'shadow-dom' (#11948)
* chore(examples/react): run 'test:eslint' in 'algolia', 'basic-graphql-request' and 'shadow-dom'

* refactor(examples/react/algolia): derive 'hits' with 'select' instead of spreading the query result
2026-10-10 23:03:54 +09:00
github-actions[bot]
29859ae60c
ci: Version Packages (#11806)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-02 12:02:10 +02:00
Wonsuk Choi
c51bb623bb
chore(*): declare '@eslint-react/eslint-plugin' in the react packages and examples that use it instead of the root (#11726) 2026-09-29 11:56:40 +09:00
github-actions[bot]
d4033eb1e5
ci: Version Packages (#11651)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-26 13:53:37 +10:00
Lachlan Collins
5279b05211
chore(deps): update Vite from v6 to v8 (#11650)
* chore(deps): update Vite from v6 to v8

* Fix angular, vue-devtools

* Fix vue-devtools

* Fix knip, remove @tanstack/vite-config

* Update eslint config

* Disable false eslint errors

* Fix remaining errors

* Fix knip, dedupe esbuild

* Add changeset
2026-09-26 12:23:02 +10:00
github-actions[bot]
fe053bf8e9
ci: Version Packages (#11612)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-26 10:13:58 +10:00
Lachlan Collins
f00aad602e
chore(deps): update dev dependencies (#11640)
chore(deps): update many dev dependencies
2026-09-26 07:30:31 +10:00
Lachlan Collins
57f40eb05b
chore(deps): update non-major dependencies (#11625)
* chore(deps): update non-major dependencies

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-25 15:15:46 +10:00
Lachlan Collins
32ca5b50d4
chore(examples): update Expo from v52 to v57 (#11596) 2026-09-23 21:24:20 +10:00
github-actions[bot]
e0f6c5542f
ci: Version Packages (#11525)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-21 11:29:33 +02:00
github-actions[bot]
c08f5766dd
ci: Version Packages (#11511)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 16:56:55 +02:00
github-actions[bot]
19ccf2794b
ci: Version Packages (#11339)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 09:03:53 +02:00
github-actions[bot]
2969edf32f
ci: Version Packages (#11316) 2026-08-28 01:03:02 +09:00
github-actions[bot]
2eb3c7c76f
ci: Version Packages (#11313)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-27 17:28:48 +09:00
github-actions[bot]
714df67ab1
ci: Version Packages (#11306)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 20:32:28 +02:00
github-actions[bot]
1836e61b8c
ci: Version Packages (#11303)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 10:56:25 +02:00
github-actions[bot]
51f12db919
ci: Version Packages (#11294)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-25 23:24:07 +02:00
Wonsuk Choi
8fbfc14d42
chore(examples,docs): replace deprecated 'prefetchQuery'/'fetchQuery' calls with 'query' (#11282) 2026-08-25 15:06:52 +09:00
github-actions[bot]
730b3aa06c
ci: Version Packages (#11276) 2026-08-25 04:21:47 +09:00
github-actions[bot]
388bbaf181
ci: Version Packages (#11265)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 19:57:36 +02:00
github-actions[bot]
bc423b37ef
ci: Version Packages (#11261)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 12:57:01 +02:00
github-actions[bot]
5743468462
ci: Version Packages (#11206)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-22 20:52:42 +02:00
Dominik Dorfmeister 🔮
bf7ae20fed
docs(example): batching (#11008)
* docs(example): dataloader

* use tanstack pacer instead of dataloader

* add staleTime

* switch to useAsyncBatchedCallback

* Revert "switch to useAsyncBatchedCallback"

This reverts commit 4d408daa63.

* fix: use PromiseWithResolvers

* add batching example to docs
2026-08-20 11:25:31 +02:00
Guilherme Rabelo
baa256c0d2
docs(examples): add Next.js App Router optimistic updates example (#10997)
* feat(examples): add Next.js App Router optimistic updates example

* refactor(examples/nextjs-app-optimistic-updates): apply post-review corrections

* refactor(examples/nextjs-app-optimistic-updates): apply post-review corrections

* update deps

* ref: remove other optimistic update examples

* ci: apply automated fixes

---------

Co-authored-by: Guilherme Rabelo <T0006742@randon.com.br>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-18 09:57:04 +02:00
Manan Telrandhe
6613753cbe
docs(examples): use webpack in Next.js examples for StackBlitz compatibility (#11110) 2026-08-17 14:44:53 +02:00
github-actions[bot]
86bb8a6fb2
ci: Version Packages (#11094)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-21 15:00:30 +02:00
github-actions[bot]
181ea826cb
ci: Version Packages (#11089)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-20 14:01:04 +02:00
max
79d2384db5
docs(*): fix 'homogenous', 'stoage', 'supressed', 'compoennts' spelling typos (#11040)
* fix: correct spelling typos across docs, examples, and source comments

- homogenous -> homogeneous in 7 useQueries/createQueries source files
- stoage -> storage in react and vue createPersister docs
- supressed -> suppressed in react and angular pagination examples
- compoennts -> components in solid-start-streaming example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(react-query/useSuspenseQueries): correct 'homogenous' typo to 'homogeneous' in comment

---------

Co-authored-by: maxtaran2010 <ocotifuzo727@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
2026-07-13 14:06:03 +09:00
github-actions[bot]
610e8d1684
ci: Version Packages (#10996)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-27 22:28:10 +02:00
github-actions[bot]
b80929716f
ci: Version Packages (#10977)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-23 11:57:22 +02:00
github-actions[bot]
f3d8d2abbf
ci: Version Packages (#10774)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-02 21:21:24 +02:00
Feranmi Adeniji
2faff25cbf
fix(examples): replace deprecated 'isServer' with 'environmentManager.isServer()' in remaining Next.js examples (#10860) 2026-06-02 13:52:50 +02:00
Wonsuk Choi
0bc0a8891f
fix(examples/integrations): replace deprecated 'isServer' with 'environmentManager.isServer()' in the Next.js examples (#10858) 2026-06-02 16:17:46 +09:00