Packages

@tanstack/router-core

1.171.39 · 22 Oct 2026MIT30.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @tanstack/router-core From 1.171.30 to 1.171.31

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.171.30Newest 1.x, Latest1.171.39
  1. 1.171.30yours
  2. 1.171.31target
0
changes to make
0
advisories fixed
1
new
6
fixes

Release by release

  1. 1.171.31

    16 Sep 20261 new · 6 fixes
    • New

      Speed up deepEqual: identical array elements no longer recurse, the exact comparison keeps a single key counter, and the redundant typeof early exit is gone. Equal numeric arrays compare ~70% faster and record comparisons 5–12% faster in the mixed-mode workloads that Link option stabilization and active-state checks produce, with a slightly smaller bundle. Behavior, including key enumeration and getter read order, is unchanged.

    • 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

      Reduce per-request SSR overhead: abort settled route matches with one shared AbortError-shaped reason instead of building a stack-capturing DOMException per match, skip JSON.parse for search values that cannot start JSON, wait on request signals with one listener per wait, and keep resolved server-function modules in production builds instead of re-importing them on every call.

    • 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

      Parse the location once when router.update() changes the basepath or rewrite, collect invalidate() match ids in a single pass, and specialize internal basepath composition without arrays or loops. Preserve basepath case sensitivity when creating and updating the router.

    • Fixed

      Parse masked locations without mutating shared state and simplify input rewrite handling.

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.