Dominik Dorfmeister
41ec5728ee
feat(react-query): support React 19
...
* feat: react19 deps
* fix: useRef usage
* fix: don't use global JSX namespace
* fix: overwrite react globally to v19
* fix test assertion
* fix hydration tests
* console output is weird in 19
* async is hard
* react really wants no side-effects during render
* fix: use react19 everywhere
* Revert "fix: use react19 everywhere"
This reverts commit f927611342 .
* just ignore react in sherif as we can have examples with different versions
* feat: add the react-compiler linter
* chore: move examples to react 19, except nextJs ones
2024-05-25 20:32:18 +02:00
Tanner Linsley
497dd65298
release: v5.38.0
v5.38.0
2024-05-25 12:35:12 +00:00
Pukar Sharma
c2cf0ced47
feat(svelte-query): useMutationState ( #7477 )
...
* feat(svelte-query): createMutationState
* Fix pnpm-lock
* test: test cases for createMutationState for svelte-query
* Undo changes to pnpm-lock
* Export createMutationState
* Rename to useMutationState
* Fix eslint issues
* Fix eslint/prettier
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-05-25 22:31:06 +10:00
Jörg Bayreuther
aadb83122b
docs: update useSuspenseQuery error example ( #7467 )
2024-05-22 19:55:13 +02:00
Dominik Dorfmeister
59eef10c1a
docs: remove "defaults to undefined"
2024-05-18 19:49:51 +02:00
Sergiy Dybskiy
308aa7eaa1
docs: Remove unused useState import from example ( #7435 )
2024-05-18 22:37:14 +10:00
Tanner Linsley
2dd2f698b0
release: v5.37.1
v5.37.1
2024-05-18 08:43:07 +00:00
Lachlan Collins
8493b34e47
fix: Enable link-workspace-packages ( #7451 )
2024-05-18 18:39:24 +10:00
Lachlan Collins
78e4bc159f
chore: Update dependencies ( #7449 )
...
* Update angular packages
* Patch updates
* Update vite
* Minor updates
* Update react-native
* More updates
* Move peerDeps section
* Update vue peerDeps
* Nearly done
* Update Nx
* pnpm dedupe
2024-05-18 17:42:42 +10:00
Lachlan Collins
38fa8c4a71
chore: Update to pnpm v9 ( #7448 )
2024-05-18 15:52:38 +10:00
Tanner Linsley
face5f0a23
release: v5.37.0
v5.37.0
2024-05-17 12:52:44 +00:00
Aponia
2d2c76d1f4
fix(svelte-query): Update createQueries type ( #7429 )
...
* fix(svelte-query): add SkipToken to queryFn union for GetResults type
* fix(svelte-query): also include SkipToken in other branch
* fix(svelte-query): formatting createQueries file
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-05-17 22:48:21 +10:00
Aponia
95c76e65d1
feat(svelte-query): Export types from createQueries ( #7428 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-05-17 22:48:11 +10:00
omar
23b2abe5e1
fix(svelte-query-devtools): Replace self-closing div tag ( #7440 )
...
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-05-17 22:47:57 +10:00
Jungzl
02ee74591c
chore: switch to v22 node version ( #7438 )
...
* chore: switch to lts node version
* Update .nvmrc
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-16 12:13:02 +02:00
John Dunn
02bf564780
docs: add react query rewind to community projects ( #7437 )
...
* added react query rewind to community projects
* update formatting
Co-authored-by: Austin Cavanagh <austin.cavanagh.cs@gmail.com>
* update formatting
Co-authored-by: Austin Cavanagh <austin.cavanagh.cs@gmail.com>
---------
Co-authored-by: Austin Cavanagh <austin.cavanagh.cs@gmail.com>
2024-05-16 11:59:13 +02:00
Tanner Linsley
fece4af9d0
release: v5.36.2
v5.36.2
2024-05-15 19:35:10 +00:00
Simen Bekkhus
0c32270d84
fix(react-query): do not use global JSX namespace ( #7436 )
2024-05-15 21:30:28 +02:00
Joshua Samaniego
0e3972454b
docs: Update typo devtools.md ( #7432 )
2024-05-15 17:11:32 +02:00
Tanner Linsley
7e2c9ab4be
release: v5.36.1
v5.36.1
2024-05-15 14:23:40 +00:00
Dominik Dorfmeister
c2861c44fb
fix(types): make TVariables default to unknown on Mutation ( #7433 )
...
* fix: make TVariables default to unknown on Mutation
we only need `void` as the default for MutationOptions so that we can fire mutations with no parameters without passing undefined to them explicitly. For reading mutations and mutationState, unknown is better.
* refactor: remove unnecessary type assertion
* refactor: remove unnecessary type assertion
* refactor: some more remove unnecessary type assertion
2024-05-15 16:19:45 +02:00
polee
3a9e0461b0
docs: not using useState in creating queryClient when use ReactQueryStreamedHydration in suspense-example ( #7431 )
2024-05-15 16:09:08 +02:00
Tanner Linsley
10c7527898
Update overview.md
2024-05-14 15:56:17 -06:00
Tanner Linsley
1d60d44ad8
release: v5.36.0
v5.36.0
2024-05-12 14:17:35 +00:00
Jason Gerbes
8ce6642d12
feat(query-core): improve useInfiniteQuery error handling ( #7418 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-12 16:12:33 +02:00
Tanner Linsley
7499ba8712
release: v5.35.6
v5.35.6
2024-05-12 13:48:06 +00:00
Eliya Cohen
2ed5fe7516
fix(eslint-plugin-query): exclude instanceof right identifier in exhaustive deps eslint rule ( #7419 )
2024-05-12 15:45:30 +02:00
Arnoud
3875b3b239
docs(angular-query): clarify reactive context in jsdoc ( #7421 )
2024-05-12 12:02:38 +02:00
Lachlan Collins
246dd0f56d
chore(svelte-query): Add no-svelte-internal eslint rule ( #7417 )
...
* chore(svelte-query): Add no-svelte-internal eslint rule
* pnpm dedupe
2024-05-12 14:22:48 +10:00
Damian Osipiuk
1839ff6855
docs: fix broken link ( #7415 )
2024-05-12 00:39:13 +02:00
Damian Osipiuk
fb91446857
docs(vue-query): add missing links and pages ( #7414 )
2024-05-12 00:31:28 +02:00
Tanner Linsley
6400e444ea
release: v5.35.5
v5.35.5
2024-05-10 14:26:02 +00:00
Bryan Lumbantobing
bf4cf00bf4
refactor(query-core): update tsdocs for mutation and query observer result ( #7399 )
...
* docs(query-core): update tsdocs for mutation n query observer result
* Apply suggestions from code review
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-10 16:20:31 +02:00
Tanner Linsley
2a3111b88f
release: v5.35.4
v5.35.4
2024-05-10 14:11:20 +00:00
Dominik Dorfmeister
fbe3b4456e
fix: deprecate direction passed to QueryFunctionContext ( #7410 )
...
* fix: deprecate direction passed to QueryFunctionContext
* chore: fix type tests
2024-05-10 16:08:10 +02:00
Oc1S
0bb0fa397b
docs: Fix usage of removeEventListener ( #7393 )
2024-05-10 14:03:22 +02:00
pius712
ab126e867e
docs: fix typo ( #7400 )
2024-05-10 14:02:26 +02:00
Tanner Linsley
01ce023826
release: v5.35.3
v5.35.3
2024-05-07 22:22:58 +00:00
Arthur Petrie
a567ba2adf
fix(angular-query): missing exports InitialDataInfiniteOptions types ( #7388 )
...
* fix(angular-query): missing exports InitialDataInfiniteOptions types
Add missing @public js-doc comments in infinite-query-options.ts to fix type exports
* add infinite query option types to public api
---------
Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>
2024-05-08 00:19:30 +02:00
Tanner Linsley
fd902a7246
release: v5.35.2
v5.35.2
2024-05-07 22:08:36 +00:00
Damian Osipiuk
f903af2222
fix(vue-query): ref unwrapping of QueryKey in queryOptions ( #7390 )
...
* fix(vue-query): ref unwrapping of QueryKey in queryOptions
* test: add test
2024-05-08 00:06:14 +02:00
Aryan Deora
a3785608fd
docs: Solid Query - createQuery documentation ( #7386 )
2024-05-06 17:38:54 -04:00
Tanner Linsley
f988e92260
release: v5.35.1
v5.35.1
2024-05-06 06:40:09 +00:00
Jonghyeon Ko
753fbacce0
fix(types): add number, symbol as safe key for OmitKeyof for strictness safely ( #7164 )
...
* types(query-core): add number, symbol as safe key for OmitKeyof for safely
* test(query-core): add type test case for number key, symbol key
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-06 08:26:04 +02:00
Ikko Eltociear Ashimine
2c0dc08894
docs: update custom-client.md ( #7383 )
...
usefull -> useful
2024-05-06 07:23:35 +02:00
Tanner Linsley
413d1a1749
release: v5.35.0
v5.35.0
2024-05-05 11:54:53 +00:00
Arnoud
1b59482cad
feat(angular-query): rollup type declarations ( #7380 )
...
This has several benefits:
Fix internal resolution error
Clear API surface
IDEs will not suggest deep imports from unexpected files
2024-05-05 13:44:23 +02:00
Tanner Linsley
3d3a5039cd
release: v5.34.2
v5.34.2
2024-05-05 09:45:19 +00:00
Manuel Schiller
fdb09442c0
fix(query-core): replaceEqualDeep correctly handles arrays that contain undefined ( #7376 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-05 11:39:33 +02:00
Arnoud
32d1e82262
docs(angular-query): add jsdoc ( #7379 )
...
* fix: remove unused export
2024-05-04 22:11:36 +02:00