Clarence
24c80558c4
docs(react-reference): fixed cancellation typo ( #8883 )
2025-03-31 11:10:17 +02:00
Clarence
f1743868b2
docs(react-guides): fixed cancellation typo ( #8882 )
2025-03-31 11:10:06 +02:00
Clarence
ee5dc1ae40
docs(react-guides): fixed cancelMutations typo ( #8881 )
2025-03-31 11:06:11 +02:00
Tanner Linsley
6c105d6ddf
release: v5.71.1
v5.71.1
2025-03-31 08:35:33 +00:00
Daniel Osmond
610ba6874c
fix: Prevent redundant function call error in dev mode ( #8877 )
2025-03-31 10:29:12 +02:00
MINSEONG KIM
cf7b375542
test(react-query): fix async to promise ( #8889 )
2025-03-31 10:28:24 +02:00
MINSEONG KIM
bd4c8d176f
test(react-query): resolve ESLint typescript-eslint/require-await warnings ( #8888 )
2025-03-31 10:28:08 +02:00
MINSEONG KIM
517c490d05
test(react-query): fix async to promise and remove unnecessary await ( #8887 )
2025-03-31 10:27:44 +02:00
MINSEONG KIM
627062bd62
test(react-query): resolve ESLint typescript-eslint/require-await warnings ( #8886 )
2025-03-31 10:27:04 +02:00
MINSEONG KIM
5acf8e666e
test(react-query): fix queryFn to use Promise.resolve to match TypeScript requirements ( #8885 )
2025-03-31 10:26:39 +02:00
MINSEONG KIM
cd6c8c04ee
test(react-query): use fake timers for useQuery.promise.test.tsx ( #8890 )
2025-03-30 20:52:27 +02:00
Tanner Linsley
ad777b43de
release: v5.71.0
v5.71.0
2025-03-30 12:53:58 +00:00
Clarence
62b872051d
docs(react-community): fixed typescript typo ( #8879 )
2025-03-30 14:50:39 +02:00
Dominik Dorfmeister
cea2d58733
Revert "feat(eslint-plugin): no void queryFn ( #8878 )" ( #8880 )
...
This reverts commit c2e5272346 .
2025-03-30 14:48:40 +02:00
Eliya Cohen
c2e5272346
feat(eslint-plugin): no void queryFn ( #8878 )
...
* feat(eslint-plugin-query): implement no-void-query-fn rule
* add docs
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-30 10:49:49 +02:00
MINSEONG KIM
1fa539ac71
test(query-core): fix mutationFn to use Promise.resolve to match TypeScript requirements ( #8875 )
2025-03-30 10:48:56 +02:00
autofix-ci[bot]
747eea807d
ci: apply automated fixes
2025-03-28 16:25:38 +00:00
Tyler
e5ef2757a0
docs(queryClient): JSDoc hint for queryClient.getQueryData ( #8862 )
...
* docs(queryClient): JSDoc hint for queryClient.getQueryData
follow up from: https://bsky.app/profile/tylur.dev/post/3llennpm4kk2z
* Update packages/query-core/src/queryClient.ts
* Update packages/query-core/src/queryClient.ts
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-28 17:24:39 +01:00
Tanner Linsley
72ca2e6c32
release: v5.70.0
v5.70.0
2025-03-28 15:06:53 +00:00
Dominik Dorfmeister
00de4a0afb
feat: export defaultScheduler ( #8872 )
...
* feat: export defaultScheduleFn
so that users can set a different scheduler and fall back to the default, too
* chore: rename to defaultScheduler
2025-03-28 16:04:46 +01:00
Tanner Linsley
9ecaf2f43b
release: v5.69.3
v5.69.3
2025-03-28 10:53:59 +00:00
Jonghyeon Ko
dcb3c500d0
test(react-query): use fake timer for HydrationBoundary.test.tsx ( #8774 )
...
* test(react-query): use fake timer for HydrationBoundary.test.tsx
* chore: update
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-28 11:42:15 +01:00
Jonghyeon Ko
ed2d4e95a0
refactor(react-query-persist-client): remove unnecessary props spreading ( #8778 )
...
* fix(react-query-persist-client): remove unnecessary props spreading
* chore: reflect review
2025-03-28 11:33:14 +01:00
Tanner Linsley
597654d284
release: v5.69.2
v5.69.2
2025-03-28 08:20:34 +00:00
Dominik Dorfmeister
1b545389a1
fix(core): make sure that calling setOptions will always notifyListeners ( #8771 )
...
* fix(core): make sure that calling setOptions will always notifyListeners
we have an optimized `shouldNotifyListeners` logic internally in the QueryObserver that will make sure we only notify listeners that are interested in a change because they are using a specific key (tracked query properties)
the optimization to force a skip of the notification when updating options because the optimistic result should already contain all the necessary output falls apart in the situation described in the test and in the linked issue #8741 .
while the issue itself is a niche edge-case, the fix is to actually remove a bunch of code, so I'm all for it
* chore: fix other adapters
* chore: fix svelte, too
* chore: fix svelte tests
2025-03-28 09:18:20 +01:00
Eva
b23bb3974c
docs: Update overview.md ( #8859 )
...
Updated several mentions of "React Query" to "TanStack Query".
Wrote "formerly known as" instead of using a not all that well known abbreviation to better support the multilingual audience.
2025-03-27 14:46:48 +01:00
Brandon Weeks
6d03341457
docs: Add Connect RPC to the list of community projects ( #8850 )
...
* docs: Add Connect RPC to the list of community projects
Connect RPC has a native TanStack Query integration.
https://github.com/connectrpc/connect-query-es
* ci: apply automated fixes
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-26 13:57:12 +01:00
Keyur Govrani
3064422e53
docs: fix ignored promise from invalidate queries ( #8847 )
...
* fix(examples): Promise returned from invalidateQueries being ignored in optimistic-updates-cache example
* fix(examples): Promise returned from invalidateQueries is ignored in optimistic-updates-ui example
* fix(docs): Promise returned from invalidateQueries is ignored in optimistic-updates documentation
* Update docs/framework/react/guides/optimistic-updates.md
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* refactor(docs, examples): standardize queryClient.invalidateQueries syntax in all onSettled callbacks
* ci: apply automated fixes
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-26 10:27:36 +01:00
renovate[bot]
f45205f9a2
chore(deps): update dependency vite to v5.4.15 [security] ( #8856 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 18:55:22 +00:00
Denis Shvets
04712b7bc1
docs: fix internal link ( #8855 )
...
* docs: fix internal link
* Update docs/framework/react/guides/query-invalidation.md
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-03-25 16:32:47 +01:00
Dominik Dorfmeister
fb1dffca7b
docs: Update testing.md
2025-03-24 11:00:44 +01:00
Tanner Linsley
6c9d7a7c2b
release: v5.69.1
v5.69.1
2025-03-22 14:52:26 +00:00
Joep Kockelkorn
e5404843fa
fix(angular-query): forward queryFn errors to the NgZone ( #8842 )
...
* fix(angular-query): forward queryFn errors to the NgZone
* fix(angular-query): forward mutationFn errors to the NgZone
* refactor: remove wrapping try catches
2025-03-22 15:48:38 +01:00
TkDodo
a9b073a85e
docs: fix what prettier broke
2025-03-19 09:29:27 +01:00
TkDodo
bea2ff8726
docs: fix what prettier broke
2025-03-19 09:18:45 +01:00
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