Packages

@tanstack/react-router

1.170.46 · 22 Oct 2026MIT29.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @tanstack/react-router From 1.170.24 to 1.170.46

22 releases in betweenevery note read

  1. 1.170.24yours
  2. 1 release
  3. 1.170.26breaking
  4. 19 releases
  5. 1.170.46target

Before you upgrade

Tick each one off as you go
  • Breaking1.170.26

Release by release

  1. 1.170.46

    22 Oct 20262 fixes
    • Fixed

      Reference agent skills in other packages by their intent load identifier (@tanstack/<package>#<skill>) instead of relative file links that break once packages are installed.

    • Fixed

      Publish the @tanstack/react-router agent skills (react-router, compositions/router-query, lifecycle/migrate-from-react-router), which were missing from the package's files list.

  2. 1.170.43 – 1.170.453 releases, nothing new or fixed in the notes

  3. 1.170.42

    10 Oct 20264 fixes
    • Fixed

      Reduce component nesting per route match

    • Fixed

      Links of a route that the pending navigation leaves skip deriving the destination location, and clicks and preloads follow the href a Link displays. buildLocation now builds mask and routeMasks locations from the same _fromLocation as the destination.

    • Fixed

      Fixed Link destinations that resolve to a route mask are now reused across navigations instead of being rebuilt every time. A mounted Link now follows changes to its href and reloadDocument props, and React Links no longer each subscribe to a hydration flag.

    • Fixed

      Cancel pending link preload timers when starting navigation to avoid redundant preloading while the destination is loading.

  4. 1.170.41

    30 Sep 20264 fixes
    • Fixed

      Compose only enabled route boundaries instead of rendering inactive wrapper components.

    • Fixed

      Update TanStack Store to 0.11.2 to prevent unrelated atom reads inside subscription observers from triggering extra notifications.

    • Fixed

      Consolidate the root match context provider while preserving match context in the root shell.

    • Fixed

      Reuse Link href classification and active/inactive results across location updates while preserving live history href formatting.

  5. 1.170.40

    27 Sep 20261 fix
    • Fixed

      Skip unused Link preload cleanup when preloading is disabled and ignore queued viewport notifications after their effect has been cleaned up.

  6. 1.170.39

    23 Sep 20261 fix
    • Fixed

      Avoid hydration-triggered rerenders for links that do not compare URL hashes while preserving hash-sensitive active state and ClientOnly behavior.

  7. 1.170.38nothing new or fixed in the note

  8. 1.170.37

    16 Sep 20264 fixes
    • Fixed

      deepEqual now takes its flags as positional arguments — deepEqual(a, b, partial?, explicitUndefined?) — instead of an options object. The router's hot callers (Link option stabilization and active-state checks, matchRoute) no longer allocate an options object per comparison, and the comparator reads two booleans instead of a polymorphic object. explicitUndefined replaces ignoreUndefined: false. deepEqual is an internal helper; it stays exported for compatibility of two-argument calls.

    • Fixed

      resolvePath (internal helper) now takes positional arguments — resolvePath(base, to, trailingSlash?, cache?) — so buildLocation and matchRoute no longer allocate an options object per path resolution.

    • Fixed

      Stream large deferred SSR hydration payloads through a backpressure-aware router transport, fail known setup errors before response creation, and close cancelled or expired transforms safely.

    • Fixed

      useLinkProps no longer calls through an internal wrapper. The host element Link renders on is an @internal overload parameter that is stripped from the published declarations, so the public useLinkProps(options, forwardedRef?) signature is unchanged.

23 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.