Packages

@tanstack/router-core

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

Upgrading @tanstack/router-core From 1.171.31 to 1.171.32

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 1.171.32

    16 Sep 20265 fixes
    • Fixed

      Detect plain objects by constructor instead of Object.prototype.toString dispatches in isPlainObject, which gates every deepEqual and replaceEqualDeep recursion step. Object literals, JSON.parse output and null-prototype objects are still plain; objects from another realm no longer are. Records with an own constructor key (for example the search params of ?constructor=foo) fall back to a prototype check, so they keep structural sharing while class instances stay opaque.

    • Fixed

      Compare and copy plain objects in replaceEqualDeep by their string keys only, skipping the symbol-key lookup that dominated key enumeration. Objects with non-enumerable own properties, or symbol keys on the incoming value, now pass through untouched instead of being structurally shared.

    • Fixed

      Reduce structural-sharing allocations by reusing array key storage and returning incoming objects when their children need no replacements. Preserve signed zero consistently, remove stale symbol properties, and keep sparse arrays with extra keys and built-ins with an own constructor opaque.

    • Fixed

      Allocate the replaceEqualDeep result only at the first difference, so structural sharing of search, params, state and loader data no longer allocates when the new value is deeply equal to the previous one.

    • Fixed

      Split replaceEqualDeep into an equality scan and a copy phase: arrays and objects are scanned by dedicated loops up to the first difference, matching keys prove ownership without a hasOwnProperty lookup, and once a difference is found the result is built without any further equality bookkeeping. Deeply equal search, params, state and loader data are recognised faster and changed values are copied with less work per entry.

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.