@tanstack/start-server-core
1.169.44 · 16 Oct 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Latest releases
All 427 releases1.169.44
16 Oct 2026Render generated script preloads (
modulepreload, orpreload as="script"for IIFE output) withfetchPriority="low"and forward it into static Early Hints, so they no longer compete with render-blocking stylesheets, fonts and images.
Patch Changes
Render generated script preloads (
modulepreload, orpreload as="script"for IIFE output) withfetchPriority="low"and forward it into static Early Hints, so they no longer compete with render-blocking stylesheets, fonts and images.
1.169.43
14 Oct 2026Update
fetchdtsto^0.2.0. The typed request and response header helpers keep the same header names and value types.
1.169.42
12 Oct 2026Skip request middleware bookkeeping when no request middleware is configured, and stop copying serialization adapters when the router adds none.
Server route handlers and route middleware now receive the router's decoded pathname, the same one used for route matching. Characters that would change how the path is read, such as
%2F,%3F, and%23, stay encoded.Reuse the parsed request location during SSR instead of repeating input rewrites. Match server routes against the app router's parsed pathname while preserving encoded pathnames for server handlers and middleware.
Patch Changes
Skip request middleware bookkeeping when no request middleware is configured, and stop copying serialization adapters when the router adds none.
Server route handlers and route middleware now receive the router's decoded pathname, the same one used for route matching. Characters that would change how the path is read, such as
%2F,%3F, and%23, stay encoded.Reuse the parsed request location during SSR instead of repeating input rewrites. Match server routes against the app router's parsed pathname while preserving encoded pathnames for server handlers and middleware.
1.169.41
12 Oct 2026- removed
Remove the built-in
useSessionAPI. 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. Return 400 Bad Request for malformed percent-encoded request pathnames before running server entry callbacks. Preserve valid encoded paths and query handling.
Reduce request middleware overhead, reuse loaded entries and transport header requirements, and avoid unnecessary URL normalization for server functions. Preserve response helper writes made during body cancellation and SSR cleanup.
Avoid allocating absent middleware headers and reply context, and construct RPC redirects with their final response state. Preserve middleware accessor evaluation and the documented undefined value for absent
sendContext.Reduce synchronous server-function response overhead while preserving cancellation cleanup and middleware response mutations.
Patch Changes
Return 400 Bad Request for malformed percent-encoded request pathnames before running server entry callbacks. Preserve valid encoded paths and query handling.
Reduce request middleware overhead, reuse loaded entries and transport header requirements, and avoid unnecessary URL normalization for server functions. Preserve response helper writes made during body cancellation and SSR cleanup.
Avoid allocating absent middleware headers and reply context, and construct RPC redirects with their final response state. Preserve middleware accessor evaluation and the documented undefined value for absent
sendContext.Reduce synchronous server-function response overhead while preserving cancellation cleanup and middleware response mutations.
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.transferResponseBodyOwnershipis removed: return the derived response directly.Let request middleware read the body of a
HEADresponse, and strip it when the response leaves the pipeline. Start no longer appliesContent-Encoding,Content-Length, or other framing headers set through response helpers to error bodies and serialized server-function replies that it builds itself. A response that middleware assigns toresult.responseis now disposed when the middleware returns another response.- removed
Remove the built-in
useSessionAPI. 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.
1.169.40
10 Oct 2026
Registry facts last checked 21 Oct 2026. Releases and advisories last read 21 Oct 2026.
Dependency tracking · free for 3 projects
Know when your own dependencies move
This page watches @tanstack/start-server-core. Inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.