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

52 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
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
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
c47678129d
test({react,preact}-query-devtools): assert the forwarded 'onClose' callback in the panel instead of 'expect.any(Function)' (#11029) 2026-07-05 00:20:20 +09:00
Wonsuk Choi
ee301adc6e
test(preact-query-devtools): extract shared test setup into 'beforeEach' (#11027)
* test(preact-query-devtools): extract shared test setup into 'beforeEach'

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-04 15:29:26 +09:00
Wonsuk Choi
6ec2ebcbe6
test(preact-query-devtools/PreactQueryDevtools): add tests for forwarding option changes after mount (#11020)
* test(preact-query-devtools/PreactQueryDevtools): add tests for forwarding option changes after mount

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-03 12:44:31 +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
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
Wonsuk Choi
1114d0bd11
test(preact-query-devtools/PreactQueryDevtools{,Panel}): add tests for the full prop wiring matrix (#10852)
* test(preact-query-devtools/PreactQueryDevtools{,Panel}): add tests for the full prop wiring matrix

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-01 10:33:35 +09:00
Wonsuk Choi
9c8d2eaff6
test(preact-query-devtools/PreactQueryDevtools): add tests for forwarding 'buttonPosition' and 'position' props to the devtools instance (#10818) 2026-05-28 16:46:32 +09: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
Wonsuk Choi
9b879f1421
test(preact-query-devtools): make production fallback test deterministic with 'vi.stubEnv' and 'vi.resetModules' (#10628) 2026-05-03 14:20:03 +09:00
Wonsuk Choi
d5d69cbfce
test(preact-query-devtools): add tests for missing 'QueryClient', context provider, 'client' prop, and production fallback (#10626)
* test(preact-query-devtools): add tests for missing 'QueryClient', context provider, 'client' prop, and production fallback

* ci: apply automated fixes

* test(preact-query-devtools): assert 'mount' call in client provisioning tests

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-03 13:50:27 +09: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
Wonsuk Choi
60b4416a15
refactor(preact-query-devtools): replace deprecated 'JSX.CSSProperties' with 'CSSProperties' from Preact namespace (#10622)
* refactor(preact-query-devtools): replace deprecated 'JSX.CSSProperties' with 'CSSProperties' from Preact namespace

* chore(.changeset): add changeset for 'JSX.CSSProperties' refactor
2026-05-02 13:03:29 +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
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
github-actions[bot]
ad517e5564
ci: Version Packages (#10567)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-23 15:15:00 +02:00
github-actions[bot]
a3ec7b30cc
ci: Version Packages (#10520)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-19 12:55:14 +02:00
github-actions[bot]
69d2757c98
ci: Version Packages (#10514)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-18 20:07:19 +02:00
github-actions[bot]
adc2543ade
ci: Version Packages (#10454)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-11 19:54:13 +02:00
github-actions[bot]
6040278e75
ci: Version Packages (#10451)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-11 18:06:24 +02:00
github-actions[bot]
125067c05a
ci: Version Packages (#10436)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-09 10:33:54 +02:00
github-actions[bot]
5ca721fb05
ci: Version Packages (#10379)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-03 12:20:46 +02:00
github-actions[bot]
75052a7fd0
ci: Version Packages (#10370)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 09:58:40 +02:00
Marc-André Côté
4a3275c15e
fix(build): exclude config files from production DTS rollup (#10358)
* fix(build): exclude config files from production DTS rollup

The `experimentalDts` option in tsup respects the tsconfig `include`
array to determine which files are in scope for DTS generation. Each
package's `tsconfig.json` includes `*.config.*` for IDE support, and
`tsconfig.prod.json` inherited this without overriding it. This caused
`vite.config.ts` and `tsup.config.ts` to be swept into the DTS rollup,
leaking `import { UserConfig } from 'vite'` into published types. Since
vite references `@types/node`, this globally overrides the DOM
`setTimeout` return type from `number` to `NodeJS.Timeout` for all
consumers.

Add `"include": ["src"]` (and `"exclude": ["src/__tests__"]` where
applicable) to all `tsconfig.prod.json` files that were missing it,
matching the pattern already used by query-core, react-query,
preact-query, and solid-query.

* chore: add changeset for DTS type pollution fix

* test(build): add regression test for build tool type leaks in .d.ts files

Adds scripts/verify-dts-imports.ts that scans all published .d.ts files
for forbidden imports from build tools (vite, tsup, vitest) and
`/// <reference types="node" />`. Wired into test:pr and test:ci to
run after the build completes.

* fix(build): fail fast when no .d.ts files found in verify-dts-imports

* chore: add exclude for consistency in react-query-next-experimental

* chore: fix log message to mention both .d.ts and .d.cts files

* ci: apply automated fixes

* chore: remove verify-dts-imports script and related package.json changes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-04-01 09:40:46 +02:00
github-actions[bot]
73e783bd86
ci: Version Packages (#10364)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-31 12:42:54 +02:00
github-actions[bot]
1047cdc393
ci: Version Packages (#10326)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 16:31:44 +01:00
github-actions[bot]
5806444b97
ci: Version Packages (#10324)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-23 15:21:38 +01:00
github-actions[bot]
4d7de830eb
ci: Version Packages (#10317)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-22 18:40:14 +01:00
github-actions[bot]
8fe71e4fe7
ci: Version Packages (#10313)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-22 00:57:17 +09:00
github-actions[bot]
c613c22535
ci: Version Packages (#10309)
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-21 23:35:14 +09:00
Dominik Dorfmeister 🔮
81689b6c46
fix ci (#10289)
* ci

* fix: remove ts 6.0 remnants

* fix ts peer resolution

* revert debugging

* revert to main
2026-03-18 14:38:37 +01:00
Dominik Dorfmeister 🔮
67cf8b60d9
ref: ts cutoff (#10253)
* ref: update typescript versions

* check for tsgo

* drop 5.2 and 5.3

* docs

* ref: fix tsup config

* ref: use built-in NoInfer

* ci: apply automated fixes

* fix tsup config

* Revert "ref: use built-in NoInfer"

This reverts commit 45d428ce71.

# Conflicts:
#	packages/preact-query/src/useQuery.ts

* ref: remove tsgo for now

* fix builds

* fix: update svelte-check

* fix: svelte-check still needs ts 5.9

* fix: knip + ts rewrite

* ci: apply automated fixes

* fix: make ts 5.9 the tscurrent version

* fix custom conditions

* fix: coderabbit comments

* fix: lockfile

* revert docs

* fix: override eslint to 8.56.1

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-09 08:12:35 +01:00