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

5,168 commits

Author SHA1 Message Date
Sander Goossens
2760f75bec
docs: Update typescript.md for registering types (#6272)
To ensure comprehensive documentation, I have included the import declaration to ensure that everyone is aware that the import is necessary for the module augmentation to function properly.

If you omit the import, you will overwrite the entire react-query declaration.
2023-10-31 10:35:40 +01:00
Agilan
a320b43010
chore: Update GitHub Actions workflows (#6203)
* chore: clean up github action workflows

* chore: remove ci-v3.yml

* fix: add rc branch back to branches list in ci.yml

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2023-10-30 14:44:51 +01:00
Tanner Linsley
7cb82a7268 release: v5.5.0 v5.5.0 2023-10-30 13:37:52 +00:00
Kenta Iwasaki
e3a5974ba2
feat: support nextjs v14 (#6259) 2023-10-30 14:29:10 +01:00
Tanner Linsley
e4e893056b release: v5.4.3 v5.4.3 2023-10-29 13:35:52 +00:00
Jonghyeon Ko
ca0fd8ff51
chore: update node in .codesandbox/ci.json (#6263) 2023-10-29 14:26:15 +01:00
HYUNGU KANG
b67107114c
fix(query-core): ensureQueryData should not call fetchQuery for queries with falsy data (#6261)
* fix(query-core): ensureQueryData call fetchQuery when the query actually does not exist

* fix: all the returned data covered by the test case to be falsy values

---------

Co-authored-by: goo <goo@tossbank.com>
2023-10-29 14:25:09 +01:00
Damian Osipiuk
7a9d2d080c
chore: add v4 branch to release scripts (#6247) 2023-10-26 10:17:47 +02:00
Tanner Linsley
0938492553 release: v5.4.2 v5.4.2 2023-10-25 23:03:29 +00:00
Aryan Deora
e2a3ebdf9d
fix(query-devtools): Inherit font size from parent instead of root (#6246)
This change allows setting a custom font size for the query devtools. The value is inherited from it's parent container
2023-10-25 18:59:24 -04:00
Tanner Linsley
23f19fa661 release: v5.4.1 v5.4.1 2023-10-25 13:51:37 +00:00
Damian Osipiuk
ffc7dc79db
perf(vue-query): remove redundant type wrappers (#6243) 2023-10-25 15:49:44 +02:00
Tanner Linsley
1e57af0af8 release: v5.4.0 v5.4.0 2023-10-25 12:53:29 +00:00
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