Packages

@tanstack/history

1.162.5 · 10 Oct 2026MIT29.4M / weekRepositoryHomepagenpmAtom feed

Your version

1.162.5

Latest10 Oct 2026Where it was published

In short

1 removed4 fixed

  • Removed

    Drop a duplicated current-location flag and a redundant createHref wrapper.

Release note

Patch Changes

  • Removed

    Drop a duplicated current-location flag and a redundant createHref wrapper.

  • Avoid temporary arrays when reading hash-history locations.

  • Keep a leading query or fragment out of the parsed pathname, so hash-history URLs like /#?x=1 no longer repeat the query in the router location.

  • 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.

  • Use slice instead of substring where the bounds are always ordered and non-negative.

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.