@tanstack/history
1.162.5 · 10 Oct 2026MIT29.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/history From 1.162.3 to 1.162.5
2 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.162.5
Release by release
- Breaking
Drop a duplicated current-location flag and a redundant
createHrefwrapper. - Fixed
Avoid temporary arrays when reading hash-history locations.
- Fixed
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
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. - Fixed
Use
sliceinstead ofsubstringwhere the bounds are always ordered and non-negative.
- Breaking
- Fixed
Normalize memory history hrefs consistently with browser and server history, including protocol-relative paths and control characters.
- Fixed
Avoid temporary arrays when replacing forward memory-history entries.
- Fixed
Avoid generating unused history keys for locations with existing state.
- Fixed
Use lightweight request history for SSR and make server navigation a no-op. Use redirect() to issue HTTP redirects. Server hrefs use the same normalization as browser history to handle protocol-relative URLs and control characters.
- Fixed
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.