@tanstack/react-router
1.170.46 · 22 Oct 2026MIT29.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/react-router From 1.170.30 to 1.170.46
16 releases in betweenevery note read
Release by release
- Fixed
Reference agent skills in other packages by their
intent loadidentifier (@tanstack/<package>#<skill>) instead of relative file links that break once packages are installed. - Fixed
Publish the
@tanstack/react-routeragent skills (react-router,compositions/router-query,lifecycle/migrate-from-react-router), which were missing from the package'sfileslist.
- Fixed
1.170.43 – 1.170.453 releases, nothing new or fixed in the notes
- Fixed
Reduce component nesting per route match
- Fixed
Links of a route that the pending navigation leaves skip deriving the destination location, and clicks and preloads follow the href a Link displays.
buildLocationnow buildsmaskandrouteMaskslocations from the same_fromLocationas the destination. - Fixed
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
hrefandreloadDocumentprops, and React Links no longer each subscribe to a hydration flag. - Fixed
Cancel pending link preload timers when starting navigation to avoid redundant preloading while the destination is loading.
- Fixed
- Fixed
Compose only enabled route boundaries instead of rendering inactive wrapper components.
- Fixed
Update TanStack Store to 0.11.2 to prevent unrelated atom reads inside subscription observers from triggering extra notifications.
- Fixed
Consolidate the root match context provider while preserving match context in the root shell.
- Fixed
Reuse Link href classification and active/inactive results across location updates while preserving live history href formatting.
- Fixed
- Fixed
Skip unused Link preload cleanup when preloading is disabled and ignore queued viewport notifications after their effect has been cleaned up.
- Fixed
- Fixed
Avoid hydration-triggered rerenders for links that do not compare URL hashes while preserving hash-sensitive active state and ClientOnly behavior.
- Fixed
1.170.38nothing new or fixed in the note
- Fixed
deepEqualnow 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.explicitUndefinedreplacesignoreUndefined: false.deepEqualis an internal helper; it stays exported for compatibility of two-argument calls. - Fixed
resolvePath(internal helper) now takes positional arguments —resolvePath(base, to, trailingSlash?, cache?)— sobuildLocationandmatchRouteno longer allocate an options object per path resolution. - Fixed
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.
- Fixed
useLinkPropsno longer calls through an internal wrapper. The host elementLinkrenders on is an@internaloverload parameter that is stripped from the published declarations, so the publicuseLinkProps(options, forwardedRef?)signature is unchanged.
- Fixed
18 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.