Skip to content

@tanstack/router-generator@1.168.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 01:03
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
7dbce08

Minor Changes

  • #8855 446ce1b - Require Node ^20.19.0 || >=22.12.0 (was >=20.19), so the CommonJS builds can load ESM-only dependencies through require(esm). Node 21 and Node 22.0–22.11 do not enable it by default, so they are no longer supported.

Patch Changes

  • #8857 ad5b3b7 - A pathless layout inside a route group (routes/(group)/_layout.tsx) or a route group's own layout (routes/(group)/route.tsx) is typed with the full path '/' in FileRoutesByPath, like the router gives it at runtime, instead of ''. When no index route claims /, the layout also appears under '/' in FileRoutesByFullPath and FileRoutesByTo, as a pathless layout outside a group already does.

  • Updated dependencies [446ce1b, ff157f0]:

    • @tanstack/router-utils@1.163.0