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]
96f2da6353
ci: Version Packages ( #11271 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-24 15:20:40 +02:00
Ben Younes
cafd540c02
fix(svelte-query): handle shrinking createRawRef array by multiple entries ( #10341 ) ( #10892 )
...
The `createRawRef` Proxy used by `createQueries` crashed with
`TypeError: 'deleteProperty' on proxy: trap returned falsish for property 'N'`
whenever the reactive query list was shrunk by two or more items in one update.
Two compounding causes:
1. `update()` iterated `keysToRemove` in ascending index order. The trap
decrements `target.length` after every deletion, so the next stale index
was no longer `in target` and the trap returned `false`, which throws in
strict mode (ES modules).
2. The trap returned `false` for missing props instead of treating delete on
a nonexistent prop as a spec-compliant no-op.
Fix: sort `keysToRemove` descending for arrays so each delete acts on the
current tail, and return `true` from `deleteProperty` when the prop is
already absent.
Generated by Ora Studio
Vibe coded by ousamabenyounes
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-24 15:12:37 +02:00
renechoi
320ed25cac
fix(svelte-query): activate createQueries initialized with an empty array ( #11127 )
...
fix(svelte-query): track keys added to an empty createRawRef
createQueries stayed permanently inactive when it was initialized with an
empty queries array. Reads of an absent index have no $state.raw field to
subscribe to, and length is a plain array property, so a consumer that
observed the result while it was empty registered no reactive dependency
and never re-ran once queries were added.
Track those reads through a key version that update() bumps whenever the
key set changes.
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-24 15:03:01 +02:00
alex-js-ltd
250050d863
fix(svelte-query): shrink useMutationState results ( #11153 )
...
* test(svelte-query/useMutationState): add coverage for shrinking filtered results
* fix(svelte-query): shrink useMutationState results
* chore: add changeset for useMutationState fix
---------
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-24 14:41:56 +02: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
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
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
kinsk2839
75b2d101f0
test(svelte-query/createQuery): replace 'toBeDefined' with exact-value assertion ( #11126 )
...
* test(svelte-query/createQuery): assert exact queryKey instead of loose 'toBeDefined'
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-28 11:29:09 +09:00
Wonsuk Choi
5972ae6e11
test(svelte-query): replace 'toBeDefined' with exact-value assertion ( #11124 )
...
test(svelte-query): assert exact values instead of loose matchers
2026-07-27 00:58: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
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
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
Wonsuk Choi
0b6b827389
test(svelte-query/containers): add test for deleting a non-existent property ( #10992 )
2026-06-27 18:21:06 +09:00
Hojeong Park
fcdcf8ac08
fix(svelte-query/containers): fix typo from 'Tanstack' to 'TanStack' ( #10722 )
...
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
2026-06-26 01:56:53 +09:00
Wonsuk Choi
982c6185a7
test(svelte-query/utils): add tests for 'watchChanges' first-run skip, array sources, and cleanup ( #10979 )
2026-06-24 10:55:40 +09: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
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
Wonsuk Choi
763782a240
test(svelte-query): align 'advanceTimersByTimeAsync' with 'sleep' duration in wait-for-fire cases ( #10908 )
2026-06-09 09:43:16 +09:00
Wonsuk Choi
2a4c2c9f1f
test(svelte-query/createQuery): replace 'Promise.resolve' with 'sleep' in render-based 'queryFn' ( #10903 )
2026-06-09 09:32:47 +09:00
Wonsuk Choi
3c77cd0826
test(svelte-query/createQuery): migrate suitable tests to render with reusable fixtures ( #10902 )
2026-06-08 02:55:46 +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
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
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
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
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
github-actions[bot]
2f9527ed76
ci: Version Packages ( #10568 )
...
ci: changeset release
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-23 16:20:54 +02:00