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

5,191 commits

Author SHA1 Message Date
Tanner Linsley
03fe8cd477 release: v5.69.0 v5.69.0 2025-03-18 11:12:06 +00:00
Dominik Dorfmeister
4d67c1cfa3
feat(core): streamedQuery (#8814)
* feat: streamedQuery

* feat: streaming example

* chore: move

* chore: fix lock file

* docs: streamedQuery
2025-03-18 12:09:51 +01:00
TkDodo
f03b1090d9 docs: fix eslint links 2025-03-18 10:11:00 +01:00
TkDodo
4b7fd0e836 docs: fix internal links 2025-03-18 09:45:11 +01:00
TkDodo
980d08d464 docs: fix links in ssr guide 2025-03-18 08:55:56 +01:00
TkDodo
ff788ac4e0 docs: remove extra link 2025-03-17 12:49:52 +01:00
TkDodo
84b1bed9c3 docs: add .md to links 2025-03-17 12:37:05 +01:00
HYUNJOON
21c5e099b2
docs: Fix broken link some example path (#8813)
* docs: fix example path in "advanced-ssr.md"

* fix: broken example link
2025-03-17 12:36:03 +01:00
Jonghyeon Ko
081ef3cc04
test(query-core): use fake timers for focusManager.test.tsx (#8809) 2025-03-17 12:28:48 +01:00
Jonghyeon Ko
4922f06424
test(query-core): use fake timers for mutationCache.test.tsx (#8807)
* test(query-core): use fake timers for mutationCache.test.tsx

* chore: update
2025-03-17 12:28:13 +01:00
Jonghyeon Ko
730b79a740
test(query-core): use fake timers for mutations.test.tsx (#8806) 2025-03-17 12:27:40 +01:00
Jonghyeon Ko
fb7edb4c04
test(query-core): use fake timers for mutationObserver.test.tsx (#8805) 2025-03-17 12:27:11 +01:00
Tanner Linsley
69adfdb503 release: v5.68.1 v5.68.1 2025-03-17 00:21:26 +00:00
Arnoud
7d3abb891c
fix(angular-query): do not run callbacks in injection context (#8817) 2025-03-17 01:09:02 +01:00
Tanner Linsley
1dba812910 release: v5.68.0 v5.68.0 2025-03-14 10:00:45 +00:00
Eliya Cohen
796032d08f
feat(eslint-plugin-query): enhance no-rest-destructuring rule to detect spread operations (#8802) 2025-03-14 10:58:29 +01:00
조우혁
d7f4cb09e2
docs: Fix broken links in query-options.md (#8800)
* fix: broken-link

* fix: remove .md
2025-03-13 17:33:57 +01:00
Julien Piron
edbb3046d0
docs: Fix broken links on ssr.md (#8792) 2025-03-13 16:37:45 +01:00
조우혁
4a89814635
test: remove unnecessary async keywords (#8784)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-12 10:47:53 +01:00
조우혁
e86c395c2e
test(query-core): add hashQueryKeyByOptions test code (#8736)
* test: add hashQueryKeyByOptions test code

* fix: test code

* fix: eslint

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-11 18:34:26 +01:00
Tanner Linsley
4f76c7c495 release: v5.67.3 v5.67.3 2025-03-11 17:19:49 +00:00
Jonghyeon Ko
36eca995d2
test(query-core): use fake timers for infiniteQueryObserver.test.tsx (#8775)
* test(query-core): use fake timers for infiniteQueryObserver.test.tsx

* test(query-core): add sleep in queryFn like in real situation
2025-03-11 18:13:11 +01:00
Jonghyeon Ko
2c8cf3c369
test(query-core): use fake timers for queryCache.test.tsx (#8779)
* test(query-core): use fake timers for queryCache.test.tsx

* chore: update

* chore: update
2025-03-11 18:12:41 +01:00
Yoomin Kang
79496dd68b
refactor(types): restore missing readonly (#8783)
* fix(react-query): fix type breaking when using useSuspenseQueries with spreaded queryOptions

* test: change test title

* refactor: restore missing readonly
2025-03-11 18:11:48 +01:00
Arnoud
79608f3069
docs(angular-query): angular examples improvements (#8782) 2025-03-09 20:16:50 +01:00
Jonghyeon Ko
dcfc100dd3
test(query-core): use fake timer for notifyManager.test.tsx (#8773)
* test(query-core): use fake timer for notifyManager.test.tsx

* chore: update
2025-03-08 13:59:09 +01:00
Harry
8bfa77b525
docs(react-query): fix incorrect link in documentation (#8699)
* docs(react-query): fix incorrect paths in documentation
The documentation contained incorrect file paths.
Fixed the incorrect paths to match the actual directory structure.

* docs(react-query): fixed incorrect relative path (./ -> ../)
2025-03-08 13:08:47 +01:00
Jonghyeon Ko
0511c8205d
test(query-core): use fake timers for query.test.tsx (#8727) 2025-03-08 10:51:18 +01:00
Jonghyeon Ko
4140898d48
test(query-core): add test case for queryClient.isMutating (#8726) 2025-03-08 10:30:23 +01:00
Jonghyeon Ko
887820c915
test(react-query): add test case for useQuery (#8729) 2025-03-08 10:26:39 +01:00
Raj Suhail
4fb781feef
docs: Fix community resource links in important Defaults page. (#8697)
* Fix community resource links

* Fix all the remaning community links
2025-03-08 09:47:59 +01:00
Joseph Markus
67e52cf889
docs: Fix 404 link for Query Keys in useQuery.md (#8769)
Current link takes to https://tanstack.com/query/latest/docs/framework/guides/query-keys which is a 404
2025-03-07 19:19:55 +01:00
Sina Sepahvand
d85ee752a8
docs: Update ssr.md (#8770) 2025-03-07 19:19:35 +01:00
Tanner Linsley
40543e990d release: v5.67.2 v5.67.2 2025-03-07 10:57:14 +00:00
Nicolai Calinin
c82362ec13
docs(svelte-query): add the devtools page to the svelte-query docs (#8149)
* docs(svelte-query): add the devtools page to the svelte-query docs

* docs(svelte-query): remove the angular stuff, what is skipped

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-07 21:54:04 +11:00
Robert Soriano
30d18ee6aa
fix(svelte-query): update peer deps to stable v5 version (#8359)
* fix(svelte-query,svelte-query-devtools,svelte-query-persist-client): Use stable v5 version

* dedupe

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-07 21:52:50 +11:00
renovate[bot]
f31eeda36d
chore(deps): update dependency vitest to v2.1.9 [security] (#8605)
* chore(deps): update dependency vitest to v2.1.9 [security]

* Fix coverage-istanbul version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-07 21:52:36 +11:00
Lachlan Collins
c4cb285f2c
chore: sync CONTRIBUTING.md between projects (#8767)
Adds instructions on editing docs locally
2025-03-07 19:10:42 +11:00
Ilia Evseev
a4f3956b91
docs: Fix relative links in Advanced Server Rendering guide (#8765) 2025-03-07 14:31:43 +11:00
Kristian
24064358c0
docs(react-query): fix broken links in QueryClient docs (#8748)
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-07 14:31:26 +11:00
JiSeong Park
e67b6f670c
docs: fix Advanced Server Rendering guide link (#8762) 2025-03-07 13:47:25 +11:00
Maria José Solano
b975d89d93
docs: update links to ESLint rules (#8758) 2025-03-07 13:45:47 +11:00
renovate[bot]
8c03bd0d4b
chore(deps): update autofix-ci/action digest to 551dded (#8549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-03-04 22:18:35 +11:00
Dominik Dorfmeister
161f534537
chore: ts 5.8
* chore: ts 5.8

* chore: there are no errors anymore from eslint-plugin-react-hooks

* ci: apply automated fixes

* chore: lock file

* ci: apply automated fixes

* revert: there are no errors anymore from eslint-plugin-react-hooks

* chore: revert angular examples back to ts 5.7.2

as angular doesn't support 5.8 yet

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-04 10:08:58 +01:00
Tanner Linsley
3ccfa6e256 release: v5.67.1 v5.67.1 2025-03-03 15:58:02 +00:00
yusheng chen
4d8c27b448
refactor(query-core): improve type safety and performance in getMutationDefaults (#8669)
- Change return type to exclude mutationKey using OmitKeyof
- Replace spread operator with Object.assign for better performance

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-03 16:52:43 +01:00
Tanner Linsley
c0f27f6921 release: v5.67.0 v5.67.0 2025-03-03 15:45:24 +00:00
Dominik Dorfmeister
1b54251845
feat(types): typed query filters (#8670)
* feat: typed query filters

* refactor: use util types to extract from dataTag

* chore: try to fix vue types with overloads

* chore: vue types

* test: from #8691

* fix: make options a MaybeRefDeep

* feat: types for filters on other queryClient methods

* fix: add a test for 8684
2025-03-03 16:42:36 +01:00
SeongMin Kim
e85df7a6c3
test(query-core): add hashKey test code (#8735)
* test: add hashKey test code

* fix: testcode
2025-03-03 16:17:03 +01:00
Arnoud
18e357c297
docs(angular-query): document angular httpclient and other data fetching solutions (#8732) 2025-03-01 22:43:55 +01:00