npm / @tanstack/router-core
@tanstack/router-core
What changed in @tanstack/router-core 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 breaking2 performance1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tanstack/router-core 14 changes
Breaking changes 1
Returns the callback's own result instead of wrapping it in a promise, so synchronous throws now propagate synchronously.
Performance 2
Generated script preloads now use low fetch priority and forward it into static Early Hints, so they no longer compete with render-blocking stylesheets, fonts, and images.
Reads a URL input without cloning it, reducing per-request work.
Fixes and other changes 1
SSR reuses the parsed request location instead of repeating input rewrites, matches server routes against the app router's parsed pathname, and preserves encoded pathnames for server handlers and middleware.