github TanStack/router @tanstack/vue-start@1.169.0

latest releases: release-2026-10-12-2358, @tanstack/start-static-server-functions@1.167.42, @tanstack/vue-start-client@1.167.43...
3 hours ago

Minor Changes

Patch Changes

  • #8694 550f478 - Remove the deprecated .inputValidator() from createServerFn and createMiddleware. Use .validator(), which takes the same validator.

  • #7588 94d6d8e - Keep streaming a page when request middleware returns a response that reads the page body, such as a copy made through a wrapped global Response, a copy in Bun, or a body piped through a transform. Start now disposes a replaced page stream only when nothing reads it. transferResponseBodyOwnership is removed: return the derived response directly.

  • #7588 94d6d8e - Remove the built-in useSession API. Applications choose a session library, such as iron-session, and save or destroy sessions explicitly before returning or redirecting. Connect a cookie adapter through getCookie and setCookie, or append serialized cookies with appendResponseHeader('set-cookie', cookie). Existing session cookies require a deliberate migration or signing in again with a new cookie name.

    createServerEntry keeps the complete callback, including custom error handling, inside the request context and converts errors that escape it. The built-in entry still converts errors automatically. Raw createStartHandler handlers now rethrow the original error. For custom reporting, catch inside createServerEntry, then rethrow for default conversion or return handleStartError(error) to preserve response-helper status, headers, and cookies. Return an explicit Response when choosing a custom error payload.

    Response helpers now apply consistently across server routes, SSR, server functions, redirects, errors, and middleware response replacements. Helper setters override returned values; cookie helpers preserve independent cookies and replace matching cookie identities. Use appendResponseHeader('set-cookie', cookie) when adding a serialized cookie without replacing other cookies. Changed responses receive copied headers and reuse the body stream, so applications should inspect the response returned by Start rather than relying on mutation of the original response.

  • #8696 f243c61 - Require Vite 8 for Vite builds. Vite 7 is no longer supported.

  • Updated dependencies [94d6d8e, 550f478, 94d6d8e, f3d7ee3, 4104b8e, 94d6d8e, 94d6d8e, 94d6d8e, f243c61, 19524cc]:

    • @tanstack/start-server-core@1.169.41
    • @tanstack/start-client-core@1.170.36
    • @tanstack/start-plugin-core@1.171.51
    • @tanstack/vue-start-server@1.167.46
    • @tanstack/vue-router@1.170.39
    • @tanstack/vue-start-client@1.167.42

Don't miss a new router release

NewReleases is sending notifications on new releases.