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

5,034 commits

Author SHA1 Message Date
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
Shahar Har-Shuv
d03224770d
docs(angular-query): update disabling-queries.md (#7332) 2024-05-04 20:37:15 +02:00
Arnoud
10bdb08f05
docs(angular-query): update quick start and readme (#7378) 2024-05-04 20:09:55 +02:00
Tanner Linsley
3ab92bc97e release: v5.34.1 v5.34.1 2024-05-04 08:31:39 +00:00
Milan Suk
f70d404e17
fix(core): replaceDeepEqual for objects created by Object.create (#7357)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-05-04 10:26:45 +02:00
Aryan Deora
ed12e1837e
docs: Solid Query - Add overview, ts, install sections (#7368) 2024-05-02 21:15:00 -04:00
Tanner Linsley
538e02b1d9 release: v5.34.0 v5.34.0 2024-05-02 18:07:29 +00:00
Aryan Deora
bd8ce7d8e2
feat(solid-query): Revise queryOptions implementation (#7366) 2024-05-02 14:04:33 -04:00
Tanner Linsley
9ff2c2e3ce release: v5.33.1 v5.33.1 2024-05-02 02:18:14 +00:00
Aryan Deora
a0e8f2521a
fix(solid-query): Correct types for primitives (#7363) 2024-05-01 22:14:52 -04:00
Tanner Linsley
ec837f63b2 release: v5.33.0 v5.33.0 2024-04-30 22:20:14 +00:00
Shahar Har-Shuv
8394146249
feat(angular-query): support injection in injectQuery callback (#7350)
* feat(angular-query-experimental): support injection in injectQuery callback

Before, when creating a query with injectQuery, if you injected dependencies (Like `inject(HttpClient)`) those injections would fail on subsequence changes of dependent signals. That change makes it easier to use `injectQuery` (especially together with `queryOptions` because the query can define its own dependencies.

No breaking changes, any code that worked before should work now as well.

---------

Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2024-05-01 00:16:03 +02:00
Tanner Linsley
38be91f691 release: v5.32.1 v5.32.1 2024-04-30 13:39:55 +00:00
Dominik Dorfmeister
684ffbfea9
fix: trigger release
RELEASE_ALL
2024-04-30 15:35:58 +02:00
Mackie Underdown
6768a9c723
docs(createSyncStoragePersister): fix typo (#7348) 2024-04-29 17:17:32 +02:00
Anton Jeppsson
2aca521a88
fix(codemods): Use .cjs extension for CommonJS files (#7333)
* bug(codemods): rename CommonJS files to .cjs

Rename CommonJS files in codemods to distinguish them from ES module
files otherwise used in this project.
Resolve an issue occuring since package.json in codemods is removed when
publishing causing module type data to be lost.

Fix issue #7154

* Fix knip errors

* Add file extension to tests

* Update migration doc

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2024-04-25 17:06:14 +10:00
Tanner Linsley
2ffd9fbd84 release: v5.32.0 v5.32.0 2024-04-23 07:33:00 +00:00