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
Wonsuk Choi
cd6a274356
test(vue-query/vueQueryPlugin): rename 'testIf' helper to 'itIf' for consistency with 'it' convention ( #10533 )
...
* test(vue-query/vueQueryPlugin): rename 'testIf' helper to 'itIf' for consistency with 'it' convention
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-21 00:58:55 +09:00
Wonsuk Choi
6b6667e5fb
test(*): migrate 'test' to 'it' and enforce 'vitest/consistent-test-it' rule ( #10528 )
...
* test(*): migrate 'test' to 'it' and enforce 'vitest/consistent-test-it' rule
* ci: apply automated fixes
* chore(preact-query): revert unintended removal of 'eslint-disable' comments from 'src' files
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-20 23:09:37 +09:00
Alexander Karan
9ff3de7981
Upgrade to Vitest v4 ( #9862 )
...
* Init upgrade
* Fixed query core
* Fixed persist tests
* Fixed coverage
* Fixed React
* Fixed Solid Query Devtools and Sold Query
* Svelte query fix
* Fixed Vue
* Angular done
* Fixed React
* Merge files
* Knip fix
* Fixed order
* Angular Eslint
* Query Core Eslint
* Fixed Vue Eslint issue
* Removed fallback
* chore: update lockfile
* ci: apply automated fixes
* fix: esbuild resolving
* fix: no idea
* chore: bump vitest
* Pipeline Fix
- Fallback UI is not reset between tests -> moved to create a function for each
- ruleTests needs to be top level
* ci: apply automated fixes
* ref: bump vitejs/plugin-react
* chore: stop testing against ancient ts 5.0
* Revert "chore: stop testing against ancient ts 5.0"
This reverts commit c72b7e7e7b .
* Revert "ref: bump vitejs/plugin-react"
This reverts commit b9622bc117 .
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-18 17:01:56 +01:00
Lachlan Collins
b7b452e407
ci: remove @tanstack/publish-config ( #9930 )
...
* ci: remove @tanstack/publish-config
* Update imports
2025-11-29 16:22:35 +11: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
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
Arnoud
f7cf1b5210
chore: update @tanstack/config ( #9302 )
2025-06-25 12:45:48 +02:00
Jonghyeon Ko
66ea5f2fcc
chore: add typescript-eslint/require-await rule ( #9116 )
...
Co-authored-by: MINSEONG KIM <65233075+minseong0324@users.noreply.github.com>
2025-05-08 04:48:20 +09:00
Jonghyeon Ko
0943575ae7
ci(*): init ESLint configurations to include 'vitest/expect-expect' rule as error across multiple packages gradually ( #9104 )
...
* chore(*): init ESLint configurations to include 'vitest/expect-expect' rule as error across multiple packages gradually
* chore(query-core): remove unused import from ESLint configuration
* chore(angular-query-experimental): update eslint rule
* chore: integrate vitest ESLint plugin and apply recommended rules across multiple packages
* chore(react-query-devtools): add vitest ESLint plugin to configuration
2025-05-06 17:15:13 +09:00
Sol Lee
322974c651
chore(eslint-plugin-query): ignore combinate spell check lint warning ( #8266 )
...
* chore: ignore `combinate` spell check lint warning
* fix typo
* chore: apply to root eslint config instead of just `eslint-plugin-query`
2024-11-13 08:53:40 +01:00
Lachlan Collins
4b2c8c5a19
chore(deps): update to @tanstack/config 0.13.1 ( #7986 )
...
* chore(deps): update to @tanstack/config 0.13.1
* Fix types
2024-08-30 22:19:21 +10:00
Jonghyeon Ko
ab1a353ae4
ci(*): official @vitest/eslint-plugin ( #7896 )
...
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2024-08-19 12:15:50 +02:00
Lachlan Collins
bd3296bfed
chore: Update @tanstack/config to v0.11.0 ( #7795 )
2024-07-26 10:56:33 +10:00
Lachlan Collins
003e1a8c47
tests: Use recommended @testing-library/svelte setup ( #7645 )
2024-06-29 12:59:12 +10:00
Lachlan Collins
febbde676d
chore: Update ESLint config ( #7637 )
...
* chore: Update ESLint config
* Fix errors
* Fix knip
2024-06-28 11:17:57 +10:00
Lachlan Collins
e6a0fdd89e
chore: Migrate to ESLint flat config ( #7636 )
...
* chore: Migrate to ESLint flat config
* Migrate more packages
* angular and solid
* svelte packages
* Hopefully more fixes
* react packages
* vue packages
* Fix typescript errors
* Update Nx config
2024-06-27 23:34:37 +10:00