Skip to content

tanstack-fetch 1.7.0: doctor CLI + Solid, Angular, Svelte adapters ​

October 9, 2026

tanstack-fetch 1.7.0

createFetch was always framework-agnostic. 1.7.0 ships real adapters for Solid, Angular, and Svelte — plus a health-check CLI and a docs Framework picker.

Upgrade ​

bash
npm install tanstack-fetch@1.7.0

New adapters ​

ImportAPI
tanstack-fetch/solidFetchProvider, useFetch, useSse
tanstack-fetch/sveltesetFetchClient, useFetch, useSse
tanstack-fetch/angularprovideFetchClient, injectFetch, useSse (signals)

Same SSE status model as React/Vue: connecting | connected | disconnected | error. Guides: Solid · Angular · Svelte.

Doctor ​

bash
npx tanstack-fetch doctor --dir ./src
# alias
npx tanstack-fetch --doctor --dir ./src

Checks package.json (tanstack-fetch, legacy axios/ky/ofetch, detected frameworks), counts createFetch call sites, flags leftover legacy imports, and warns when a queryFn looks like it skips AbortSignal.

New migrate frameworks ​

bash
npx tanstack-fetch migrate --from axios --framework solid --write
npx tanstack-fetch migrate --from axios --framework angular --write
npx tanstack-fetch migrate --from fetch --framework svelte --write
npx tanstack-fetch migrate --from fetch --framework sveltekit --write
FrameworkQuery adapterNotes
solid@tanstack/solid-queryapi.ts + query options
angular@tanstack/angular-query-experimentalsrc/app/api.ts
svelte@tanstack/svelte-querysrc/lib/api.ts
sveltekit@tanstack/svelte-query+ api.server.ts with ssr-forward

Docs Framework picker ​

In the site header, choose a stack (default All). Multi-framework pages (SSE, tRPC, examples) hide sections that do not match. Preference is stored in localStorage.

Try it ​

bash
npx tanstack-fetch doctor --dir ./src
npx tanstack-fetch migrate --from all --framework solid --write

See also: Migrate · SSE · Changelog

MIT Licensed · Created by Mohammad Garmabi · Not an official TanStack package