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

407 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
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
7cf5923308
fix(react-query-next-experimental): replace deprecated 'isServer' with 'environmentManager.isServer()' (#10857) 2026-06-02 13:53:49 +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
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
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
Dominik Dorfmeister
72d8ac5c59
fix: update react and nextJs (#9944)
* fix: update react and nextJs

and add a nextJs16 integration test

* ci: apply automated fixes

* oops

* Update patch versions for React and TanStack packages

Updated the patch versions for various React and TanStack packages.

* fix: streamline dependencies

* bundle size

* fix lock file

* fix: update react in example

* skip test for now

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-04 10:10:29 +01:00
github-actions[bot]
35deec3e79
ci: Version Packages (#9870)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-13 15:54:24 +00:00
Valentin Gurkov
7ed2d1661b
feat(react-query-next-experimental): support Next.js 16 (#9868)
* feat(react-query-next-experimental): support Next.js 16

* feat(react-query-next-experimental): support Next.js 16

* chore(query-example-nextjs-suspense-streaming): Add .gitignore, remove autogenerated file

* ci: apply automated fixes

* chore(query-example-nextjs-suspense-streaming): revert unintended tsconfig change

* chore(query-example-nextjs-suspense-streaming): use react 19.0 like the rest of the repo

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-13 16:44:34 +01: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
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
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