robin labat
59e1417f66
feat(vue-query): expose queryOptions utility for vue wrapper ( #6227 )
...
Co-authored-by: LABAT Robin <robin.labat@airbus.com>
2023-10-25 14:49:43 +02:00
Tanner Linsley
ce1305c27e
release: v5.3.0
v5.3.0
2023-10-24 20:06:35 +00:00
ottomated
d157a456b9
feat(svelte-query): Add queryOptions ( #6211 )
...
* Add queryOptions
* remove datatag
* move StoreOrVal to the outermost layer
* fix fails
---------
Co-authored-by: Ottomated <otto@ludwigstreampc>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2023-10-25 07:02:50 +11:00
Tanner Linsley
8906dac488
release: v5.2.1
v5.2.1
2023-10-24 15:15:57 +00:00
Aryan Deora
81edf3b282
fix(solid-query): Export useMutationState hook ( #6233 )
2023-10-24 11:11:29 -04:00
Tanner Linsley
8dd21dd618
release: v5.2.0
v5.2.0
2023-10-24 04:29:13 +00:00
Brenley Dueck
ac41f24017
feat(solid-query): Add useMutationState ( #6230 )
...
Adds `useMutationState` hook to `@tanstack/solid-query`. Will enable users to perform optimistic updates in a more intuitive fashion!
2023-10-24 00:25:11 -04:00
Tanner Linsley
a0c6d59d8a
release: v5.1.0
v5.1.0
2023-10-23 16:25:08 +00:00
Aryan Deora
6f12dee849
feat(query-devtools): Add mutations view ( #6218 )
...
* feat(query-devtools): Add mutations view
* Fix height on verticle view
* Remove unused queryClient
* Remove focus-within styles from toggle
* Reduce toggle label text on smaller screens
* Move toggle next to logo
* Fix button styles
2023-10-23 12:21:52 -04:00
Dominik Dorfmeister
66c6547305
docs: add openapi-zod-client and ts-rest to community projects
2023-10-23 17:05:18 +02:00
Eric Huang
222bfe3f85
docs(migrating-to-v5): fix typo ( #6224 )
2023-10-23 07:37:50 +02:00
Tanner Linsley
95d47da36c
release: v5.0.5
v5.0.5
2023-10-23 01:20:52 +00:00
Lachlan Collins
b35fe32f58
fix(svelte-query): Make combine work for createQueries ( #6222 )
2023-10-23 12:16:56 +11:00
Dominik Dorfmeister
4e2f42504a
docs: repo-header
2023-10-22 20:29:38 +02:00
Dominik Dorfmeister
0a0e490a9d
docs: community projects ( #6221 )
2023-10-22 18:08:15 +02:00
Lachlan Collins
129f8c9fad
chore: Module resolution bundler ( #6217 )
2023-10-22 19:44:45 +11:00
Lachlan Collins
c014ea7a29
chore: Disable vitest globals ( #6216 )
2023-10-22 12:08:22 +11:00
Lachlan Collins
b5c74f9f3f
chore: Update dev dependencies ( #6215 )
2023-10-22 10:46:18 +11:00
Tanner Linsley
fbdeb17600
release: v5.0.4
v5.0.4
2023-10-20 23:05:29 +00:00
Damian Osipiuk
e0ece4263c
fix(vue-query): fix type inference ( #6210 )
2023-10-21 01:02:11 +02:00
Tanner Linsley
87358d7358
release: v5.0.3
v5.0.3
2023-10-20 13:01:20 +00:00
Lars-Jørgen Kristiansen
5227246ed7
fix(query-devtools): Make sure all id attributes are unique ( #6192 )
2023-10-20 08:57:50 -04:00
Balázs Máté Petró
7933834b38
fix(codemod): remove the function overloads when the second argument is a function expression ( #6191 )
...
* fix(codemod): remove the function overloads when the second argument is a function expression
After a quick sync with @TkDodo, it turned out in this case it's safe to do the transformation, because the second argument is a function expression, so it means the first parameter must be the query key.
* fix(codemod): add the `useQuery` hook to the transformation list, because it was missing
* chore(codemod): rename the `parameters` constant to `functionArguments`
The naming was wrong from the beginning. The codemod does transformations with the arguments of the functions, not with their parameters. :)
* chore(codemod): fix the import order
The CI was failing because of it.
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-10-20 11:28:32 +02:00
Jonghyeon Ko
c03e15971d
docs(suspensive-react-query): update links ( #6175 )
...
* docs(suspensive-react-query): update link
* chore(suspensive-react-query): update doc to promote migrating @tanstack/react-query v4 to v5
2023-10-20 11:09:58 +02:00
Dominik Dorfmeister
f37fcf3f39
docs: hashKey
2023-10-20 10:58:13 +02:00
Basti Buck
9566984a14
docs: add typescript meta docs ( #6181 )
...
* chore: typo
* docs: add global meta registration docs
2023-10-20 08:39:28 +02:00
diggymo
92c03e24d5
docs(useQuery): remove suspense option in useQuery() v5 ( #6187 )
2023-10-20 08:38:40 +02:00
liaoliao666
2b76550106
docs: update the doc of react query kit ( #6194 )
2023-10-20 08:37:53 +02:00
Tanner Linsley
d511b3c2d0
release: v5.0.2
v5.0.2
2023-10-19 22:12:12 +00:00
Aryan Deora
0b6b9fc47c
fix(query): Fix lockfile and build pipeline ( #6199 )
...
* fix(query): Fix lockfile and build pipeline
* Update svelte vite plugin version
2023-10-19 15:02:00 -07:00
Stephen Wade
8374dc0001
chore: update README link to v4 docs ( #6184 )
2023-10-19 18:55:39 +02:00
Ian Langworth ☠
debece31a5
docs: Typo in optimistic-updates.md ( #6182 )
2023-10-18 22:29:04 +02:00
Birk Skyum
c5cb8cc44c
docs(solid-query): Update all dependencies in example
...
* Update solid start example
* update pnpm lockfile
* update all solid examples
2023-10-18 13:17:30 -07:00
Tanner Linsley
b9a18aaa16
release: v5.0.1
v5.0.1
2023-10-18 19:52:37 +00:00
Basti Buck
de4e2ea694
fix(react-query-devtools): prod devtools exports ( #6180 )
...
* fix: fix devtools prod exports
* chore: update devtools prod docs
2023-10-18 21:49:19 +02:00
Asad Khan
02b991cbbf
docs: Update updates-from-mutation-responses.md ( #6173 )
...
Remove extra word "via" from the sentence.
2023-10-18 16:24:14 +02:00
Bennett Dams
e68de6a68a
docs(useMutationState): Clarify mutationKey usage ( #6168 )
...
This adds a mutation to the examples to (hopefully) clarify how to use the `mutationKey` for referencing the mutation state.
2023-10-18 08:30:38 +02:00
Dominik Dorfmeister
6312d12976
docs: Update testing.md
2023-10-17 16:36:14 +02:00
Dominik Dorfmeister
6cd1566f6c
chore: post release cleanup
2023-10-17 14:34:51 +02:00
Tanner Linsley
3be9b4580e
release: v5.0.0
v5.0.0
2023-10-17 12:25:15 +00:00
Dominik Dorfmeister
5898ec0b1f
feat: v5 release ( #6163 )
...
BREAKING CHANGE
2023-10-17 14:16:34 +02:00
Dominik Dorfmeister
eb462acac7
chore: new repo-header.png
2023-10-17 13:34:47 +02:00
Dominik Dorfmeister
60bde96de8
docs: optimistic updates and examples
2023-10-17 11:35:50 +02:00
Dominik Dorfmeister
55b8f022ea
chore: suspense docs
2023-10-17 11:05:49 +02:00
Dominik Dorfmeister
d33df62c85
Merge remote-tracking branch 'origin/main' into rc
...
# Conflicts:
# packages/vue-query/package.json
# packages/vue-query/src/__tests__/useQueries.test.ts
# packages/vue-query/src/__tests__/useQuery.test.ts
# packages/vue-query/src/types.ts
# packages/vue-query/src/useBaseQuery.ts
# packages/vue-query/src/useIsMutating.ts
# packages/vue-query/src/useQueries.ts
2023-10-17 08:26:59 +02:00
Dominik Dorfmeister
7677c64b10
docs: remove references to suspense:boolean
2023-10-16 12:56:50 +02:00
Tanner Linsley
b99ce8f79d
release: v5.0.0-rc.16
v5.0.0-rc.16
2023-10-16 07:04:04 +00:00
Dominik Dorfmeister
e3866de32c
chore: remove leftover dependency to client-only package
2023-10-16 08:52:31 +02:00
liaoliao666
3ca1327822
fix(types): useQueries can not infer type of TError ( #6155 )
...
* fix(types): useQueries can not infer type of TError
* test(useQueries): infer TError from throwOnError
* types(queries): support to infer TError for queries of all frameworks
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-10-16 08:48:06 +02:00
Tanner Linsley
f83fe47822
release: v5.0.0-rc.15
v5.0.0-rc.15
2023-10-15 09:02:40 +00:00