Breaking change
TanStack Router: Breaking change: The release is @tanstack/router-plugin@1.169.0
What changed
- The release is @tanstack/router-plugin@1.169.0.
- The plugin now requires Node ^20.19.0 || >=22.12.0, up from >=20.19.
- Node 21 and Node 22.0–22.11 no longer enable require(esm) by default and are no longer supported.
- The Vite peer range is now >=6.0.0, and Vite 5 is no longer supported.
- Webpack and Rspack production builds no longer place the code splitter's "will not be code-split" warning, with the route file's absolute path, into the client bundle.
- The warning still prints in the build output.
- The esbuild plugin now throws when autoCodeSplitting is enabled and TanStackRouterCodeSplitterEsbuild throws, instead of bundling every route without splitting.
- Route generation with esbuild is unchanged.
- The undocumented plugin.hmr.style option and the HmrOptions type were removed.
- Internal code-splitter APIs were removed, including the codeSplittingOptions.compilerPlugins option and several root-entry exports.
- Source maps of split routes now point at the route file.
- unplugin now requires ^3.5.0, which keeps the router plugin's source map.
- Vite route HMR now writes import.meta.hot.accept( out instead of calling it through a hot alias.
- With React HMR, a route file that declares its own top-level hot binding no longer fails to compile with a Duplicate declaration "hot" error.
- Updated dependencies include @tanstack/router-generator@1.168.0 and @tanstack/router-utils@1.163.0.
- The release is marked immutable, so only the release title and notes can be modified.
Who it affects
TanStack Router's note does not say which plans or projects are affected. Check your own account against the note.
What to do now
Your users need to hear about your changes too
FoxPlug writes the changelog entry, the heads-up email draft and the social posts from what you ship.
Try it on your projectYour changelog, written for you
FoxPlug writes your changelog from your releases and commits in plain English and publishes it as a page and a feed your users can follow. The page above shows what that looks like for a product people really use.
Write my changelog See the changelog FoxPlug wrote from its own commits
Free to start. Pro is a month.
FoxPlug Pro
- A public changelog page and feed for each project
- Written from your releases and commits, in plain English your users read
- Connect GitHub and new releases become new entries