Skip to content

@tanstack/router-generator@1.167.20

Choose a tag to compare

@github-actions github-actions released this 17 Jul 22:30
Immutable release. Only release title and notes can be modified.
604996d

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.