npm / @tanstack/router-plugin
@tanstack/router-plugin
What changed in @tanstack/router-plugin 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 security6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tanstack/router-plugin 18 changes
Breaking changes 1
The option was removed because route generation now always runs, ensuring autoCodeSplitting has the route metadata it needs.
Security 1
Malware in @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys
Fixes and other changes 6
Preserves React component state during development HMR for route components declared with lowercase function names, including split route component groups and unsplit root route component options, without changing production output.
Aliased route imports keep generated route properties after hot reloads.
Fixed generated route type preferences for duplicate pathless/index routes.
Fixed HMR route index refresh for duplicate pathless/index routes.
Fixed route mismatch warnings for duplicate pathless/index routes.
Fixes Fast Refresh detection for root routes created with createRootRouteWithContext type arguments.