unstale

npm / @tanstack/react-start

@tanstack/react-start

What changed in @tanstack/react-start 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

8 breaking2 security1 deprecations2 new APIs and options1 performance1 behavior and defaults2 tooling9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.4 on npm

@tanstack/react-start 126 changes

Breaking changes 8

  • The deprecated .inputValidator() is removed; use .validator() with the same validator.

    1.169.0release notes

  • The deprecated .inputValidator() is removed; use .validator() with the same validator.

    1.169.0release notes

  • Raw handlers now rethrow the original error; custom reporting can catch inside createServerEntry and rethrow or return handleStartError(error).

    1.169.0release notes

  • Changed responses receive copied headers and reuse the body stream, so inspect the response returned by Start rather than relying on mutation of the original.

    1.169.0release notes

  • This API is removed; return the derived response directly.

    1.169.0release notes

  • The built-in session API is removed. Choose a session library and explicitly save or destroy sessions; existing session cookies require deliberate migration or signing in again with a new cookie name.

    1.169.0release notes

  • Vite builds now require Vite 8; Vite 7 is no longer supported.

    1.169.0release notes

  • The script callback context exposes only kind: 'script' and url; script format handling is internal to manifest rendering.

    1.168.11release notes

Security 2

  • TanStack Router: Unauthenticated reflected XSS in TanStack Start server-function responses

    1.168.56security advisory

  • Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys

    1.168.7security advisory

Deprecations 1

  • Deprecates inputValidator() and emits compiler warnings for remaining uses.

    1.168.25release notes

New APIs and options 2

  • Adds validator() as the canonical server function and middleware validator method.

    1.168.25release notes

  • Adds RSC support for Rsbuild.

    1.168.18release notes

Performance 1

  • Re-exported from framework client Hydrate-only subpaths so root package imports avoid pulling in the client hydration entry.

    1.168.14release notes

Behavior and default changes 1

  • TanStack Start is stable; release-candidate users should follow the migration guide to upgrade.

    1.169.0release notes

Tooling 2

  • TanStack Start now supports Vite's bundled dev mode, using the bundled dev client entry, pointing server requests at the latest client build output, and preserving import protection.

    1.168.12release notes

  • Client output supports module format by default and IIFE format for classic script environments.

    1.168.11release notes

Fixes and other changes 9

  • The complete callback, including custom error handling, runs inside the request context, and errors that escape it are converted.

    1.169.0release notes

  • Start keeps streaming a page when request middleware returns a response that reads the page body, disposing of a replaced stream only when nothing reads it.

    1.169.0release notes

  • Helpers apply consistently across routes, SSR, server functions, redirects, errors, and middleware replacements; setters override returned values, and cookie helpers preserve independent cookies while replacing matching identities.

    1.169.0release notes

  • Primitive values thrown from beforeLoad error handling are now preserved.

    1.168.17release notes

  • Matching TanStack Start dev server packages prevent fresh installs from pairing a plugin and server runtime with incompatible injected head script imports.

    1.168.13release notes

  • Vite and Rsbuild resolve the adapter module through the package empty-adapter fallback when no serialization adapters are configured; Vite dev also uses clean runtime-specific virtual module IDs to avoid reverse proxy failures.

    1.168.13release notes

  • Script asset cross-origin configuration now uses the script key.

    1.168.11release notes

  • Restoring modules from Rspack's persistent cache no longer loses server function registrations on warm restarts.

    1.168.11release notes

  • Explicitly re-exports public API names from @tanstack/start-client-core at link time, so their getters are available before import bodies run and avoid a partial facade during cold-start SSR.

    1.168.10release notes