NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2367 most downloaded on npm
Modern and scalable routing for React applications
Latest stable
1.171.56
Last release 14 days ago
08 Nov 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
645 releases · first in 2025
Drag across the ruler to compare, or tap a release to open it.
Generator plugins given as router.plugins run (#7768). Start's own generator plugins used to replace them.
#8863 01fab5a - The Rsbuild plugin keeps the app's server.compress setting instead of always setting it to false. Compression stays off by default: a compressed streamed page reaches the browser only once the stream ends. The optional @rsbuild/core peer is now ^2.0.5, the first version whose compression keeps SSR response headers intact.
#8805 c5320d7 - With spa.enabled, the Rsbuild dev server answers the SPA shell, as Vite's dev server does, instead of rendering the route and running its loaders on the server.
#8871 545a8d3 - Require exsolve ^1.1.3: a failed lookup that exsolve caches no longer keeps its callers alive, so Start's cached failed lookups no longer hold on to each build's objects. Entry lookups bypass exsolve's process-wide cache, so a dev server restart finds an entry file (such as src/start.ts) created since.
#8861 da8c28c - Start's router options now reach the route generator and the code splitter as they do in a router app:
router.plugins run (#7768). Start's own generator plugins used to replace them.router.routeTreeFileFooter is called at every print of the route tree. Start's Vite plugin used to print its first result for the whole dev server.router.codeSplittingOptions.deleteNodes for the server build. It used to drop the option there.+, the client used to get the full route tree, server-only routes included; a file whose name differed from the route tree's by one character (routeTree-gen.ts) was replaced by the client route tree.Updated dependencies [1ba19a0, 94f36c4, 446ce1b, ad5b3b7, 533ca27, 13b6256, b5e2ac9, d250819, f420d4a, ff157f0]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated dependencies \[`32a3360`, `647cb73`]:
#8748 ed55775 - Skip the Rsbuild import-protection loader and its plugins when import protection is disabled, so modules no longer pass through the loader.
#8750 63a886d - Skip the server function resolver rebuild in Rsbuild dev when the resolver has not changed, so most edits no longer rebuild the whole server chunk graph.
#8758 d9b07e8 - Stop resolving top-level calls such as z.object() whose receiver is not a namespace import. They can never be a createServerOnlyFn or createClientOnlyFn call, and resolving them made the dev compiler load and parse the receiver's module (all of zod, for example).
Updated dependencies [32a3360, 647cb73]:
Updated dependencies \[`18154b1`]:
18154b1]:
Updated dependencies \[`71d9694`, `923d98b`]:
Updated dependencies \[`740b0ce`, `d6ba115`]:
Updated dependencies \[`57bd1a9`, `94d6d8e`, `94d6d8e`, `e66da18`, `94d6d8e`, `94d6d8e`, `94d6d8e`, `94d6d8e`]:
#8694 550f478 - Remove the deprecated .inputValidator() from createServerFn and createMiddleware. Use .validator(), which takes the same validator.
#8692 f3d7ee3 - Image and news sitemap entries are now emitted in their declared XML namespaces, so sitemaps with images or news are valid XML.
#8695 4104b8e - Walk the static import graph when building route preloads so Rolldown and Rsbuild builds preload every dependency chunk, and derive Rsbuild chunk imports from the module graph so shared chunks no longer attach unrelated route CSS to the SSR response.
#8696 f243c61 - Require Vite 8 for Vite builds. Vite 7 is no longer supported.
#8691 19524cc - Publish only validated public page fields in pages.json and sitemap.xml so prerender headers and other private page data, including extra data returned by prerender.onSuccess, stay private. Invalid sitemap metadata returned by prerender.onSuccess now fails the build instead of being written to sitemap.xml without validation.
Updated dependencies [57bd1a9, 94d6d8e, 94d6d8e, e66da18, 94d6d8e, 94d6d8e, 94d6d8e, 94d6d8e]:
Support newer Vite bundled dev versions by loading their separate client runtime before hydration and awaiting the client build through the updated en
#7830 4191640 - Fix dev SSR style collection to preserve CSS order without duplicating imported styles, while retaining styles from code-split routes. Keep layered imports from inline styles out of the global dev stylesheet. In bundled development, collect styles from a complete client bundle and load compiler dependencies through the bundler to avoid restarting client plugins. Preserve client hydration and reload SSR modules on file changes instead of clearing them on every request.
Support newer Vite bundled dev versions by loading their separate client runtime before hydration and awaiting the client build through the updated environment API.
Updated dependencies [dfe3dea, efc2042, efc2042, dfe3dea, 663282b]:
Updated dependencies \[`d521abd`]:
#8127 41ebd28 - fix: use http scheme for sitemap xmlns per sitemaps.org spec
#8533 05223c2 - Defer sitemap and XML dependencies until sitemap generation is enabled to reduce Start plugin startup work.
Updated dependencies [d521abd]:
Updated dependencies \[`488d046`, `e81845f`, `0c1b5e3`, `3cdd1af`]:
#8297 488d046 - Update seroval and seroval-plugins from 1.6.2 to 1.6.7. This picks up the typed array length guard, the maxBase64Length and compactArrayBufferViews options, and the isStream export.
Updated dependencies [488d046, e81845f, 0c1b5e3, 3cdd1af]:
### Patch Changes - #8202 `222300b` - Fix the Rsbuild Start manifest dropping every route's stylesheets and preloads on Windows by normalizing rspack
Updated dependencies \[`cecae54`, `0103578`, `ce10dcd`, `84936cc`, `bbd2336`]:
Updated dependencies \[`bc80866`, `e561fa1`, `cbbfbe3`, `a1c8d1a`, `cbbfbe3`, `a0b2ad9`, `1ca361b`]:
#8204 cbbfbe3 - Reduce per-request SSR overhead: abort settled route matches with one shared AbortError-shaped reason instead of building a stack-capturing DOMException per match, skip JSON.parse for search values that cannot start JSON, wait on request signals with one listener per wait, and keep resolved server-function modules in production builds instead of re-importing them on every call.
Updated dependencies [bc80866, e561fa1, cbbfbe3, a1c8d1a, cbbfbe3, a0b2ad9, 1ca361b]:
### Patch Changes - #8397 `ab99818` - Support Rsbuild 2.2: preserve function-based Rspack watch exclusions and regular-expression flags when adding mo
Updated dependencies [ d76a332 , b747fb8 , 6cfb1e8 , 700a714 , 700a714 , 7e349c3 , 873c830 , 7e349c3 , 634da91 , e9396c9 , 634da91 , f151ab0 , bc57fa3
d76a332, b747fb8, 6cfb1e8, 700a714, 700a714, 7e349c3, 873c830, 7e349c3, 634da91, e9396c9, 634da91, f151ab0, bc57fa3, 9872d2a, d76a332, 634da91, 634da91, 7e349c3, 9448caa, e9396c9, 700a714, 634da91, 634da91]:
Updated dependencies [ d914b08 ]:
d914b08]:
Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirect
#8300 49bcd4d - Refresh compatible build and runtime dependencies.
#8308 9c1871c - Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.
Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.
Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.
Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.
Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.
#8261 919c397 - Avoid unused build indexes and skip CSS content capture when inline CSS is disabled in Vite and Rsbuild.
Updated dependencies [f9836f1, 49bcd4d, 9c1871c, 9871c06, 0654c0a]:
Updated dependencies [ edf0e16 , 2f20c00 , 28a5e45 , 08eff50 , 216c0c4 , 2f91503 , f0b5eda , 50eafca , 0497cae , ee28348 , c18e690 ]:
#8164 37877da - Improve Rsbuild import protection performance by scanning the compilation graph once and deferring diagnostic work until a violation is found.
#8251 0497cae - Use URL.canParse for absolute URL checks in links, navigation, redirects, and build configuration. Preserve a URL constructor fallback for older browsers.
Updated dependencies [edf0e16, 2f20c00, 28a5e45, 08eff50, 216c0c4, 2f91503, f0b5eda, 50eafca, 0497cae, ee28348, c18e690]:
Updated dependencies [ fa65287 , cb281d7 ]:
#8135 a0041bb - Migrate the Rsbuild client chunk configuration to the v2 splitChunks option while preserving async-only chunk splitting.
Updated dependencies [fa65287, cb281d7]:
### Patch Changes - #8212 `18154b1` - Render generated script preloads (modulepreload, or preload as="script" for IIFE output) with fetchPriority="low
3e016ac]:
### Patch Changes - #8441 `d6ba115` - Reuse the parsed request location during SSR instead of repeating input rewrites. Match server routes against th
Updated dependencies \[`4c89b15`, `cf6ab17`, `bdaf73a`]:
Updated dependencies \[`31882c7`]:
31882c7]:
#8605 dfe3dea - Drop a duplicated current-location flag and a redundant createHref wrapper.
#8602 efc2042 - Links of a route that the pending navigation leaves skip deriving the destination location, and clicks and preloads follow the href a Link displays. buildLocation now builds mask and routeMasks locations from the same _fromLocation as the destination.
#8602 efc2042 - Fixed Link destinations that resolve to a route mask are now reused across navigations instead of being rebuilt every time. A mounted Link now follows changes to its href and reloadDocument props, and React Links no longer each subscribe to a hydration flag.
#8605 dfe3dea - Use slice instead of substring where the bounds are always ordered and non-negative.
#7654 663282b - Encode slashes in dehydrated SSR match IDs with # instead of a null byte, so the inlined hydration payload no longer contains U+0000 (which is invalid in HTML and rejected by markup validators)
Updated dependencies [dfe3dea, dfe3dea, dfe3dea, efc2042, dfe3dea]:
Updated dependencies \[`7e93431`]:
7e93431]:
Updated dependencies \[`51138a8`]:
51138a8]:
#8297 488d046 - Update seroval and seroval-plugins from 1.6.2 to 1.6.7. This picks up the typed array length guard, the maxBase64Length and compactArrayBufferViews options, and the isStream export.
#8460 0c1b5e3 - Abort reserved loader generations with no remaining owners when invalidation removes them from discovery, ensuring their public abort signals are retired.
#8519 3cdd1af - Hand native scroll restoration back to the browser on pagehide, including entries entering BFCache, and reclaim manual restoration when a cached document resumes.
Updated dependencies \[`44a8c3e`, `5253e70`]:
#8363 cecae54 - Detect plain objects by constructor instead of Object.prototype.toString dispatches in isPlainObject, which gates every deepEqual and replaceEqualDeep recursion step. Object literals, JSON.parse output and null-prototype objects are still plain; objects from another realm no longer are. Records with an own constructor key (for example the search params of ?constructor=foo) fall back to a prototype check, so they keep structural sharing while class instances stay opaque.
#8364 0103578 - Compare and copy plain objects in replaceEqualDeep by their string keys only, skipping the symbol-key lookup that dominated key enumeration. Objects with non-enumerable own properties, or symbol keys on the incoming value, now pass through untouched instead of being structurally shared.
#8411 ce10dcd - Reduce structural-sharing allocations by reusing array key storage and returning incoming objects when their children need no replacements. Preserve signed zero consistently, remove stale symbol properties, and keep sparse arrays with extra keys and built-ins with an own constructor opaque.
Null-prototype mode now applies only when constructing a copy; existing incoming objects can be reused with their original prototype.
#8362 84936cc - Allocate the replaceEqualDeep result only at the first difference, so structural sharing of search, params, state and loader data no longer allocates when the new value is deeply equal to the previous one.
#8389 bbd2336 - Split replaceEqualDeep into an equality scan and a copy phase: arrays and objects are scanned by dedicated loops up to the first difference, matching keys prove ownership without a hasOwnProperty lookup, and once a difference is found the result is built without any further equality bookkeeping. Deeply equal search, params, state and loader data are recognised faster and changed values are copied with less work per entry.
@tanstack/start-server-core@1.169.23
#8417 bc80866 - Speed up deepEqual: identical array elements no longer recurse, the exact comparison keeps a single key counter, and the redundant typeof early exit is gone. Equal numeric arrays compare ~70% faster and record comparisons 5–12% faster in the mixed-mode workloads that Link option stabilization and active-state checks produce, with a slightly smaller bundle. Behavior, including key enumeration and getter read order, is unchanged.
#8418 e561fa1 - deepEqual now takes its flags as positional arguments — deepEqual(a, b, partial?, explicitUndefined?) — instead of an options object. The router's hot callers (Link option stabilization and active-state checks, matchRoute) no longer allocate an options object per comparison, and the comparator reads two booleans instead of a polymorphic object. explicitUndefined replaces ignoreUndefined: false. deepEqual is an internal helper; it stays exported for compatibility of two-argument calls.
#8204 cbbfbe3 - Reduce per-request SSR overhead: abort settled route matches with one shared AbortError-shaped reason instead of building a stack-capturing DOMException per match, skip JSON.parse for search values that cannot start JSON, wait on request signals with one listener per wait, and keep resolved server-function modules in production builds instead of re-importing them on every call.
#8419 a1c8d1a - resolvePath (internal helper) now takes positional arguments — resolvePath(base, to, trailingSlash?, cache?) — so buildLocation and matchRoute no longer allocate an options object per path resolution.
#8204 cbbfbe3 - Stream large deferred SSR hydration payloads through a backpressure-aware router transport, fail known setup errors before response creation, and close cancelled or expired transforms safely.
Start now cancels discarded middleware and HEAD response bodies, including plain streams and derived branches.
Server-function raw streams share one ordered response. Arbitrary or sequential consumption can require potentially unbounded buffering of unread data on the client. Cancelling one raw stream discards it locally, while aborting the whole call cancels the response and server work. Consume streams concurrently, cancel unused streams promptly, or use separate calls when independent backpressure is required. A raw stream that exceeds its unread-byte limit now fails alone; sibling streams and the JSON result keep flowing.
The JSON wire shape of a RawStream server-function argument changed. Clients and servers must run matching versions for requests that pass a RawStream.
The frame-protocol constants (FRAME_TYPE_*, MAX_FRAME_PAYLOAD_SIZE, MAX_FRAMED_STREAMS) moved from the @tanstack/start-client-core root to the @tanstack/start-client-core/client-rpc subpath.
Router requests whose Accept header allows neither text/html nor */* now receive 406 Not Acceptable instead of 500.
Framework adapters share the body <Scripts> composition (getSsrBodyScriptParts, composeSsrBodyScripts) and the eager HTML response wrapper (renderSsrHtmlResponse) from @tanstack/router-core.
Solid SSR now emits one document type and renders late lazy errors through route boundaries. A Solid <Await> without a fallback no longer holds the streamed shell; it renders inside the nearest <Suspense> boundary like React and Vue, and now renders falsy resolved values.
Static server functions decode cached RawStream values with the client deserializer plugins.
SSR Query integrations now keep request cleanup and stream ownership aligned with the router lifecycle.
#8422 a0b2ad9 - Parse the location once when router.update() changes the basepath or rewrite, collect invalidate() match ids in a single pass, and specialize internal basepath composition without arrays or loops. Preserve basepath case sensitivity when creating and updating the router.
Rebuild server route trees when caseSensitive changes and reuse the server cache only when the route tree and case sensitivity both match.
#8421 1ca361b - Parse masked locations without mutating shared state and simplify input rewrite handling.
Updated dependencies \[`ea3a665`]:
ea3a665]:
Updated dependencies \[`84db4a8`, `9cac62a`, `6aefb33`]:
Updated dependencies \[`b2908c6`]:
Updated dependencies \[`45c4ad8`]:
45c4ad8]:
### Patch Changes - #8117 `3e016ac` - optimize buildLocation path resolution skip building search validation when disabled skip location state sharing
3e016ac - optimize buildLocation path resolution https://github.com/TanStack/router/pull/8108
skip building search validation when disabled https://github.com/TanStack/router/pull/8112
skip location state sharing when impossible https://github.com/TanStack/router/pull/8110
fix cache hits for mask resolution when entry is null https://github.com/TanStack/router/pull/8111### Patch Changes - #8084 `5d3785d` - preserve pending UI across retained routes - #8092 `63d2cc9` - Render route errors when redirect target construc
Nothing published for this version
### Patch Changes - #8071 `4c89b15` - inline getOpenAndCloseBraces in parseSegment for byte shaving - #8069 `cf6ab17` - inline isFunction utility fn f
49f6863]:
### Patch Changes - #8054 `31882c7` - Reuse resolved lazy route components when revisiting code-split routes, preventing unnecessary pending UI.
ffdd64e - Preserve exact Vite-resolved module IDs, including virtual prefixes and query variants, when the Start compiler recursively loads imports. Clean IDs only for file-oriented diagnostics and invalidation, and preserve existing query strings when adding compiler-owned lookup flags, so virtual modules such as import-protection mocks reach their plugin load hooks unchanged.### Patch Changes - #8039 `7e93431` - load-client can cache settles abandonned loader work without preload authority
78dd1a6]:
### Patch Changes - #8019 `51138a8` - handle excessive parent relative links
e56a677]:
### Patch Changes - #8006 `44a8c3e` - skip impossible JSON parse attempts - #8010 `5253e70` - perf: speed up structural sharing (replaceEqualDeep) by
#8010 5253e70 - perf: speed up structural sharing (replaceEqualDeep) by computing enumerable own keys with Object.keys + a length compare instead of getOwnPropertyNames followed by a propertyIsEnumerable call per key. This runs on every selector result on every state update when defaultStructuralSharing is enabled, and is ~1.3-1.5x faster on typical router state objects with identical behavior.
e2dd204]:
### Patch Changes - #7992 `ea3a665` - retain mounted UI during revalidation
9809a06]:
RouterCore.getMatchedRoutes() now returns [matchedRoutes, rawParams, foundRoute] instead of an object.
#7984 84db4a8 - Improve route-tree construction and matching performance by fusing static and
dynamic node creation, sorting only dynamic sibling lists that need it, and
deriving matcher depth from trie nodes.
#7985 9cac62a - perf: compact private bundle boundaries- #7975
#7967 6aefb33 - Preserve path params in their raw string form while matching routes so structured values returned by params.parse produce stable match IDs and do not reuse stale loader data.
RouterCore.getMatchedRoutes() now returns [matchedRoutes, rawParams, foundRoute] instead of an object.
Updated dependencies [9cac62a]:
### Patch Changes - #7962 `b2908c6` - Update Seroval dependencies to version 1.6.2.
Invalidation now retires matching active preloads so older speculative loader results cannot become fresh cache data after invalidation.
#7805 45c4ad8 - Rewrite match loading around a lane-based scheduler that tracks each navigation, preload, and background reload as an ordered unit of work. This fixes pending/redirect/retry state leaking between overlapping navigations, restores correct SSR status codes for redirects, errors, and not-found responses, and closes hydration gaps where the client re-ran work the server had already completed.
headers() now only runs on the server, matching the documented behavior — it is no longer invoked during client-side asset projection.gcTime and preloadGcTime now match the existing runtime default of 5 minutes (300_000).Removed / changed exported internals
RouterState no longer includes loadedAt, isTransitioning, statusCode, or redirect. Use match.updatedAt in place of loadedAt; subscribe to router.state.status / router.state.isLoading in place of isTransitioning; server response status and redirect handling are now internal to the server loader and are no longer exposed on router.state.RouteMatch.fetchCount has been removed, with no replacement — it was purely informational.RouteMatch.status no longer includes 'redirected' (it remains 'pending' | 'success' | 'error' | 'notFound') — redirected matches are dropped from the match list instead of being rendered.RouteMatch.globalNotFound has been renamed and privatized to the internal _notFound field. Use match.status === 'notFound' instead.Match components now accept routeId instead of matchId.RouterStores adapter contract now uses route-keyed presentation stores: matchesId is replaced by ids, matchStores by byRoute, and getRouteMatchStore() by getMatchStore(). The separate loadedAt, isLoading, isTransitioning, statusCode, and redirect stores have been removed, along with the pending/cache stores and their setters. StoreConfig.init has also been removed. Read application-facing state from router.state; preload and cache coordination are now internal.RouterCore members getMatch(), updateMatch(), cancelMatch(), and cancelMatches() — read matches from router.state.matches (e.g. router.state.matches.find((m) => m.id === id)); there is no replacement for mutating or cancelling an individual in-flight match from outside the router.RouterCore.hasNotFoundMatch() — use router.state.matches.some((m) => m.status === 'notFound').RouterCore.looseRoutesById — use routesById.RouterCore.isPrerendering(), RouterCore.isViewTransitionTypesSupported, and RouterCore.viewTransitionPromise, with no replacement.RouterCore.getParsedLocationHref() and RouterCore.clearExpiredCache(), with no replacement — expired cache entries are now reconciled automatically as part of match commit.RouterCore.latestLoadPromise and RouterCore.beforeLoad(), with no replacement.RouterCore.commitLocationPromise and RouterCore.pendingBuiltLocation have been replaced by the internal _commitPromise and _pendingLocation fields.GetMatchFn and UpdateMatchFn types, along with the methods they typed.getMatchedRoutes() export from @tanstack/router-core — use the router.getMatchedRoutes() instance method instead.RouterCore.loadRouteChunk() no longer accepts an array of component types as its second argument. One-argument usage is unchanged; the optional second argument is now 'errorComponent', 'notFoundComponent', or false for internal boundary loading.Redirect.redirectHandled, which was internal redirect bookkeeping.MatchRoutesOpts.preload and MatchRoutesOpts.dest have been removed.StartTransitionFn is now (fn, expected) => Promise<boolean> (previously (fn) => void). This only affects custom framework adapters that implement startTransition.776d8ef]:
Updated dependencies [`df1076c`, `837897f`]:
Updated dependencies [`ac10815`]:
ac10815]:
Updated dependencies [`301f6ba`, `2cca73c`, `7a83e67`, `76b3d3b`]:
#7552 301f6ba - Fix Start compiler handling for TS-wrapped server/env-only function calls and safely remove unused imported server function handlers from client output.
Updated dependencies [301f6ba, 2cca73c, 7a83e67, 76b3d3b]:
### Patch Changes - #7540 `8091918` - Fix Rsbuild RSC builds so client directives in packages under node_modules are compiled and detected correctly.
Updated dependencies [`b4cd5af`]:
b4cd5af]:
Updated dependencies [`9cb7a00`]:
Updated dependencies [`2f53749`]:
2f53749]:
Updated dependencies [`d1997b6`]:
d1997b6]:
Updated dependencies [`9c09bca`]:
#7501 9c09bca - fix(start): emit client entry scripts from the root route manifest. When scriptFormat: 'iife' and the entry chunk has static-import siblings (e.g. an extracted runtime via optimization.runtimeChunk: 'single'), the manifest now includes those async siblings before the async client entry in root route scripts, fixing hydration for IIFE bundles with extracted runtimes.
Updated dependencies [9c09bca]:
Fix serialization adapter module resolution in TanStack Start. Vite dev now uses clean runtime-specific virtual module IDs instead of browser requests
Fix serialization adapter module resolution in TanStack Start. Vite dev now uses clean runtime-specific virtual module IDs instead of browser requests containing encoded null-byte virtual IDs, which avoids reverse proxy failures. When no serialization adapters are configured, Vite and Rsbuild now resolve #tanstack-start-plugin-adapters through the package empty-adapter fallback. (#7484)
Publish matching TanStack Start dev server packages so fresh installs do not pair a Start plugin that no longer provides tanstack-start-injected-head-scripts:v with an older Start server runtime that still imports it. (#7487)
Updated dependencies [a82cec6, d8be4f8]:
Add Vite bundled dev mode support for TanStack Start. Start now recognizes Vite's experimental.bundledDev opt-in, uses the bundled dev client entry in
experimental.bundledDev opt-in, uses the bundled dev client entry in the dev manifest, keeps server requests pointed at the latest client build output, and preserves import-protection behavior for bundled client dev. (#7482)Add support for Rsbuild client output formats, including module output by default and IIFE output for classic script environments.
Add support for Rsbuild client output formats, including module output by default and IIFE output for classic script environments. (#7477)
Client entry scripts and preloads are now represented as root route manifest assets, script preloads follow the manifest script format, and script asset cross-origin configuration uses the script key. The transformAssets script callback context now exposes only kind: 'script' and url, keeping script format handling internal to manifest rendering.
Fix Rsbuild server function metadata replay when Rspack restores modules from its persistent cache. (#7477)
Server function metadata is now stored on Rspack module build info and replayed from cached modules before resolver modules are rebuilt, preventing warm restarts from losing server function registrations.
Updated dependencies [51a97a1]:
Updated dependencies [`5268ba4`]:
5268ba4]:
Updated dependencies [`7df0d02`]:
7df0d02]:
Updated dependencies [`0300f87`, `0300f87`]:
Add deferred Hydrate boundary support for TanStack Start.
Add deferred Hydrate boundary support for TanStack Start. (#7362)
Hydrate boundaries can now be code-split by the Start compiler, preload their generated client chunks, preserve server-rendered fallback HTML, and replay interaction-triggered events after hydration. The compiler integration now uses a Start-owned compiler plugin for Hydrate virtual modules across Vite and Rsbuild, with dev invalidation for generated virtual modules.
Shared AST utilities used by the router code-splitter and Hydrate virtual modules were moved into @tanstack/router-utils so both pipelines can retain referenced top-level declarations, unwrap local exports, and let dead-code elimination remove unused route module code.
Updated dependencies [`b60eb36`]:
b60eb36]:
Updated dependencies [`8146db7`]:
8146db7]:
One column per month.