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

latest releases: release-2026-07-18-0030, @tanstack/react-start@1.168.30, @tanstack/router-cli@1.167.21...
9 hours ago

Patch Changes

  • #7751 e56a677 - Make buildRouteTree route ordering deterministic. Its final sort tiebreaker compared whole route-node objects ((d) => d), which coerce to "[object Object]" and so never order — an inconsistent comparator that left routes tying on segment-count/index-token in an engine- and input-dependent order, producing non-deterministic routeTree.gen.ts diffs across machines. The tiebreaker now compares routePath, mirroring the pre-sort and giving a stable total order.

Don't miss a new router release

NewReleases is sending notifications on new releases.