github TanStack/router @tanstack/router-generator@1.168.0

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

Don't miss a new router release

NewReleases is sending notifications on new releases.