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

78 commits

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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-01 11:04:19 +01:00
Wonsuk Choi
c9c00015ef
docs(examples): add router and framework suffix to 'docs/config.json' labels and 'package.json' names (#12458)
* docs(examples): add router and framework suffix to 'docs/config.json' labels and 'package.json' names

* docs(examples): distinguish Next.js App/Pages Router and Nuxt/SolidStart major versions in example labels and names
2026-10-30 01:50:34 +09:00
Wonsuk Choi
007127748a
fix(examples/{react,preact}/auto-refetching): encode 'add' query parameter with 'encodeURIComponent' (#12457) 2026-10-30 01:23:06 +09:00
Wonsuk Choi
259de1d810
chore(deps): update 'vite' to '^8.3.5', deduplicate 'pnpm-lock.yaml' and remove 'vite@6.4.1' from 'trustPolicyExclude' (#12446) 2026-10-29 12:48:15 +09:00
Wonsuk Choi
ec7bcd4ed1
fix(examples/chat): pass the query 'signal' to 'streamFn' so refetching cancels the previous stream (#12437) 2026-10-28 17:22:17 +09:00
Wonsuk Choi
9d61f1e43e
fix(examples): remove horizontal overflow in 'shadow-dom' and make character selection keyboard accessible in 'prefetching' (#12436) 2026-10-28 17:10:27 +09:00
Wonsuk Choi
3185bcf97c
fix(examples): validate ids, handle HTTP and loader errors, and show watchers and unknown locations correctly (#12435)
* fix(examples): validate ids, handle HTTP and loader errors, and show watchers and unknown locations correctly

* fix(examples/{batching,prefetching}): disable loading while input is invalid and reject non-decimal character ids
2026-10-28 16:56:52 +09:00
Wonsuk Choi
19d8572b55
refactor({examples,integrations}): replace the deprecated 'prefetchQuery' with 'query' (#12425) 2026-10-28 10:40:45 +09:00
Wonsuk Choi
2941a23d57
chore(deps): unify and update '@eslint-react/eslint-plugin', 'eslint', 'svelte-check', 'vue-tsc' and '@tanstack/vue-query' versions (#12421)
* chore(deps): unify and update '@eslint-react/eslint-plugin', 'eslint', 'svelte-check', 'vue-tsc' and '@tanstack/vue-query' versions

* chore(pnpm-lock): run 'pnpm dedupe'
2026-10-27 21:14:48 +09:00
Wonsuk Choi
d7543db621
chore(deps): update 'typescript' to '^6.0.3' across examples and integrations (#12418) 2026-10-27 15:28:33 +09:00
Wonsuk Choi
ff8bdaffc9
fix(examples/preact/{ssr,ssr-streaming}): only send the error stack in development (#12413) 2026-10-27 10:42:25 +09:00
Wonsuk Choi
ab2a7198bb
docs(preact): add a streaming section to the SSR guide and an 'ssr-streaming' example (#12412) 2026-10-27 10:38:25 +09:00
Wonsuk Choi
378e950827
chore(examples): remove the unused 'query-core' dependency from lit and render the devtools in algolia (#12410) 2026-10-27 09:48:07 +09:00
Wonsuk Choi
d9029ef465
chore(examples/*/tsconfig): include '*.config.ts' and '*.config.js' like the packages (#12408) 2026-10-27 09:11:08 +09:00
Wonsuk Choi
479a8dbf3c
docs(examples/preact/ssr): add ssr example with prefetching, dependent queries and error handling (#12407)
* docs(examples/preact/ssr): add ssr example

* docs(examples/preact/ssr): prefetch a dependent query and treat the posts as critical content
2026-10-27 00:41:37 +09:00
Wonsuk Choi
7a2bc3c95b
docs(examples/preact/optimistic-updates): add optimistic-updates example (#12404) 2026-10-27 00:16:00 +09:00
Wonsuk Choi
8af7af6f11
docs(examples/preact): add 'auto-refetching', 'pagination', 'load-more-infinite-scroll', 'infinite-query-with-max-pages' and 'prefetching' examples (#12403)
* docs(examples/preact): add 'auto-refetching', 'pagination', 'load-more-infinite-scroll', 'infinite-query-with-max-pages' and 'prefetching' examples

* docs(examples/preact/auto-refetching): share the mocked list across tabs through 'localStorage'
2026-10-27 00:09:32 +09:00
Wonsuk Choi
bb11f3cc82
docs(examples/preact): add 'suspense' and 'batching' examples (#12402) 2026-10-26 23:23:26 +09:00
Wonsuk Choi
b484ddd573
docs(examples/preact): add 'star-wars', 'rick-morty' and 'offline' examples (#12401)
* docs(examples/preact): add 'suspense', 'star-wars' and 'rick-morty' examples

* ci: apply automated fixes

* docs(examples/preact): move 'suspense' out and add 'offline' example

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-26 23:15:51 +09:00
Wonsuk Choi
a075333e4c
docs(examples/preact): add 'shadow-dom' and 'devtools-panel' examples (#12399) 2026-10-26 22:33:32 +09:00
Wonsuk Choi
bf50a62dd0
docs(examples/preact): add 'basic-graphql-request', 'default-query-function', 'playground', 'algolia' and 'chat' examples (#12397)
* docs(examples/preact/basic-graphql-request): add basic-graphql-request example

* docs(examples/preact): add 'default-query-function', 'playground', 'algolia' and 'chat' examples
2026-10-26 22:16:25 +09:00
Wonsuk Choi
7dd898ce2d
chore(examples/preact/basic): update '@tanstack/*' to '^5.105.0' (#12398) 2026-10-26 22:07:05 +09:00
Wonsuk Choi
edbceae5d3
docs(examples/preact/basic): add basic example (#12387) 2026-10-26 21:25:39 +09:00
github-actions[bot]
5cc606e2e8
ci: Version Packages (#12301)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-26 10:28:34 +01:00
github-actions[bot]
a8ecc8d42f
ci: Version Packages (#12128)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-19 18:54:46 +02: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
github-actions[bot]
12199722dc
ci: Version Packages (#12062)
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
github-actions[bot]
ee47993724
ci: Version Packages (#11998)
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
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
ddcde7d5ad
chore(examples): use 'defineConfig' from 'eslint/config' and enable '@ts-check' in 'eslint.config.js' (#12008) 2026-10-14 10:01:19 +09:00
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
Jovi De Croock
a94c7caeec
feat(preact-query*): support Preact v11 (#11711)
* feat(preact-query*): support Preact v11

* fix(preact-query*): pass an initial value to 'useRef' and flush deferred unmount effect cleanups in tests for Preact v11

* chore(preact-query*): develop and test against Preact 11

Bump the preact catalog and the preact example to ^11.0.1, and
preact-render-to-string to ^6.8.0 (Preact 11 peers on >=6.7.0).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 18:17:07 +01:00
Wonsuk Choi
effc358729
chore(examples/preact/simple): use 'eslint-config-preact' through a flat config and run 'test:eslint' (#11953) 2026-10-11 01:55:45 +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
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
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
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