@tanstack/history
1.162.5 · 10 Oct 2026MIT29.4M / weekRepositoryHomepagenpmAtom feed
In short
1 removed4 fixed
- Removed
Drop a duplicated current-location flag and a redundant
createHrefwrapper.
Release note
Patch Changes
- Removed
Drop a duplicated current-location flag and a redundant
createHrefwrapper. 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=1no 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
hrefandreloadDocumentprops, and React Links no longer each subscribe to a hydration flag.Use
sliceinstead ofsubstringwhere 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.