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

5,038 commits

Author SHA1 Message Date
Eliya Cohen
7d3a1a37d1
fix(eslint-plugin): separate legacy and modern dts files (#8972)
* chore(build): restructure eslint-plugin-query build configuration

Aligned the build system with other packages by replacing the custom tsup config with standard modern/legacy build outputs. Moved output files from 'dist' to 'build' directory structure. Removed the patch-missing-export-equals.js script in favor of directly exporting the plugin. Added tsconfig.prod.json for production builds.

* chore(example): eslint classic

* ci: apply automated fixes

* fix: unique name for examples

* remove unused import

* chore: add eslint test script to react examples and update eslint test command

Add `test:eslint` script to react example package.json files to enable linting checks. Update the main `test:eslint` command to remove the exclusion of examples, ensuring linting is applied across the entire project.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: TkDodo <office@dorfmeister.cc>
2025-04-08 17:14:36 +02:00
Tanner Linsley
0964fba8e3 release: v5.72.1 v5.72.1 2025-04-08 12:58:00 +00:00
Dominik Dorfmeister
4ad696aa6a
chore: trigger release
RELEASE_ALL
2025-04-08 14:55:35 +02:00
Eliya Cohen
97c8d84bcc
fix(eslint): classic build (#8971) 2025-04-07 16:41:35 +02:00
Mohammad Reza Badri
0e1d866dfe
docs: correct missing closing quote in networkMode option (#8965) 2025-04-07 14:21:06 +02:00
TkDodo
1771dd2503 chore: (temporary) make test depend on build 2025-04-07 13:46:40 +02:00
novice0840
04b58a5b52
docs(readme): document how to run tests using Nx (#8967) 2025-04-07 13:44:47 +02:00
Tanner Linsley
667650a0e2 release: v5.72.0 v5.72.0 2025-04-07 09:20:28 +00:00
Eliya Cohen
993e838d5f
feat(eslint-plugin): no-void-queryFn (#8925)
* feat(eslint-plugin-query): implement no-void-query-fn rule

* add docs

* ci: apply automated fixes

* build(eslint-plugin-query): switch from vite to tsup for building

* update lockfile

* revert lockfile

* fix

* fix publint

* chore: add script to patch missing export equals

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-07 11:17:45 +02:00
renovate[bot]
644e94514b
chore(deps): update dependency vite to v6.2.5 [security] (#8957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 02:19:38 +00:00
TkDodo
57d159c425 chore: hopefully changing nx.json will cache-bust everything? 2025-04-05 20:18:52 +02:00
TkDodo
7e4e2e638e Revert "ci: disable nx-caching in CI"
This reverts commit 3319d35dcd.
2025-04-05 20:12:10 +02:00
TkDodo
3319d35dcd ci: disable nx-caching in CI 2025-04-05 19:20:42 +02:00
Tyler
8e0c6b7639
chore(paths): use customConditions to define internal imports (#8935)
* fix(paths): use customConditions to define internal imports

* the rest of the changes

* publint and vitest fixes

* order matters!

thanks https://colinhacks.com/essays/live-types-typescript-monorepo

* upgrade publint to get customCondition support

added here: b34ea9433f

* remove dynamicAliases

* remove getViteAliases

* try without references?

* Revert "try without references?"

This reverts commit b18bc946e8.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-04-04 21:24:15 +02:00
Tanner Linsley
1bf2df6b67 release: v5.71.10 v5.71.10 2025-04-04 12:44:41 +00:00
novice0840
d2768d36f9
refactor(query-core): remove double negative (#8952)
Co-authored-by: frontend-woosung <kim.woosung@cashwalk.io>
2025-04-04 14:37:49 +02:00
marcelas5
9556576b7b
docs: fix contributing link (#8954)
http://localhost:3000/query/latest/docs/overview is broken. Change it
to point to react overview page.
2025-04-04 11:42:21 +02:00
Tanner Linsley
fcd4bf5d81 release: v5.71.9 v5.71.9 2025-04-03 21:57:14 +00:00
Birk Skyum
d040eaacf6
fix(solid-query): deprecate create in favor of use, and add full docs (#8950)
* Revert "fix(solid-query): keep solid-query on just `createQuery` syntax (#8947)"

This reverts commit 4e45d7c9a1.

* Revert "fix(solid-query): use QueryClient from query-core (#8943)"

This reverts commit 8f84606235.

* deprecate create types

* add proper deprecation

* add solid reference

* add solid guides

* request waterfall and advanced ssr

* client-state

* ci: apply automated fixes

* ci: apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-03 23:54:40 +02:00
Tanner Linsley
477faeac7a release: v5.71.8 v5.71.8 2025-04-03 16:29:27 +00:00
Birk Skyum
4e45d7c9a1
fix(solid-query): keep solid-query on just createQuery syntax (#8947) 2025-04-03 18:26:41 +02:00
renovate[bot]
8f03e59620
chore(deps): update dependency next to v15.2.3 [security] (#8844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-03 18:18:58 +11:00
Tanner Linsley
6682bb1489 release: v5.71.7 v5.71.7 2025-04-02 21:35:41 +00:00
Birk Skyum
8f84606235
fix(solid-query): use QueryClient from query-core (#8943)
* fix(solid-query): use QueryClient from query-core

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-02 23:33:36 +02:00
Birk Skyum
509dbd532b
chore(solid-query): update docs (#8942) 2025-04-02 21:29:11 +02:00
Birk Skyum
5f9eaef182
chore(solid-query): update examples, integration, docs (#8941)
* chore(solid-query): update examples/intergration

* update docs
2025-04-02 21:20:18 +02:00
Tanner Linsley
3294054006 release: v5.71.6 v5.71.6 2025-04-02 19:10:38 +00:00
Birk Skyum
2770a9147c
fix(solid-query): add compat types (#8940)
* fix(solid-query): add compat types

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-04-02 21:08:20 +02:00
Birk Skyum
5d6649ad8f
chore(solid-query): add readme (#8939) 2025-04-02 20:41:07 +02:00
Tanner Linsley
0972942783 release: v5.71.5 v5.71.5 2025-04-02 18:39:12 +00:00
Birk Skyum
1202ba0bec
fix(solid-query): add useQuery, useInfiniteQuery, useQueries, useMutation as alternative syntax to align with react and ease maintenance (#8938) 2025-04-02 20:36:54 +02:00
renovate[bot]
8b1eff18cf
chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#8602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 15:51:00 +02:00
Tanner Linsley
3ae06e5f2b release: v5.71.4 v5.71.4 2025-04-02 13:33:16 +00:00
Braden Wong
eebc9a366d
refactor: replace Accessor<T> wth FunctionedParams<T> (#8535) 2025-04-02 15:29:30 +02:00
Tanner Linsley
64368bf41b release: v5.71.3 v5.71.3 2025-04-02 09:47:46 +00:00
Birk Skyum
8e27629db7
update devDeps to vite 6 (#8896) 2025-04-02 11:45:58 +02:00
MINSEONG KIM
e73d5b419e
fix(query-core): Rename defaultshouldRedactErrors to defaultShouldRedactErrors (#8933)
* fix(query-core): fix function name to correct camel case

* Update packages/query-core/src/hydration.ts

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-04-02 09:40:55 +02:00
TkDodo
24dd7c7783 chore: allow Preview Bundle Size to fail 2025-04-02 09:03:39 +02:00
MINSEONG KIM
7cb634b6b3
docs: typo (#8932) 2025-04-02 08:46:03 +02:00
Sebastián Ramírez
bab91651fb
docs: ✏️ Fix typo in docs/framework/react/overview.md, "React Query" to "TanStack Query" (#8934) 2025-04-02 08:45:29 +02:00
Birk Skyum
4a3c2fcff3
add workspace packages to pnpm overrides (#8930)
* add workspace packages to pnpm overrides

* sort
2025-04-01 23:46:39 +02:00
Birk Skyum
96a8c1d3e7
update rooks in react-router example (#8929) 2025-04-01 17:32:10 +02:00
MINSEONG KIM
67ab070021
test(query-core): resolve ESLint typescript-eslint/require-await warnings (#8900)
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-04-01 17:25:25 +02:00
MINSEONG KIM
069cf070ca
test(query-core) resolve ESLint typescript-eslint/require-await warnings for devtools.test.tsx (#8917) 2025-04-01 17:23:13 +02:00
MINSEONG KIM
12762a3919
test(query-persist-client-core): resolve ESLint typescript-eslint/require-await warnings for createPersister.test.tsx (#8915) 2025-04-01 17:22:43 +02:00
MINSEONG KIM
15ebad80ba
test(query-persist-client-core): resolve ESLint typescript-eslint/require-await warnings for persist.test.tsx (#8914) 2025-04-01 17:22:17 +02:00
MINSEONG KIM
b1a2fef8d9
test(react-query-devtools): resolve ESLint typescript-eslint/require-await warnings (#8912) 2025-04-01 17:20:45 +02:00
MINSEONG KIM
4be57404c5
test(react-query): resolve ESLint typescript-eslint/require-await warnings (#8908) 2025-04-01 17:20:00 +02:00
MINSEONG KIM
78c8a0c870
test(react-query): resolve ESLint typescript-eslint/require-await warnings (#8907) 2025-04-01 17:19:45 +02:00
MINSEONG KIM
815ff24b99
test(react-query): resolve ESLint typescript-eslint/require-await warnings (#8905) 2025-04-01 17:19:26 +02:00