0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
Commit graph

407 commits

Author SHA1 Message Date
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 🔮
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
Wonsuk Choi
da2ff5aeb8
chore(vite.config): exclude '__tests__' directory from coverage reports (#10084) 2026-02-11 09:38:11 +01:00
github-actions[bot]
a678f0957c
ci: Version Packages (#10069)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-30 10:30:28 +01: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
github-actions[bot]
84564f1293
ci: Version Packages (#10001)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-28 17:02:35 +01:00
Lachlan Collins
f15b7fcc01
ci: prepare for trusted publishing (#9952)
* ci: prepare for trusted publishing

* Format

* Remove NPM_TOKEN
2025-12-07 01:47:55 +11:00
Lachlan Collins
aba3260e4d
ci(changesets): disable auto-merging (#9918)
* ci(changesets): disable auto-merging

* Fix knip
2025-11-27 11:10:12 +11:00
github-actions[bot]
025358880f
ci: Version Packages (#9908)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-25 10:50:04 +00:00
github-actions[bot]
18febbd79a
ci: Version Packages (#9890)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-21 10:46:41 +00:00
Damian Osipiuk
0e9d5b5652
feat(devtools): allow passing a theme via prop (#9887) 2025-11-21 11:45:27 +01:00
github-actions[bot]
c36a524e5d
ci: Version Packages (#9766)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-16 11:03:15 +00:00
CapitaineToinon
8fe3b100fb
fix: solid-query-devtools and panel query client (#9763)
* fixed solid-query-devtools and panel

* Added changeset

* Fixed typo
2025-10-16 13:00:23 +02: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
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
Tanner Linsley
4d8da1e29e release: v5.90.3 2025-09-24 11:40:30 +00:00
Tanner Linsley
0eaafe0821 release: v5.90.2 2025-09-23 07:38:07 +00:00
Tanner Linsley
fcd23c9b1a release: v5.90.1 2025-09-22 06:41:39 +00: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
Tanner Linsley
2a00fb6504 release: v5.89.0 2025-09-16 08:27:49 +00:00
Tanner Linsley
230435d112 release: v5.87.4 2025-09-10 14:10:04 +00:00
Tanner Linsley
2bf8fa3175 release: v5.87.3 2025-09-08 12:51:41 +00:00
Tanner Linsley
92d6b7bc86 release: v5.87.2 2025-09-05 14:37:39 +00:00
Alem Tuzlak
3af530d657
fix(solid-query-devtools): fix typing issue (#9621)
* fix: fix issue with solid devtools

* fix: add correct jsx typing from solid

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 16:18:21 +02:00
Tanner Linsley
bc2c87fceb release: v5.87.1 2025-09-05 14:15:20 +00:00
Tanner Linsley
b43af57cd2 release: v5.87.0 2025-09-05 11:55:19 +00:00
Tanner Linsley
1599bb4742 release: v5.86.0 2025-09-04 09:27:33 +00:00
Wonsuk Choi
7306474eee
chore(tsconfig.json): simplify 'include' patterns by consolidating file extensions and directory paths (#9547)
Co-authored-by: Jonghyeon Ko <manudeli.ko@gmail.com>
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-09-03 09:56:51 +02:00
Tanner Linsley
0a35234ce4 release: v5.85.9 2025-09-02 12:17:18 +00:00
Tanner Linsley
a978b34b1b release: v5.85.7 2025-09-02 07:22:33 +00:00
Tanner Linsley
b998f68a57 release: v5.85.6 2025-08-30 12:21:11 +00:00
Tanner Linsley
0a0e01443d release: v5.85.5 2025-08-19 09:41:34 +00:00
Tanner Linsley
ef0a9d2c7e release: v5.85.4 2025-08-19 09:10:56 +00:00
Tanner Linsley
b6516bd25e release: v5.85.3 2025-08-14 13:05:50 +00:00
Tanner Linsley
e14f39c6ee release: v5.85.2 2025-08-14 08:51:42 +00:00
Tanner Linsley
31f51b97fa release: v5.85.1 2025-08-14 07:57:58 +00:00