github-actions[bot]
787a7346ca
ci: Version Packages ( #9748 )
...
@tanstack/query-async-storage-persister@5.90.4
@tanstack/query-persist-client-core@5.91.1
@tanstack/query-sync-storage-persister@5.90.4
@tanstack/react-query-persist-client@5.90.4
@tanstack/solid-query-persist-client@5.90.5
@tanstack/svelte-query-persist-client@6.0.2
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-10 21:20:25 +00:00
Damian Osipiuk
846d53d989
fix(query-persist-client-core): allow restoring null values ( #9747 )
2025-10-10 23:18:36 +02:00
github-actions[bot]
ea62def6db
ci: Version Packages ( #9746 )
...
@tanstack/query-async-storage-persister@5.90.3
@tanstack/query-persist-client-core@5.91.0
@tanstack/query-sync-storage-persister@5.90.3
@tanstack/react-query-persist-client@5.90.3
@tanstack/solid-query-persist-client@5.90.4
@tanstack/svelte-query-persist-client@6.0.1
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-10 21:06:03 +00:00
Damian Osipiuk
5cd86c6ef1
fix(query-persist-client-core): add option to change behavior of refetch after restore ( #9745 )
2025-10-10 23:04:23 +02:00
Dominik Dorfmeister
f4a0cd596b
chore: update eslint-plugin-react-hooks ( #9737 )
...
* chore: update eslint-plugin-react-hooks
* chore: override warning rules to error
* chore: config everywhere
* chore: lint violations
2025-10-08 15:09:08 +02:00
Lachlan Collins
9f82d8e56f
docs(svelte-query): fix diff notation ( #9717 )
2025-09-30 22:37:49 +10:00
github-actions[bot]
a99f771523
ci: Version Packages ( #9716 )
...
@tanstack/svelte-query-devtools@6.0.0
@tanstack/svelte-query-persist-client@6.0.0
@tanstack/svelte-query@6.0.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-30 22:11:13 +10:00
Lachlan Collins
1056ba63b3
feat!(svelte-query): rewrite Svelte adapter to use runes ( #9694 )
...
* WIP: Svelte 5 adapter (#6981 )
* feat(svelte-query): Improve svelte runes API (#8852 )
* feat: Draft proposal
* chore: Improve reactive containers
* ci: apply automated fixes
* oops
* fix: Update API, add a bunch of tests
* merge main
* fix: use const
* more tests
* feat: More tests, back to thunks, fixed svelte-query-persist-client
* feat: More tests and examples!
* lockfile
* fixes
* Fix current CI errors
* More small fixes/tweaks
* Remove test.only
* ci: apply automated fixes
* Fix pnpm-lock, fix import order
* update main docs
* feat: More tests
* ci: apply automated fixes
* add back old tests
* Cleanup
* Fix persist client
* Fix useMutationState
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
* Use sleep from query-test-utils
* Simplify test reset logic
* Fix some merge conflicts
* More fixes
* A few more fixes
* Fix useMutationState
* Add changeset
* Add migration docs
* Replace Set with SvelteSet
* Update minimum svelte version
* Bump svelte-eslint-parser
* Unwrap createQuery test
* fix(svelte-query): `state_unsafe_mutation` error with `useIs...` (#9493 )
* fix(svelte-query): don't wrap observers in derived to avoid state_unsafe_mutation
fixes useIsFetching and useIsMutating in svelte 5 adapter
* test(svelte-query): wrap (useIs...) tests in QueryClientProvider to test non colocated query
* fix(svelte-query): update observers when passed in query client changes
* fix(svelte-query): simplify creatMutation sub/unsub
* Refactor result handling in createMutation.svelte.ts
Replace derived state with direct state and add watchChanges for result updates.
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
* chore(svelte-query): fix eslint config (#9699 )
* chore(svelte-query): fix eslint config
* Use @typescript-eslint/parser directly
* ci: apply automated fixes
* Fix sherif
* Update docs and changeset
* Update keywords
---------
Co-authored-by: Zhiheng Zhang <55773069+zhihengGet@users.noreply.github.com>
Co-authored-by: Elliott Johnson <sejohnson@torchcloudconsulting.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: David <david@hmnd.io>
2025-09-30 22:07:17 +10:00
Lachlan Collins
a242f98b82
Revert "chore(deps): update all non-major dependencies" ( #9715 )
...
Revert "chore(deps): update all non-major dependencies (#9712 )"
This reverts commit 571bc184fd .
2025-09-30 15:29:40 +10:00
Lachlan Collins
0f5f643896
test(svelte-query): add infinite query setQueryData test ( #9714 )
...
* test(svelte-query): add infiniteQuery setQueryData test
* Remove state tracking
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-30 14:05:10 +10:00
espada-edalex
593eacbf17
docs: add docs for mutation-property-order eslint rule ( #9271 )
2025-09-29 17:11:46 +02:00
renovate[bot]
571bc184fd
chore(deps): update all non-major dependencies ( #9712 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 04:32:59 +00:00
Lachlan Collins
4cf6a9a2d3
ci(release): do not auto-merge major releases ( #9710 )
...
* ci(release): do not auto-merge major releases
* Testing
* Add test changesets
* Undo test changes
2025-09-28 10:41:13 +10:00
github-actions[bot]
dcc7bd9616
ci: Version Packages ( #9709 )
...
@tanstack/eslint-plugin-query@5.91.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-27 23:58:39 +00:00
Lachlan Collins
b72a56fd6a
ci(release): try repository dispatch event
2025-09-28 09:56:28 +10:00
Lachlan Collins
18a12cab5f
ci(release): add workflow dispatch
2025-09-28 09:42:45 +10:00
Lachlan Collins
245af793d9
ci(release): allow PR creation
2025-09-28 09:12:56 +10:00
Matt Mower
832fac36ab
feat(eslint-plugin): improve type of exported plugin ( #9700 )
...
* feat(eslint-plugin): Improve type of exported plugin
Use satisfies operator to verify that the shape of `plugins` matches
`ESLint.Plugin` (the extended version of it) while retaining its actual
shape.
* add changeset
---------
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
2025-09-28 09:09:03 +10:00
Lachlan Collins
da9e8bc442
ci(release): attempt to fix condition
2025-09-28 08:59:36 +10:00
Lachlan Collins
1bcdf097a3
ci(release): update changesets auto-merge logic ( #9703 )
...
* ci: update changesets auto-merge logic
* Intentionally breaking build
* Undo intentional break
* Remove auto since we don't have auto-merge
2025-09-28 08:54:40 +10:00
Lachlan Collins
5e8fd61126
chore: update @eslint-react/eslint-plugin ( #9702 )
...
chore: update eslint-plugin-react
2025-09-28 08:25:02 +10:00
Lachlan Collins
4f4866e270
ci: fix setting npm token
2025-09-27 23:57:02 +10:00
Tanner Linsley
51ca638fac
ci: Version Packages
@tanstack/eslint-plugin-query@5.90.2
2025-09-27 13:53:08 +00:00
Lachlan Collins
41b3a7849b
ci: Add missing token
2025-09-27 23:50:45 +10:00
Fabian Bieler
24a2266ace
fix(eslint-plugin): exhaustive-deps with variables and type assertions ( #9643 ) ( #9687 )
...
* fix(eslint-plugin): exhaustive-deps with variables and type assertions (#9643 )
Recursively dereference variables and type assertions in query keys.
Also dereference even if the referenced expression is not an array
expression.
* fixup! fix(eslint-plugin): exhaustive-deps with variables and type assertions (#9643 )
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fixup! fix(eslint-plugin): exhaustive-deps with variables and type assertions (#9643 )
* Add changeset
* ci: apply automated fixes
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-09-27 10:22:35 +02:00
renovate[bot]
b01be850cd
chore(deps): update dependency vite to ^4.5.14 [security] ( #9636 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-27 12:55:43 +10:00
Lachlan Collins
130382ab8f
ci: switch to nxCloudId ( #9697 )
2025-09-27 12:50:53 +10:00
Lachlan Collins
93a9d71e91
docs(examples): update star-wars and rick-morty examples ( #9696 )
2025-09-27 12:31:46 +10:00
Lachlan Collins
8e429262f2
ci: add danielroe/provenance-action ( #9693 )
2025-09-26 22:53:48 +10:00
Lachlan Collins
89be1895e3
chore: update svelte examples and tests from runes PR
2025-09-26 22:51:17 +10:00
Lachlan Collins
db60bddc96
chore: update eslint-plugin-vue ( #9691 )
2025-09-26 22:02:02 +10:00
Lachlan Collins
4b40dd9367
fix-versioning ( #9690 )
2025-09-26 19:55:05 +10:00
Lachlan Collins
2a15f36576
ci: introduce changesets ( #9502 )
...
* ci: introduce changesets
* Avoid using changesets/action
* Remove PR permission
* Update PR template
* Update link
2025-09-26 17:32:23 +10:00
Cam Jackson
cd290631ab
docs(react-query): add caveat for typing getQueriesData ( #9684 )
2025-09-24 14:41:36 +02:00
Tanner Linsley
4d8da1e29e
release: v5.90.3
v5.90.3
2025-09-24 11:40:30 +00:00
Kaung Zin Hein
865095ddfe
fix(solid-query): export queryOptions without type errors ( #9668 )
...
* fix(solid-query): add missing generic error type
* refactor(solid-query): remove unused generic type
* test(solid-query): add case for error tag
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-09-24 13:33:08 +02:00
Tanner Linsley
0eaafe0821
release: v5.90.2
v5.90.2
2025-09-23 07:38:07 +00:00
Dominik Dorfmeister
2cf3ec9eda
fix(types): onMutateResult is always defined in onSuccess callback ( #9677 )
...
* fix(types): onMutateResult is always defined in onSuccess callback
this is guaranteed because if onMutate fails or rejects, onSuccess is never called. if onMutate is not present, the type will be unknown
* chore: fix tests
2025-09-23 09:35:49 +02:00
Tanner Linsley
fcd23c9b1a
release: v5.90.1
v5.90.1
2025-09-22 06:41:39 +00:00
hriday330
49243c852b
fix(vue-query): Support infiniteQueryOptions for MaybeRef argument ( #9634 )
...
* test(vue-query): add type-check test for useInfiniteQuery with infiniteQueryOptions
* fix(vue-query): wrap useInfiniteQuery options in MaybeRefOrGetter
* remove type problem example
* test(vue-query): add test for plain options getter
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Damian Osipiuk <osipiukd+git@gmail.com>
2025-09-22 08:38:52 +02:00
renovate[bot]
cd4ef5c304
chore(deps): update marocchino/sticky-pull-request-comment digest to fd19551 ( #9674 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-22 11:06:26 +09:00
Lachlan Collins
cbf0896b7a
ci: update checkout action ( #9673 )
2025-09-22 11:06:18 +09:00
Lachlan Collins
fb48985f63
ci: update workspace config ( #9671 )
...
* chore: update workspace config
* Update more deps
* Fix issues
2025-09-21 23:26:52 +10:00
Arnoud
06e555072b
docs(angular-query): add testing guide ( #9669 )
2025-09-21 02:38:17 +02:00
Tanner Linsley
5d7c90e144
release: v5.90.0
v5.90.0
2025-09-20 16:47:26 +00:00
Arnoud
3bf9268770
feat(angular-query): integrate with Angular v19+ PendingTasks for whenStable() support ( #9666 )
...
Integrates TanStack Query for Angular with Angular's PendingTasks API to properly track
asynchronous operations, ensuring ApplicationRef.whenStable() waits for queries and
mutations to complete before resolving.
Features:
- Cross-version compatibility (Angular v16+ with graceful degradation)
- Tracks query fetchStatus and mutation isPending state
- Automatic cleanup on component destruction
- Comprehensive test coverage including edge cases
Benefits:
- Improved SSR: Server waits for data fetching before rendering
- Better testing: fixture.whenStable() properly waits for async operations
- Zoneless support: Correct change detection timing
2025-09-20 18:46:18 +02:00
Sarah
7d370b91f9
docs: Improve README image responsiveness ( #9665 )
...
* Enhance partner logos with responsive images
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-19 18:37:54 +02:00
Corbin Crutchley
ed21249708
fix(angular-query) fix injectQueries types
...
* fix(angular-query-experimental): typings for injectQueries should now behave properly
* fix(angular-query-experimental): behaviors of injectQuery now work at runtime
Mostly
* ci: apply automated fixes
* add signal proxy
* ci: apply automated fixes
* update @testing-library/angular
* fix build
* rename test file
* ci: apply automated fixes
* fix type error
* apply corerabbit suggestions
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Arnoud de Vries <6420061+arnoud-dv@users.noreply.github.com>
2025-09-18 19:50:58 +02:00
Tanner Linsley
2a00fb6504
release: v5.89.0
v5.89.0
2025-09-16 08:27:49 +00:00
Josh
a2151d28e1
feat(query-core): add context to mutationfn & mutation callbacks ( #9615 )
...
* feat(query-core): add context to mutationfn
Co-Authored-By: travikk <627275+travikk@users.noreply.github.com>
* fix(query-core): mutation onSuccess scope param should also be undefined
Co-Authored-By: travikk <627275+travikk@users.noreply.github.com>
* feat: add scope deprecate context on mutation state
* feat(query-core): add mutation context to all mutation callbacks
* chore: pr amends
Co-Authored-By: Dominik Dorfmeister <1021430+TkDodo@users.noreply.github.com>
* test(unit): update to handle context in mutation callbacks
* chore: rename to onMutateResult
* chore: revert context deprecation on MutationState
---------
Co-authored-by: travikk <627275+travikk@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <1021430+TkDodo@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-09-16 10:22:43 +02:00