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

5,002 commits

Author SHA1 Message Date
CertainlyAria
28a96c772e
docs(useMutation): fix incorrect mutationKey types (#5602) 2023-06-18 18:33:00 +02:00
Rudra Kishore G
ab8dd555da
docs(examples): Update useAppState in react-native example (#5557)
* Update useAppState.ts

Updating the cleanup function as the removeEventLister method is not available on AppState

* Update useAppState.ts

Removed Semicolons

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-06-18 18:32:10 +02:00
Tanner Linsley
accecddd16 release: v4.29.14 v4.29.14 2023-06-16 09:24:23 +00:00
Julian Bovone
74a0322853
fix(types): notifyManager method typedef (#5569)
Co-authored-by: jbovone <bovonejulian@gmail.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-06-16 11:18:13 +02:00
Lachlan Collins
df37d35609
chore: Reorder and rename config files (#5579) 2023-06-14 13:04:48 +10:00
Tanner Linsley
61bc58de90 release: v4.29.13 v4.29.13 2023-06-13 21:02:22 +00:00
Damian Osipiuk
f16e413a8f
fix(vue-query): do not subscribe on server - nuxt2 memory leak fix (#5576) 2023-06-13 22:59:21 +02:00
Jonghyeon Ko
18c9f77a4f
docs(@suspensive/react-query): update latest content (#5539) 2023-06-12 10:49:42 +02:00
Lachlan Collins
14c7b1efdd
chore: Merge more workspace changes from alpha (#5564) 2023-06-12 18:26:44 +10:00
Alex Andronache ☕
67ab1bb7c0
docs(react/comparison): update rtk-query refetching support (#5558)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-06-12 10:26:10 +02:00
Yixuan Xu
b699c03dc5
docs: update comparison (#5552) 2023-06-12 10:24:39 +02:00
Lachlan Collins
7226d5064a
chore: Merge select workspace changes from alpha (#5563) 2023-06-12 17:55:04 +10:00
Dominik Dorfmeister
844977966b
docs: Update installation.md 2023-06-12 09:53:55 +02:00
Tanner Linsley
878d85e44c release: v4.29.12 2023-05-29 11:32:59 +00:00
Dominik Dorfmeister
c290906d66
fix(react-query): fix missed updates between creation and subscription (#5474) v4.29.12
* fix: fix missed updates between creation and subscription

* chore: fix persister tests
2023-05-29 13:30:12 +02:00
Tanner Linsley
4a4e62ad0d release: v4.29.11 2023-05-27 08:52:07 +00:00
Eng Zer Jun
5188ae3f95
refactor(query-core): replace indexOf with includes (#5431) v4.29.11
This commit replaces the use of `.indexOf` with `.includes` for cases
where the method is used to check if an array contains a particular
element. This results in improved code readability and better adherence
to modern JavaScript best practices.

The replaced code snippets include:

	- `.indexOf(...) === -1`
	- `.indexOf(...) !== -1`

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-05-27 10:46:14 +02:00
Tanner Linsley
9898413cc1 release: v4.29.10 2023-05-27 08:28:34 +00:00
lijianan
00319a1421
refactor(query-core): optimization window.removeEventListener (#5475) v4.29.10 2023-05-27 10:23:18 +02:00
Lachlan Collins
6c3abf7cec
chore: Update to pnpm v8 (#5476) 2023-05-27 13:54:37 +10:00
Matthew Day
dd5b64a9cf
docs: Update useQuery.md (#5454)
This commit puts keys in alpha order and adds one that was not included previously, `errorUpdateCount`.
2023-05-26 17:07:24 +02:00
Tanner Linsley
2892813326 release: v4.29.9 2023-05-22 19:51:05 +00:00
Eliya Cohen
3c561ba923
fix(eslint-plugin): lookup for any function ancestor (#5448) v4.29.9 2023-05-22 21:48:22 +02:00
Jonghyeon Ko
820258b17d
Revert "docs: Revert "docs(community): add @suspensive/react-query community contribution (#5259)" (#5303)" (#5447)
This reverts commit 3ec6693ba4.
2023-05-22 21:11:29 +02:00
Alex Arro
318b3a5d99
docs: fix indentation in markdown list (#5444) 2023-05-22 13:01:48 +02:00
Tanner Linsley
ae015f1cd6 release: v4.29.8 2023-05-18 16:36:59 +00:00
Eliya Cohen
ddd6e5a758
fix(eslint-plugin): fix component and hook lookup (#5426) v4.29.8 2023-05-18 18:34:08 +02:00
Tanner Linsley
fd02255066 release: v4.29.7 2023-05-14 14:10:31 +00:00
Mateusz Burzyński
3816c9d4d3
fix(perf): optimized perf of listeners removal (#5402) v4.29.7
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-05-14 16:04:41 +02:00
Minh Nguyen
5608a04a5e
docs: deprecate callbacks on useQuery (#5407) 2023-05-13 21:11:43 +02:00
hamzah syed
8d13ad8500
docs: Removed "Experimental" Text for the next.js app dir (#5381)
This pull request removes the experimental text for the next.js app dir from the file. With the release of Next.js 13.4, the next/app directory is now considered stable, so there is no longer a need for this experimental text.
2023-05-09 17:48:45 +02:00
Yornaath
235f3c6794
docs: batching docs (#5385)
* init docs

* include batching docs in config

* move batching docs to community section

* Apply suggestions from code review

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-05-09 08:31:03 +02:00
Manuel Ernst
53813e45e1
docs: fix the react example for infinite queries (#5361)
The example talks about a projects API that returns data in the form of
```
{ data: [...], nextCursor: 3}
```

In the example though the data returned from the API is referred to
as having a `projects` entry.
This commit uses the correct entry from the sample API.

Co-authored-by: Manuel Ernst <manuel.ernst@inovex.de>
2023-05-02 12:45:11 +02:00
Lachlan Collins
f1ac84572e
chore: Validate "exports" field in package.json (#5350)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-05-01 21:42:22 +10:00
Zachary DeRose
5e43e00ede
chore: nx 16 migration (#5354)
* nx 16 migration

* update pnpm lock file
2023-05-01 12:15:58 +02:00
Dominik Dorfmeister
802a288909
docs: deprecate callbacks on useQuery (#5353)
* docs: deprecate callbacks on useQuery

* docs: recommend the eslint plugin on installation page
2023-04-30 19:04:25 +02:00
Nicholas Griffin
2552c4bbf4
docs(a11y): adding titles to the video iframes (#5346)
* fix: a11y - adding titles to the video iframes

* chore: removing quotes

* Update docs/react/videos.md

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-30 13:12:03 +02:00
Lachlan Collins
7fd50a7c62
docs(svelte-query): Use API wrapper to simplify SSR logic (#5322)
* Use API wrapper to simplify fetch logic

* Fix prettier

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-29 07:04:08 +10:00
Tanner Linsley
c8799df563 release: v4.29.6 2023-04-28 15:08:05 +00:00
Prateek Surana
b97cd50432
fix(devtools): Fix restore loading not working when clicked repeatedly (#5311) v4.29.6
* 🐛 Fix restore loading not working when clicked repeatedly

* ✅ Add test for restore loading

* 🚨 Fix formatting issues

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-28 17:05:45 +02:00
Zachary DeRose
373b5d5db5
chore: Adding DTE to the PR workflow (#5256)
* setting up pr workflow for dte

* fixing yml syntax error

* fixing more pr workflow errors

* fixing more pr workflow errors

* removing coverage upload step from agents

* starting the ci run

* making the test:build cacheable

* setting matrix down to 4 total agents

* rm NX_VERBOSE_LOGGING env var in workflow files

* rm option to skip nx cache

* testing with parallel option of 1

* adding affected base option

* busting cache

* adding root package.json as dep

* adding parallel=2 option and busting cache

* default parallel option and busting cache

* rm debris from cache-busting for time tests

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-28 11:06:38 +02:00
CY Lim
8f468aa1b9
docs: Fix typo on persistQueryClient (#5332) 2023-04-28 09:49:30 +02:00
Tanner Linsley
b369b6c9fd release: v4.29.5 2023-04-24 15:20:38 +00:00
Dylan
dc2af81632
refactor: enhance error undefined message (#5253) v4.29.5
* refactor: enhance error undefined message

* Update packages/query-core/src/query.ts

* chore: fix test:lib undefined message

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: DylanJu <dylan@daangnpay.com>
2023-04-24 17:14:39 +02:00
Eric Kwoka
7cd2d192e6
chore(build): Includes declaration maps (#5231)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-24 13:39:32 +02:00
Lachlan Collins
195772e8f2
chore(svelte-query): Update @sveltejs/package to v2 (#5242) 2023-04-23 12:23:39 +10:00
Tanner Linsley
9d437c2575 release: v4.29.4 2023-04-21 11:26:19 +00:00
Eliya Cohen
058f030f4f
fix(eslint-plugin): ignore queryClient from exhaustive-check (#5291) v4.29.4
* fix(eslint-plugin): ignore queryClient

* Update packages/eslint-plugin-query/src/rules/exhaustive-deps/exhaustive-deps.test.ts

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-04-21 13:24:03 +02:00
Sung Jeon
3ec6693ba4
docs: Revert "docs(community): add @suspensive/react-query community contribution (#5259)" (#5303)
This reverts commit a9ddb4d0b6.
2023-04-20 16:26:35 +02:00
Jonghyeon Ko
317fe08226
docs(lukemorales-query-key-factory.md): fix code example (#5258) 2023-04-16 16:39:36 +02:00