Minor Changes
- #8696
f243c61- TanStack Start is stable. To upgrade from a release candidate, follow Migrate from the Release Candidate.
Patch Changes
-
#8694
550f478- Remove the deprecated.inputValidator()fromcreateServerFnandcreateMiddleware. 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 globalResponse, a copy in Bun, or a body piped through a transform. Start now disposes a replaced page stream only when nothing reads it.transferResponseBodyOwnershipis removed: return the derived response directly. -
#7588
94d6d8e- Remove the built-inuseSessionAPI. Applications choose a session library, such as iron-session, and save or destroy sessions explicitly before returning or redirecting. Connect a cookie adapter throughgetCookieandsetCookie, or append serialized cookies withappendResponseHeader('set-cookie', cookie). Existing session cookies require a deliberate migration or signing in again with a new cookie name.createServerEntrykeeps 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. RawcreateStartHandlerhandlers now rethrow the original error. For custom reporting, catch insidecreateServerEntry, then rethrow for default conversion or returnhandleStartError(error)to preserve response-helper status, headers, and cookies. Return an explicitResponsewhen 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/solid-start-server@1.167.46
- @tanstack/solid-router@1.170.40
- @tanstack/solid-start-client@1.168.39