0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

6,494 commits

Author SHA1 Message Date
github-actions[bot]
4fcbcde90d
ci: Version Packages (#8119) release-2026-08-19-1138 @tanstack/react-router@1.170.31 @tanstack/react-start-client@1.168.29 @tanstack/react-start-rsc@0.1.47 @tanstack/react-start-server@1.167.36 @tanstack/react-start@1.168.48 @tanstack/router-cli@1.167.32 @tanstack/router-core@1.171.26 @tanstack/router-generator@1.167.32 @tanstack/router-plugin@1.168.34 @tanstack/router-vite-plugin@1.167.34 @tanstack/solid-router@1.170.29 @tanstack/solid-start-client@1.168.28 @tanstack/solid-start-server@1.167.35 @tanstack/solid-start@1.168.46 @tanstack/start-client-core@1.170.26 @tanstack/start-plugin-core@1.171.38 @tanstack/start-server-core@1.169.30 @tanstack/start-static-server-functions@1.167.31 @tanstack/start-storage-context@1.167.28 @tanstack/vue-router@1.170.28 @tanstack/vue-start-client@1.167.31 @tanstack/vue-start-server@1.167.35 @tanstack/vue-start@1.168.45
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-19 13:22:14 +02:00
Flo
3e016ac84f
perf(router-core): buildLocation optimizations (#8117) 2026-08-19 11:28:52 +02:00
Flo
92749aba6e
perf(router-core): cache route mask misses (#8111)
* perf(router-core): cache route mask misses

* test(router-core): restore route mask cache spy
2026-08-19 11:24:35 +02:00
Flo
128757113e
perf(router-core): skip impossible state sharing (#8110)
* perf(router-core): skip impossible state sharing

* fix(router-core): preserve custom state handling

* perf(router-core): simplify state sharing guard

* perf(router-core): inline state property reads
2026-08-19 11:24:26 +02:00
Flo
a1c3674d3b
perf(router-core): skip disabled search validation (#8112)
* perf(router-core): skip disabled search validation

* test(router-core): cover validation middleware ordering

* test(router-core): assert search validation execution
2026-08-19 11:24:18 +02:00
Flo
6be202cde4
perf(router-core): optimize buildLocation path resolution (#8108)
* perf(router-core): optimize buildLocation path resolution

* perf(router-core): remove unreachable absolute path handling

* fix(router-core): normalize relative path bases

* perf(router-core): skip redundant relative path cleanup
2026-08-19 11:24:08 +02:00
github-actions[bot]
a78f2af5b4
ci: Version Packages (#8079) release-2026-08-18-1518 @tanstack/react-router@1.170.30 @tanstack/react-start-client@1.168.28 @tanstack/react-start-rsc@0.1.46 @tanstack/react-start-server@1.167.35 @tanstack/react-start@1.168.47 @tanstack/router-cli@1.167.31 @tanstack/router-core@1.171.25 @tanstack/router-generator@1.167.31 @tanstack/router-plugin@1.168.33 @tanstack/router-vite-plugin@1.167.33 @tanstack/solid-router@1.170.28 @tanstack/solid-start-client@1.168.27 @tanstack/solid-start-server@1.167.34 @tanstack/solid-start@1.168.45 @tanstack/start-client-core@1.170.25 @tanstack/start-plugin-core@1.171.37 @tanstack/start-server-core@1.169.29 @tanstack/start-static-server-functions@1.167.30 @tanstack/start-storage-context@1.167.27 @tanstack/vue-router@1.170.27 @tanstack/vue-start-client@1.167.30 @tanstack/vue-start-server@1.167.34 @tanstack/vue-start@1.168.44
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-18 17:12:28 +02:00
Flo
63d2cc9155
fix(router-core): remove navigation rollback (#8092)
* fix(router-core): remove navigation rollback

* test(react-start): update failed HMR refresh expectation
2026-08-18 14:09:37 +02:00
Flo
5d3785dcc3
fix(router-core): preserve pending UI across retained routes (#8084)
* fix(router-core): preserve pending UI across retained routes

* fix(router-core): harden pending session ownership

* fix(router): align pending presentation across Solid and Vue (#8097)

fix(router): align pending presentation across frameworks

* changesets

* test: align hydration fake timers
2026-08-18 14:09:36 +02:00
Flo
f97188fdb4
chore: localize package dependencies (#8078) 2026-08-15 13:42:24 +02:00
Flo
f75cada017
perf(react-router): direct export of CatchBoundary class component, remove function wrapper (#8068)
bundle(react-router): direct export of CatchBoundary class component, remove function wrapper
2026-08-15 08:52:06 +02:00
github-actions[bot]
11dfc93669
ci: Version Packages (#8075) release-2026-08-14-2214 @tanstack/react-router@1.170.29 @tanstack/react-start-client@1.168.27 @tanstack/react-start-rsc@0.1.45 @tanstack/react-start-server@1.167.34 @tanstack/react-start@1.168.46 @tanstack/router-cli@1.167.30 @tanstack/router-core@1.171.24 @tanstack/router-generator@1.167.30 @tanstack/router-plugin@1.168.32 @tanstack/router-vite-plugin@1.167.32 @tanstack/solid-router@1.170.27 @tanstack/solid-start-client@1.168.26 @tanstack/solid-start-server@1.167.33 @tanstack/solid-start@1.168.44 @tanstack/start-client-core@1.170.24 @tanstack/start-plugin-core@1.171.36 @tanstack/start-server-core@1.169.28 @tanstack/start-static-server-functions@1.167.29 @tanstack/start-storage-context@1.167.26 @tanstack/vue-router@1.170.26 @tanstack/vue-start-client@1.167.29 @tanstack/vue-start-server@1.167.33 @tanstack/vue-start@1.168.43
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-15 00:08:52 +02:00
Flo
bdaf73a406
perf(router-core): inline buildWithMatches inside buildLocation (#8070)
* perf(router-core): inline buildWithMatches inside buildLocation

* better cleanup
2026-08-14 22:47:45 +02:00
Flo
cf6ab178b3
perf(router-core): inline isFunction utility (#8069) 2026-08-14 21:03:47 +02:00
Flo
4c89b15dd2
perf(router-core): inline getOpenAndCloseBraces in parseSegment (#8071) 2026-08-14 21:03:20 +02:00
Flo
0fdf9ff16f
perf: inline isCtrlKey utility inside all Link components (#8073) 2026-08-14 21:02:47 +02:00
github-actions[bot]
53b63cf6fb
ci: Version Packages (#8052) release-2026-08-14-1210 @tanstack/react-router@1.170.28 @tanstack/react-start-client@1.168.26 @tanstack/react-start-rsc@0.1.44 @tanstack/react-start-server@1.167.33 @tanstack/react-start@1.168.45 @tanstack/router-cli@1.167.29 @tanstack/router-core@1.171.23 @tanstack/router-generator@1.167.29 @tanstack/router-plugin@1.168.31 @tanstack/router-vite-plugin@1.167.31 @tanstack/solid-router@1.170.26 @tanstack/solid-start-client@1.168.25 @tanstack/solid-start-server@1.167.32 @tanstack/solid-start@1.168.43 @tanstack/start-client-core@1.170.23 @tanstack/start-plugin-core@1.171.35 @tanstack/start-server-core@1.169.27 @tanstack/start-static-server-functions@1.167.28 @tanstack/start-storage-context@1.167.25 @tanstack/vue-router@1.170.25 @tanstack/vue-start-client@1.167.28 @tanstack/vue-start-server@1.167.32 @tanstack/vue-start@1.168.42
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-14 14:05:28 +02:00
Flo
0c25a7b43b
fix(react-router): avoid Suspense above root documents (#8055)
* fix(react-router): avoid suspense above root documents

* test(react-start): cover root document hydration

* test(react-router): remove indirect hydration assertion

* perf(react-router): reduce suspense wrapper bundle size

* test(react-start): isolate root hydration regression

* fix(react-router): preserve root suspense in CSR

* refactor(react-router): simplify root suspense checks

* fix(react-router): preserve functional ssr classification
2026-08-14 13:34:08 +02:00
Flo
31882c7fa8
fix(router): reuse resolved lazy route components (#8054)
* fix(router): reuse resolved lazy route components

* fix vue inconsistency

* fix(router): clear resolved lazy component preload
2026-08-14 13:30:20 +02:00
Flo
0ad38a710c
fix(router): reject superseded Solid and Vue render acknowledgements (#8065)
* fix(router): reject superseded render acknowledgements

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 09:38:09 +02:00
Flo
38485038c5
Fix default route component remounting (#8002)
* Fix default route component remounting

* Optimize reactive Vue Link props

* fix(vue-router): address reactive Link review feedback
2026-08-12 14:53:17 +02:00
github-actions[bot]
dc5a404eb9
ci: Version Packages (#8048) release-2026-08-12-0919 @tanstack/react-router@1.170.27 @tanstack/react-start-client@1.168.25 @tanstack/react-start-rsc@0.1.43 @tanstack/react-start-server@1.167.32 @tanstack/react-start@1.168.44
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-12 11:15:35 +02:00
Flo
b0817f50cc
fix(react-router): useMatchRoute w/ React Compiler (changeset) (#8047) 2026-08-12 10:47:05 +02:00
Flo
31355ae92c
fix(react-router): useMatchRoute w/ React Compiler (#8015)
* fix(react-router): useMatchRoute w/ React Compiler

* test(react-router): add React Compiler E2E

Co-authored-by: Kamal Bennani <kamal.bennani@aircall.io>

* disable eslint react-hooks/exhaustive-deps for known static condition w/ DCE

* test(react-router): cover useMatchRoute callback identity

Co-authored-by: Sarah Gerrard <98355961+LadyBluenotes@users.noreply.github.com>

* test(react-router): rely on useMatchRoute subscription

* test(react-router): exercise compiler-generated memoization

* no useCallback during SSR

* update docs

---------

Co-authored-by: Kamal Bennani <kamal.bennani@aircall.io>
Co-authored-by: Sarah Gerrard <98355961+LadyBluenotes@users.noreply.github.com>
2026-08-12 10:35:50 +02:00
github-actions[bot]
e15bda5c4d
ci: Version Packages (#8040) release-2026-08-12-0839 @tanstack/react-router@1.170.26 @tanstack/react-start-client@1.168.24 @tanstack/react-start-rsc@0.1.42 @tanstack/react-start-server@1.167.31 @tanstack/react-start@1.168.43 @tanstack/router-cli@1.167.28 @tanstack/router-core@1.171.22 @tanstack/router-generator@1.167.28 @tanstack/router-plugin@1.168.30 @tanstack/router-vite-plugin@1.167.30 @tanstack/solid-router@1.170.25 @tanstack/solid-start-client@1.168.24 @tanstack/solid-start-server@1.167.31 @tanstack/solid-start@1.168.42 @tanstack/start-client-core@1.170.22 @tanstack/start-plugin-core@1.171.34 @tanstack/start-server-core@1.169.26 @tanstack/start-static-server-functions@1.167.27 @tanstack/start-storage-context@1.167.24 @tanstack/vue-router@1.170.24 @tanstack/vue-start-client@1.167.27 @tanstack/vue-start-server@1.167.31 @tanstack/vue-start@1.168.41
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-12 10:33:33 +02:00
Flo
f5007607d6
fix(router): warn when Outlet is rendered in fallback components (#8045) 2026-08-12 09:53:15 +02:00
Flo
aa10b6589e
fix(router): apply preload delay to viewport links (#8044)
* fix(router): apply preload delay to viewport links

* fix(router): cancel delayed viewport preloads on exit

* fix(router): process queued viewport transitions in order

* fix(router): use latest queued viewport state

* refactor(router): inline viewport observer options

* fix(router): stabilize viewport preload timers

* cleaner timeout map key
2026-08-12 09:52:36 +02:00
Flo
1aafca9b45
refactor: remove Link transition state (#8043) 2026-08-12 09:52:10 +02:00
Flo
7e93431ae9
fix(router-core): load-client can cache settled abandoned loader work without preload authority (#8039)
* fix(router-core): load-client can cache settles abandonned loader work without preload authority

* changeset

* update INTERNALS.md
2026-08-11 12:17:44 +02:00
Flo
783f883ac1
ci: migrate CodSpeed to v5 (#8033) 2026-08-10 22:11:29 +02:00
Flo
af8dcb859a
test(router-core): add missing test cleanup in 3920 (#8023) 2026-08-09 23:43:17 +02:00
github-actions[bot]
91a848e979
ci: Version Packages (#8021) release-2026-08-09-1849 @tanstack/react-router@1.170.25 @tanstack/react-start-client@1.168.23 @tanstack/react-start-rsc@0.1.41 @tanstack/react-start-server@1.167.30 @tanstack/react-start@1.168.42 @tanstack/router-cli@1.167.27 @tanstack/router-core@1.171.21 @tanstack/router-generator@1.167.27 @tanstack/router-plugin@1.168.29 @tanstack/router-vite-plugin@1.167.29 @tanstack/solid-router@1.170.24 @tanstack/solid-start-client@1.168.23 @tanstack/solid-start-server@1.167.30 @tanstack/solid-start@1.168.41 @tanstack/start-client-core@1.170.21 @tanstack/start-plugin-core@1.171.33 @tanstack/start-server-core@1.169.25 @tanstack/start-static-server-functions@1.167.26 @tanstack/start-storage-context@1.167.23 @tanstack/vue-router@1.170.23 @tanstack/vue-start-client@1.167.26 @tanstack/vue-start-server@1.167.30 @tanstack/vue-start@1.168.40
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-09 20:43:56 +02:00
Flo
51138a824c
changeset (#8019)
* fix(router-core): handle excessive parent relative links

* changeset
2026-08-09 19:43:12 +02:00
Flo
5500fd3510
fix(router-core): handle excessive parent relative links (#8018) 2026-08-09 19:40:25 +02:00
github-actions[bot]
6f8f534bf3
ci: Version Packages (#8011) release-2026-08-09-0907 @tanstack/react-router@1.170.24 @tanstack/react-start-client@1.168.22 @tanstack/react-start-rsc@0.1.40 @tanstack/react-start-server@1.167.29 @tanstack/react-start@1.168.41 @tanstack/router-cli@1.167.26 @tanstack/router-core@1.171.20 @tanstack/router-generator@1.167.26 @tanstack/router-plugin@1.168.28 @tanstack/router-vite-plugin@1.167.28 @tanstack/solid-router@1.170.23 @tanstack/solid-start-client@1.168.22 @tanstack/solid-start-server@1.167.29 @tanstack/solid-start@1.168.40 @tanstack/start-client-core@1.170.20 @tanstack/start-plugin-core@1.171.32 @tanstack/start-server-core@1.169.24 @tanstack/start-static-server-functions@1.167.25 @tanstack/start-storage-context@1.167.22 @tanstack/vue-router@1.170.22 @tanstack/vue-start-client@1.167.25 @tanstack/vue-start-server@1.167.29 @tanstack/vue-start@1.168.39
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-09 11:01:57 +02:00
Flo
44a8c3e1d2
perf(router-core): skip impossible JSON parse attempts (#8006)
* perf(router-core): skip impossible JSON parses

* perf(router-core): refine JSON parse fast path

* changeset
2026-08-08 19:43:09 +02:00
Flo
c59788ca20
perf(start-client-core): O(1) buffer drain in client frame decoder (#8009)
The frame decoder dropped consumed chunks from its buffer with
bufferList.shift(), which is O(n). When a single large frame (e.g. a big
RawStream payload) is assembled from many small network reads, the
extract loop calls shift() once per chunk, making reassembly O(n^2).

Track the first un-consumed chunk with a head pointer and advance it in
O(1) instead of shifting. Consumed slots are released for GC, and the
buffer is compacted when fully drained (O(1) reset) or once the consumed
prefix grows past a small threshold (amortized O(1) per chunk).

A micro-benchmark draining 1000 small chunks is ~11x faster.

Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
2026-08-08 19:20:41 +02:00
Flo
5253e70db2
perf(router-core): faster enumerable-key collection in structural sharing (#8010)
* perf(router-core): faster enumerable-key collection in structural sharing

getEnumerableOwnKeys (used by replaceEqualDeep) called
Object.getOwnPropertyNames and then invoked propertyIsEnumerable once per
key to verify every own string prop is enumerable. Replace that O(n) loop
of JS method calls with Object.keys (native, enumerable-only) plus a
single length comparison against getOwnPropertyNames to detect
non-enumerable string props. Symbol handling is unchanged.

Behavior is identical (verified against the existing suite + fuzzing): the
function still returns the enumerable own keys in the same order and still
bails (returns false) for objects with any non-enumerable own string or
symbol property.

replaceEqualDeep runs on every selector result on every state update when
defaultStructuralSharing is enabled, so this is a hot client path for
selector-heavy apps. Measured ~1.3-1.5x faster on typical router state.

* style(router-core): address enumerable key review

---------

Co-authored-by: Yagiz Nizipli <yagiz@nizipli.com>
2026-08-08 19:20:08 +02:00
Manuel Schiller
c568caf3f3
inline isServer for proper DCE (#7996) 2026-08-08 09:54:57 +02:00
Manuel Schiller
4fa1df7540
don't use esbuild to minify in vite's bundlesize benchmarks (#7995) 2026-08-08 02:04:11 +02:00
Manuel Schiller
a43128e090
ci: run bundle size workflow for benchmark scripts (#7999) 2026-08-08 01:52:38 +02:00
github-actions[bot]
2265129b40
ci: Version Packages (#7994) release-2026-08-07-1802 @tanstack/react-router@1.170.23 @tanstack/react-start-client@1.168.21 @tanstack/react-start-rsc@0.1.39 @tanstack/react-start-server@1.167.28 @tanstack/react-start@1.168.40 @tanstack/solid-start-client@1.168.21 @tanstack/solid-start-server@1.167.28 @tanstack/solid-start@1.168.39 @tanstack/start-client-core@1.170.19 @tanstack/start-plugin-core@1.171.31 @tanstack/start-server-core@1.169.23 @tanstack/start-static-server-functions@1.167.24 @tanstack/vue-start-client@1.167.24 @tanstack/vue-start-server@1.167.28 @tanstack/vue-start@1.168.38
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 19:58:00 +02:00
Mat Clayton
95dec51018
perf(react-router): bail out of Link re-renders when href and active state are unchanged (#7952)
* perf(react-router): bail out of Link re-renders when href and active state are unchanged

useLinkProps subscribes to the location store with an identity selector and an
href comparator, then derives href and isActive from the published location in
downstream memos. The comparator can only ask "is this a different URL?", never
"does this link care?", so every Link on the page re-renders on every navigation.

Move the location-derived values into the selector and compare them, so a link
whose resolved href and active state are unaffected by a navigation bails out.
buildLocation still runs once per link per location change; what goes away is the
React render and the host reconciliation under it.

doPreload no longer pre-supplies _builtLocation, because the built location is no
longer kept in render state. preloadRoute already falls back to building it, which
is what handleClick has always relied on for router.navigate.

The isActive and externalLink bodies move to module-level helpers unchanged so the
selector stays readable; activeOptions is spread into its four primitive fields in
the dependency list because callers routinely pass an inline object literal.

* refactor: trim redundant comments and brace single-line bodies

The comments explained the bail-out rationale twice — once on the LinkState type
and again above the selector — and two helper docblocks restated their function
names. The rationale now appears once, where a reader meets the selector; the
detail belongs in the PR description rather than the source.

Also braces the three single-line if bodies, per the AGENTS.md rule that if/else
bodies always use curly braces.

* refactor: publish link state as a tuple

The type is erased either way, but the object literal's property names survive
minification and a tuple's positions don't — so this drops three property names
from the selector's return plus the three property reads in compareLinkState.

Measured on the unminified build: -54 bytes in dist/esm/link.js and the same in
dist/cjs/link.cjs.

* test: assert the published link state, and drop a redundant cast

The render-count assertions proved the bail-out but not that the selector still
publishes correct values, so a selector returning a constant could have passed.
The test now also asserts that the link gaining active state carries
`data-status="active"` afterwards (and does not beforehand), and that the
unaffected link keeps its href and stays inactive.

Checked by sabotaging the selector: returning a constant tuple with a wrong href
but a correct active state now fails, where previously it passed.

Also drops `as any` from `new URL(to)` in resolveExternalLink — the guard above
already narrows `to` to string.

* refactor: pass activeOptions through instead of destructuring

Depends on the four fields rather than the object, with an exhaustive-deps
disable: callers routinely pass an inline literal, which would otherwise rebuild
the selector every render. resolveIsActive reads only those four fields, so the
disable is not hiding a live dependency.

-269 bytes on each of dist/esm/link.js and dist/cjs/link.cjs (unminified).

* perf: memoize the href derivation on the built href

The `useMemo` chain this replaced keyed `getHrefOption` and the external-link
resolution on the href string, so a navigation that left a link's href alone
skipped both. Deriving everything in the selector ran them on every location
notification instead, which showed up as a ~10% regression on the client-nav
rewrites benchmark, where rewrite handling makes `getHrefOption` expensive.

Cache both on the built href inside the selector closure. Measured on a
five-link root layout, per navigation: getHrefOption drops from 5 calls back to
0, matching the pre-change profile, with buildLocation and the active-state
derivation unchanged at 5.

* perf: keep _options referentially stable while its contents are equal

Links commonly pass inline `params` / `search` object literals. Those change
identity on every parent render, which rebuilt `_options`, which changed the
store selector's identity, which discarded useSyncExternalStoreWithSelector's
memoized selection. buildLocation then ran twice per navigation: once in the
notification check and once in the render-phase selection.

Measured on a replica of the client-nav rewrites scenario (six links, root
subscribed to the pathname via useLocation), buildLocation per navigation:
base 7, before this commit 12, after 7.

* revert: drop the href memoization, it measured no benefit

Reverts 409371b. It did cut getHrefOption from 5 calls per navigation to 0,
matching the pre-change profile, but that is not where the time went: on the
rewrites scenario it moved the number by 0.05% (medians 245.33 vs 245.21 hz over
four interleaved rounds). Not worth ~15 lines of mutable closure state.

The rewrites regression is fixed by the _options stabilisation instead.

* docs: explain why useValueStable exists

Replaces a leftover scratch note.

* perf: cut the bundle cost of the link state selector

Stabilise `activeOptions` with the same helper used for `search` / `params`,
so the selector depends on one value instead of four destructured fields. That
also makes the dependency array honest, so the exhaustive-deps disable goes.

Drop the reference-equality guard in useValueStable: deepEqual already
short-circuits on `a === b`, so the guard only saved a function call that
returns immediately.

Measured with benchmarks/bundle-size against this branch's base, gzip delta
across the eight React scenarios moves from +27/-7 to +11/-24, and raw bytes go
uniformly negative (-37 to -45 on every scenario).

* perf: pass _options to preloadRoute without the shallow clone

The spread existed to add _builtLocation, which is gone, and nothing on the
preload path mutates the options object: preloadRoute only reads
opts._builtLocation, build() only reads dest fields, and the search middleware
chain only reads dest.search. Search middlewares themselves receive
{ search, next }, never dest.

Saves an object allocation per hover. Bytes are unchanged on gzip, -5 raw.

* fix: do not collapse explicit-undefined params when stabilising link options

useValueStable compared with deepEqual's default ignoreUndefined: true, which
skips undefined-valued keys on both sides, so `{}` and `{ category: undefined }`
compared equal. Those build different locations: an explicit undefined clears an
inherited optional param while an empty object inherits it. A Link whose params
changed from one to the other kept publishing the stale href, and click and
preload used the stale options too.

Compare with ignoreUndefined: false. Adds a regression test covering the
/posts/tech -> /posts transition, which fails before this commit and passes
after, and passes on the pre-PR baseline.

* chore: empty commit to re-trigger CI

* chore: add changeset

---------

Co-authored-by: Flo <me@florianpellet.com>
2026-08-07 17:37:30 +02:00
Flo
6bede65d70
perf(start): compact deferred hydration private state (#7980)
* perf(solid-start): shorten private prefetch state

* perf(start): use locals for hydration wait state

* perf(start): compact visible observer registry entries

* test(start): cover hydration private-state lifecycles

* docs: record solid hydration bundle result

* Delete RESULT-optimization-solid-hydration-private-state.md

* changeset

* ci: Version Packages (#7993) [Self-Healing CI Rerun]

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-08-07 17:30:30 +02:00
Flo
2fbc99f2c2
perf(start-client-core): compact private frame decoder result keys (#7978)
* perf(start-client-core): compact frame decoder result keys

* docs: record compact frame result evidence

* docs: record frame result attribution and e2e

* Delete RESULT-optimization-frame-decoder-compact-result.md

* changeset
2026-08-07 15:18:37 +02:00
github-actions[bot]
995bd97a9f
ci: Version Packages (#7993) release-2026-08-07-1110 @tanstack/react-router@1.170.22 @tanstack/react-start-client@1.168.20 @tanstack/react-start-rsc@0.1.38 @tanstack/react-start-server@1.167.27 @tanstack/react-start@1.168.39 @tanstack/router-cli@1.167.25 @tanstack/router-core@1.171.19 @tanstack/router-generator@1.167.25 @tanstack/router-plugin@1.168.27 @tanstack/router-vite-plugin@1.167.27 @tanstack/solid-router@1.170.22 @tanstack/solid-start-client@1.168.20 @tanstack/solid-start-server@1.167.27 @tanstack/solid-start@1.168.38 @tanstack/start-client-core@1.170.18 @tanstack/start-plugin-core@1.171.30 @tanstack/start-server-core@1.169.22 @tanstack/start-static-server-functions@1.167.23 @tanstack/start-storage-context@1.167.21 @tanstack/vue-router@1.170.21 @tanstack/vue-start-client@1.167.23 @tanstack/vue-start-server@1.167.27 @tanstack/vue-start@1.168.37
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 13:04:38 +02:00
Flo
ea3a665d81
fix(router): retain mounted UI during revalidation (#7992)
* fix(router): retain mounted UI during revalidation

* fix(router): preserve initial pending presentation

* changeset

* test(router): make retained pending tests deterministic

* complete solid/vue suite
2026-08-07 11:57:59 +02:00
Flo
abf9b81b1f
test: stabilize codspeed CPU benchmarks (#7987) 2026-08-06 16:46:19 +02:00
github-actions[bot]
ac1d0abea9
ci: Version Packages (#7968) release-2026-08-06-1344 @tanstack/history@1.162.1 @tanstack/react-router@1.170.21 @tanstack/react-start-client@1.168.19 @tanstack/react-start-rsc@0.1.37 @tanstack/react-start-server@1.167.26 @tanstack/react-start@1.168.38 @tanstack/router-cli@1.167.24 @tanstack/router-core@1.171.18 @tanstack/router-generator@1.167.24 @tanstack/router-plugin@1.168.26 @tanstack/router-vite-plugin@1.167.26 @tanstack/solid-router@1.170.21 @tanstack/solid-start-client@1.168.19 @tanstack/solid-start-server@1.167.26 @tanstack/solid-start@1.168.37 @tanstack/start-client-core@1.170.17 @tanstack/start-plugin-core@1.171.29 @tanstack/start-server-core@1.169.21 @tanstack/start-static-server-functions@1.167.22 @tanstack/start-storage-context@1.167.20 @tanstack/vue-router@1.170.20 @tanstack/vue-start-client@1.167.22 @tanstack/vue-start-server@1.167.26 @tanstack/vue-start@1.168.36
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-06 15:38:36 +02:00
Flo
9cac62a5c7
perf: compact private bundle boundaries (#7975) missing changesets (#7985) 2026-08-06 13:52:52 +02:00