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

13 commits

Author SHA1 Message Date
Ciarán Curley
833062c2fc
chore: replace prettier with oxfmt (#11939)
Replace prettier with oxfmt

The options and ignores have been ported to the `.oxfmtrc.json` file (oxfmt `printWidth` default is 100 characters, so preserving 80 for now). While the configuration with Prettier is the same, oxfmt seems to modify some things slightly differently, apparently due to the use of a pre-3.9 Prettier layout for union types that break onto their own line so we still end up with about 30 files changed. 

Files with actual changes are:

- `.prettierignore`.`prettier.config.js`: Deleted. Replaced with `.oxfmtrc.json`
- `package.json`: `format` script changed to `oxfmt`. Added `oxfmt` and `svelte` as `devDependencies`; removed `prettier` and `prettier-plugin-svelte`.
- `pnpm-lock.yaml`: Lockfile update for the dependency changes above.
- `scripts/generate-labeler-config.ts`: Formats with oxfmt's `format()` API instead of Prettier's. It reads `.oxfmtrc.json` itself, because the API doesn't find config files on its own, and throws if formatting reports errors. Its output is identical to what Prettier produced.


Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 16:47:26 +01:00
Wonsuk Choi
03786fbb93
docs(solid-query): add missing JSDoc to solid-query and solid-query-devtools (#11841) 2026-10-04 04:12:48 +09:00
Lachlan Collins
6ebffacbe7
fix(solid-query): useBaseQuery SSR cleanup (#11628)
* fix(solid-query): useBaseQuery SSR cleanup

* Add changeset
2026-09-26 06:18:00 +10:00
Lachlan Collins
57f40eb05b
chore(deps): update non-major dependencies (#11625)
* chore(deps): update non-major dependencies

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-25 15:15:46 +10:00
Dominik Dorfmeister 🔮
1ef42087c9
ref: remove experimental_prefetchInRender (#11221) 2026-08-20 11:32:10 +02:00
palkim
47d49d31aa
fix(solid-query): resolve query client outside memos (#10571)
* fix(solid-query): resolve query client outside memos

* fix(solid-query): resubscribe client counters

* test(solid-query): assert client subscription cleanup

---------

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
2026-08-18 09:22:07 +02:00
Brenley Dueck
d537d2bab1
fix(solid-query): ignore error if data undefined so can redirect (#9841) 2025-11-03 15:21:09 +01:00
Birk Skyum
6ebee2ea44
fix(solid-query): enable experimental_prefetchInRender by default for… (#9822)
* fix(solid-query): enable experimental_prefetchInRender by default for solid on server

* Update solid-query to enable experimental prefetch

Enable experimental_prefetchInRender by default for @tanstack/solid-query.

---------

Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
2025-11-01 15:36:32 +01:00
novice0840
295a5d586f
refactor: integration should throw error (#9130)
* feat(query-core): made "shouldThrowError" function

* refactor(react-query): apply "shouldThrowError" function in react-query package

* refactor(angular-query-experimental): apply "shouldThrowError" function

* refactor(solid-query): apply "shouldThrowError" function

* refactor(vue-query): apply "shouldThrowError" function

* test: add shouldThrowError function test
2025-05-09 11:26:54 +02: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
Birk Skyum
4e45d7c9a1
fix(solid-query): keep solid-query on just createQuery syntax (#8947) 2025-04-03 18:26:41 +02: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
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
Renamed from packages/solid-query/src/createBaseQuery.ts (Browse further)