@tanstack/router-core
1.171.39 · 22 Oct 2026MIT30.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/router-core From 1.171.29 to 1.171.30
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 23
- fixes
Release by release
- Fixed
Cache route branches and interpolated paths on their route objects, removing the fixed template limit for registered routes and reusing cached paths across server requests. Rebuild tree-dependent caches together, preserve decoder and trailing-slash isolation, and keep unregistered templates bounded.
- Fixed
Keep the Link location cache out of server bundles:
buildLocationonly creates, reads and writes it whenisServeris false. Render React Links on the server without the extra prop copies and the forwarded-ref hook. Link SSR rendering is 20-40% faster in the Link benchmarks and the React Start SSR request loop about 7% faster. - Fixed
buildLocationno longer structurally shares the builtsearchandstatewith the current location. The observablelocation.searchandlocation.statestill preserve equal nested references across navigations, becauseparseLocationstabilizes them once a location is committed. A search whose contents equal the current search but list its keys in a different order now serializes in the requested order, so navigating to it creates a new history entry instead of being treated as the same location. Astateobject passed tonavigateorbuildLocationis never mutated. - Fixed
Reuse the already-owned raw-param snapshot during lightweight source matching instead of copying it again.
- Fixed
1 internal line (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.