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

558 commits

Author SHA1 Message Date
github-actions[bot]
5743468462
ci: Version Packages (#11206)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-22 20:52:42 +02:00
Định Lê
2215bb0311
fix(query-core): make MutateFunction optional undefinable-variables (#8737)
* feat(query-core): make `MutateFunction` optional undefinable-variables

* test(query-core): MutateFunction

* test(query-core): MutateFunction

* vue

* ci: apply automated fixes

* angular

* fix adapter signatures

* ci: apply automated fixes

* changeset

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-22 11:24:11 +02:00
Dominik Dorfmeister 🔮
294d4e62c4
fix: declaration emit (#11224)
Co-Authored by @artemxknpv
2026-08-18 17:48:33 +02:00
Dominik Dorfmeister 🔮
267154cf6b
chore: tsup -> tsdown (#11222)
* chore: tsup -> tsdown

* revert size-limit and fix the build instead

* fix angular and devtools build

* fix nextJs builds

* more solid related things

* fix: import order
2026-08-18 15:19:43 +02:00
Dominik Dorfmeister 🔮
279bb5508b
chore: update to ts 7 and move cut-off to 5.6 (#11212)
* update to ts 7 and move cut-off to 5.7

* changeset

* fix: use typescript v6 with tsup

* ci: apply automated fixes

* ref: update sveltejs/package

* ref: make ts6 the default typescript

* fix: lit build

* effing tsup

* move ignoreDeprecations to solid tsup config

* move ignoreDeprecations to relevant tsup configs

* better lit fix

* restore vue queryClient

* Revert "restore vue queryClient"

This reverts commit 4f95fc918a.

* fix things

* ignore devDep ordering

* vue needs to use ts6

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-17 22:50:18 +02:00
Ciarán Curley
c6fc17cfad
feat(query-core): add simplified query methods (#10658)
* feat(query-core): add simplified query methods

* tests: stage adapter queryOptions coverage for new query methods

* ref: disallow `enabled`

* ci: apply automated fixes

* remove outdated test

* test(lit): remove other outdated test

---------

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-17 13:59:13 +02:00
Alem Tuzlak
46d7f02f1c
docs: use the dynamic README header endpoint (#11136)
* docs: use the dynamic README header endpoint

* docs: add README header banners to the framework adapter packages
2026-08-03 13:43:19 +02:00
Wonsuk Choi
e330cee106
test(angular-query): replace 'toBeDefined' with exact-value assertion (#11121)
test(angular-query): assert exact values instead of loose matchers
2026-07-27 00:56:47 +09:00
github-actions[bot]
86bb8a6fb2
ci: Version Packages (#11094)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-21 15:00:30 +02:00
github-actions[bot]
181ea826cb
ci: Version Packages (#11089)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-20 14:01:04 +02:00
max
79d2384db5
docs(*): fix 'homogenous', 'stoage', 'supressed', 'compoennts' spelling typos (#11040)
* fix: correct spelling typos across docs, examples, and source comments

- homogenous -> homogeneous in 7 useQueries/createQueries source files
- stoage -> storage in react and vue createPersister docs
- supressed -> suppressed in react and angular pagination examples
- compoennts -> components in solid-start-streaming example

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(react-query/useSuspenseQueries): correct 'homogenous' typo to 'homogeneous' in comment

---------

Co-authored-by: maxtaran2010 <ocotifuzo727@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
2026-07-13 14:06:03 +09:00
Wonsuk Choi
aa1f9d7bf1
test({vue,angular}-query): pin the reactive refetch call with 'toHaveBeenNthCalledWith' (#11051) 2026-07-12 12:09:38 +09:00
Wonsuk Choi
8d979dad83
test(angular-query/devtools): add test for reactive 'theme' update (#10999) 2026-06-29 11:54:05 +09:00
github-actions[bot]
610e8d1684
ci: Version Packages (#10996)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-27 22:28:10 +02:00
github-actions[bot]
b80929716f
ci: Version Packages (#10977)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-23 11:57:22 +02:00
dfedoryshchev
4f11927ac5
docs(angular-query): fix "allows to" grammar in JSDoc comments (#10890) 2026-06-19 13:43:35 +02:00
Wonsuk Choi
e5161df520
test(angular-query-experimental): replace deprecated 'toBeCalledWith' with 'toHaveBeenCalledWith' (#10941) 2026-06-14 19:44:55 +09:00
Wonsuk Choi
feb1efd804
test(*): move 'vi.useRealTimers' to the end of 'afterEach' so cleanup runs under fake timers (#10920)
* test(*): move 'vi.useRealTimers' to the end of 'afterEach' so cleanup runs under fake timers

* test(*): move 'vi.useRealTimers' to the end of 'afterEach' in persist-client and devtools suites

* test(svelte-query/createQueries): move 'vi.useRealTimers' to the end of 'afterEach'
2026-06-11 12:08:15 +09:00
github-actions[bot]
f3d8d2abbf
ci: Version Packages (#10774)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-02 21:21:24 +02:00
Raashish Aggarwal
532bb298fb
fix(tests): disable local coverage instrumentation (#10776)
Disable local coverage instrumentation

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-05-26 17:29:33 +02:00
github-actions[bot]
ba6e7beebd
ci: Version Packages (#10767)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-23 19:13:22 +02:00
github-actions[bot]
05cf2bc0a4
ci: Version Packages (#10758)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-22 21:16:14 +02:00
github-actions[bot]
5ff4f6936b
ci: Version Packages (#10755)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-22 20:50:43 +02:00
github-actions[bot]
3e85350749
ci: Version Packages (#10706)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-18 21:44:23 +02:00
github-actions[bot]
9d2692cec4
ci: Version Packages (#10695)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-11 16:08:01 +02:00
Wonsuk Choi
74fa05eb1b
chore(tsconfig.json): narrow 'include' pattern to prevent TS6053 race conditions from tsup bundled config files (#10522)
* chore(tsconfig.json): exclude tsup bundled config files to prevent TS6053 race conditions

* chore(tsconfig.json): narrow 'include' pattern to specific config extensions

* ci: apply automated fixes

* chore(tsconfig.json): replace brace expansion with explicit '*.config.ts' and '*.config.js' patterns

* chore(tsconfig.json): use single-line 'include' arrays for consistency

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-04 03:24:13 +09:00
github-actions[bot]
8c3d523d0a
ci: Version Packages (#10630)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-03 16:45:38 +02:00
Dami Oyeniyi
bf902df59d
feat(angular-query): add devtools theme option (#10609)
* feat(angular-query): add devtools theme option

* chore: apply review feedback
2026-05-03 16:22:29 +02:00
github-actions[bot]
9800c8f1a3
ci: Version Packages (#10623)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-02 13:08:18 +09:00
github-actions[bot]
3ae42619e5
ci: Version Packages (#10620)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-01 16:42:23 +09:00
Wonsuk Choi
868577d5da
docs(devtools): align logo, panel, and option union descriptions across docs and JSDoc (#10617)
* docs(devtools): replace framework-specific logo with 'TanStack logo' to match the actual rendered component

* docs(vue-query/devtools): replace 'React Query' panel leftover with 'Vue Query'

* docs(devtools): replace framework-specific logo with 'TanStack logo' and use adapter naming for 'devtools panel' in JSDoc

* docs(devtools): add missing 'relative' to JSDoc 'buttonPosition' union

* chore(.changeset): add changeset for devtools logo, panel, and 'buttonPosition' union alignment

* docs(preact-query-devtools): add missing 'position' union to JSDoc
2026-05-01 16:34:40 +09:00
github-actions[bot]
87f7ccf580
ci: Version Packages (#10604)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-29 01:36:20 +09:00
Wonsuk Choi
f88a608c59
test(angular-query-experimental/injectIsRestoring): add test for resolving 'provideIsRestoring' value with 'injector' option (#10599) 2026-04-29 00:48:22 +09:00
Wonsuk Choi
dd901aef98
test(angular-query-experimental/injectQueries): add test for error state when one of the queries rejects (#10597) 2026-04-26 18:18:41 +09:00
Wonsuk Choi
3547f86e13
test(angular-query-experimental/injectIsRestoring): add test for reactively reflecting changes to the provided signal (#10596) 2026-04-26 18:09:51 +09:00
Wonsuk Choi
c9755be3ed
test(angular-query-experimental/injectIsMutating): add filter test by 'mutationKey' (#10595) 2026-04-26 17:54:35 +09:00
Wonsuk Choi
7a5b53c4ea
test(angular-query-experimental/injectIsFetching): add filter test by 'queryKey' (#10594) 2026-04-26 17:46:11 +09:00
Wonsuk Choi
51ef23f46b
test(angular-query-experimental/injectMutation): add test for 'mutateAsync' resolving with 'mutationFn' return value (#10591) 2026-04-26 17:28:05 +09:00
Wonsuk Choi
72a15ae4d9
test(angular-query-experimental/injectMutation): switch 'pending' test to '@Component' + 'render' pattern (#10590) 2026-04-26 15:31:53 +09:00
Wonsuk Choi
e69e5d2a07
test(angular-query-experimental/injectMutation): switch 'error' test to '@Component' + 'render' pattern (#10589) 2026-04-26 15:03:29 +09:00
Wonsuk Choi
d78883bff0
test(angular-query-experimental/injectQuery): remove duplicate error test already covered by 'should reject and update signal' (#10588) 2026-04-26 14:53:07 +09:00
Wonsuk Choi
76161b7a6b
test(angular-query-experimental/injectQuery): add test for 'placeholderData' lifecycle (#10587) 2026-04-26 14:42:26 +09:00
Wonsuk Choi
4f373699e0
test(angular-query-experimental/injectQuery): add test for 'select' option transforming 'queryFn' data (#10586) 2026-04-26 14:21:24 +09:00
Wonsuk Choi
20fc6c2908
test(angular-query-experimental/injectInfiniteQuery): add test for error state when 'queryFn' rejects (#10585) 2026-04-26 14:09:31 +09:00
github-actions[bot]
441204b9d2
ci: Version Packages (#10582)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-25 19:25:49 +02:00
github-actions[bot]
55afb3e6fb
ci: Version Packages (#10581)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-25 17:51:28 +02:00
Dami Oyeniyi
3d1a62e63b
fix(devtools): change onClose callback type from () => unknown to () … (#10118)
* fix(devtools): change onClose callback type from () => unknown to () => void

* Fix onClose callback type in devtools

Updated onClose callback type in devtools to improve type safety.

* chore(changeset): fixed truncated changeset description

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2026-04-25 17:40:17 +02:00
github-actions[bot]
fe287cc247
ci: Version Packages (#10579)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-25 13:15:56 +02:00
github-actions[bot]
93b2845000
ci: Version Packages (#10575)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-25 11:40:41 +02:00
Wonsuk Choi
5ccd597556
test(angular-query-experimental/injectQuery): switch 'success' and 'reject' tests to '@Component' + 'render' pattern (#10572)
* test(angular-query-experimental/injectQuery): switch 'success' and 'reject' tests to '@Component' + 'render' pattern

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-25 13:37:48 +09:00