github-actions[bot]
e0f6c5542f
ci: Version Packages ( #11525 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-21 11:29:33 +02:00
Wonsuk Choi
97cab92a7e
docs(solid-query): add JSDoc for re-declared 'queryKey' ( #11563 )
2026-09-21 12:01:41 +09:00
Wonsuk Choi
436a3baa93
docs(solid-query): call the adapter's APIs primitives instead of functions ( #11560 )
2026-09-21 10:34:21 +09:00
Wonsuk Choi
73a016baab
docs(solid-query): call the adapter's APIs functions instead of hooks ( #11558 )
2026-09-21 10:16:36 +09:00
Wonsuk Choi
3b45ebcadd
docs(solid-query): add summaries to reference pages that render without a description ( #11554 )
2026-09-21 01:47:02 +09:00
Wonsuk Choi
d346e85f01
docs(*): promote default values from prose to '@defaultValue' tags ( #11538 )
2026-09-18 17:16:33 +09:00
github-actions[bot]
c08f5766dd
ci: Version Packages ( #11511 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 16:56:55 +02:00
github-actions[bot]
19ccf2794b
ci: Version Packages ( #11339 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 09:03:53 +02:00
Wonsuk Choi
2da46cd137
chore(*): use eslint description syntax for grandfathered 'no-restricted-syntax' disables ( #11508 )
2026-09-16 10:43:43 +09:00
Dominik Dorfmeister 🔮
58ad3e2f08
fix: isolate TypeScript test output ( #11503 )
2026-09-15 20:56:41 +02:00
Ciarán Curley
d63afc715c
Simplifed query methods/internal tests new lint ( #11347 )
...
* chore: update type tests to use new query methods, types
* chore: disallow future calls to deprecated methods
* fix(eslint): detect computed query method calls
- Match bracket notation for deprecated query client methods
2026-09-15 20:25:08 +02:00
Wonsuk Choi
27b5e08146
test(solid-query/useQuery): move type assertions from the runtime test to 'test-d' ( #11473 )
2026-09-13 00:36:49 +09:00
Wonsuk Choi
23fbdc3e89
test({react,preact,solid,angular}-query): remove 'fromGenericOptionsQueryFn' duplicating 'fromGenericQueryFn' ( #11463 )
2026-09-10 09:26:39 +09:00
Wonsuk Choi
50680b98c4
test({react,preact,solid,svelte}-query,angular-query-experimental): rename 'mutationFn' param to '_variables' in 'MutationFunctionContext' tests ( #11448 )
2026-09-08 21:22:31 +09:00
Wonsuk Choi
25fde68a4e
test(solid-query/useMutation): add tests for 'MutationFunctionContext' passed to mutationFn and callbacks ( #11441 )
2026-09-08 19:33:01 +09:00
Wonsuk Choi
e57f8163b1
docs(query-core): add JSDoc across the package and expose it in generated reference docs ( #11438 )
...
* docs(query-core): add JSDoc across the package and expose it in generated reference docs
* docs(config.json): add sidebar entries for newly generated query-core reference docs
* docs(query-core): migrate remaining prose from the legacy 'docs/reference' pages into JSDoc
* docs(query-core): remove legacy 'docs/reference' pages superseded by the generated reference
* docs(query-core): regenerate reference docs after merging main
* docs(query-core): document missing default values for MutationOptions, combine, and QueryFilters.type
* fix(query-devtools): drop unnecessary 'query-core' project reference
* docs(query-core): document missing default values and normalize 'Defaults to' spacing
* docs(query-core): fix 'environmentManager' JSDoc example
2026-09-07 18:22:38 +02:00
Wonsuk Choi
49c7f46506
docs(solid-query/useMutation): add JSDoc examples for optimistic update rollback and parallel 'mutateAsync' calls ( #11431 )
...
* docs(solid-query/useMutation): add JSDoc examples for optimistic update rollback and parallel 'mutateAsync' calls
* docs(solid-query/useMutation): clarify 'Promise.all' only waits for all mutateAsync calls when they succeed
2026-09-07 00:52:49 +09:00
Wonsuk Choi
fed4aaa0c6
test(solid-query/useMutation): add tests for optimistic update rollback and parallel 'mutateAsync' calls ( #11430 )
2026-09-07 00:15:38 +09:00
Wonsuk Choi
47bcd93f58
test(solid-query/useQuery): add tests for 'initialData' with a failed refetch and 'skipToken' dependent query ( #11423 )
...
* test(solid-query/useQuery): add tests for 'initialData' with a failed refetch and 'skipToken' dependent query
* test(solid-query/useQuery): assert 'queryFn' call count in skipToken test
2026-09-06 23:26:26 +09:00
Wonsuk Choi
14ba7bef29
test(solid-query/useInfiniteQuery): add test for 'initialData' with a failed refetch ( #11422 )
2026-09-06 22:49:36 +09:00
Wonsuk Choi
19c96a5134
docs(solid-query): remove 'The Query Options API' link, solid's queryOptions API differs from react's ( #11387 )
2026-09-04 11:42:55 +09:00
Wonsuk Choi
fe77cdc8d7
docs({react,preact,solid}-query): correct inaccurate JSDoc statements ( #11372 )
...
* docs(react-query): correct inaccurate JSDoc statements
* docs(preact-query): correct inaccurate JSDoc statements
* docs({react,preact,solid}-query): stop implying useQueries options are fully identical to useQuery
2026-09-03 10:42:36 +09:00
Wonsuk Choi
de8ab4db3e
docs(solid-query): add JSDoc and generate reference docs with TypeDoc ( #11369 )
...
* docs(solid-query): add JSDoc across the package
* docs(solid-query): generate reference docs with TypeDoc
* docs(config): register solid-query TypeDoc reference pages
* docs(solid-query): correct inaccurate JSDoc statements flagged in review
2026-09-03 10:19:23 +09:00
Ciarán Curley
6f31ef6c8b
test: replace 'prefetchQuery'/'fetchQuery'/'ensureQueryData' with 'query' ( #11340 )
...
chore: move internal tests to queryClient.query
2026-08-31 09:00:15 +02:00
github-actions[bot]
2969edf32f
ci: Version Packages ( #11316 )
2026-08-28 01:03:02 +09:00
github-actions[bot]
2eb3c7c76f
ci: Version Packages ( #11313 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-27 17:28:48 +09:00
github-actions[bot]
714df67ab1
ci: Version Packages ( #11306 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 20:32:28 +02:00
github-actions[bot]
1836e61b8c
ci: Version Packages ( #11303 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-26 10:56:25 +02:00
github-actions[bot]
51f12db919
ci: Version Packages ( #11294 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-25 23:24:07 +02:00
github-actions[bot]
730b3aa06c
ci: Version Packages ( #11276 )
2026-08-25 04:21:47 +09:00
github-actions[bot]
388bbaf181
ci: Version Packages ( #11265 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 19:57:36 +02:00
github-actions[bot]
bc423b37ef
ci: Version Packages ( #11261 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-23 12:57:01 +02:00
Wonsuk Choi
be1352b848
test(*): add adapter-level type coverage for optional undefinable mutate variables ( #11257 )
2026-08-23 12:08:14 +09:00
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 🔮
1ef42087c9
ref: remove experimental_prefetchInRender ( #11221 )
2026-08-20 11:32:10 +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
Zelys
6e3d521fe5
fix(types): propagate generic type params to useMutationState select callback ( #10373 )
...
* fix(types): propagate generic type params to useMutationState select callback
When TResult is a typed MutationState, the select callback parameter
now receives the correctly typed Mutation instead of the base Mutation type.
Adds a second type param TMutation (defaulting to MutationTypeFromResult<TResult>)
to MutationStateOptions across all five framework adapters. Uses a non-distributive
conditional type to avoid union expansion when TResult is unresolved.
Fixes #9825
* ci: apply automated fixes
* refactor(types): simplify useMutationState cast to mutation as TMutation
Replace the double-cast `(fn as unknown as (m: Mutation) => TResult)(m)`
with the direct `fn(m as TMutation)` across all five framework packages.
The constraint `TMutation extends Mutation<any, any, any, any>` creates
sufficient overlap for the single cast to compile cleanly on TS 5.4–6.0.
* fix(test): reorder imports in useMutationState.test-d.tsx per import/order rule
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor(svelte-query): eliminate duplicate MutationTypeFromResult definition
Export MutationTypeFromResult from types.ts so useMutationState.svelte.ts
can import it instead of redefining it. Also normalises the else branch to
plain Mutation, matching every other adapter.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-18 10:02:05 +02:00
palkim
47d49d31aa
fix(solid-query): resolve query client outside memos ( #10571 )
...
* fix(solid-query): resolve query client outside memos
* fix(solid-query): resubscribe client counters
* test(solid-query): assert client subscription cleanup
---------
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-18 09:22:07 +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
karl
f320db5a4c
test(solid-query): assert exact values instead of loose matchers ( #11105 )
...
Co-authored-by: Wonsuk Choi <sukvvon@gmail.com>
2026-07-26 23:56:26 +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
Wonsuk Choi
ff24bf7b31
test(solid-query): use the '.then()' convention consistently ( #11087 )
...
* test(solid-query/useMutation): use the '.then()' convention consistently
* test(solid-query/useQuery): use the '.then()' convention consistently
* test(solid-query-persist-client): use the '.then()' convention consistently
2026-07-20 19:39:14 +09:00
Wonsuk Choi
44f38df5de
test({react,preact,solid}-query/useInfiniteQuery): inline the shared 'fetchItems' helper into the tests that use it ( #11082 )
2026-07-19 16:55:57 +09: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
0a852e0d74
test({react,preact,solid}-query/useMutation): improve callback assertions with 'toHaveBeenNthCalledWith' ( #11050 )
2026-07-11 15:37:03 +09:00