@tanstack/history
1.162.5 · 10 Oct 2026MIT29.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/history From 1.161.5 to 1.162.5
9 releases in betweennotes for 7
- 1+
- change to make
- 0
- advisories fixed
- 2+
- new
- 11+
- fixes
Counted from 7 of 9 release notes. Advisories are counted from the advisory database, in full.
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
- Fixed
Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.
- Fixed
Use full-document navigation when an output rewrite produces a cross-origin destination, including the public URL of a route mask.
- Fixed
- Fixed
Respect
ignoreBlockerduringgo()navigation, including document unload warnings. Preserve beforeunload warnings during back and forward navigation unlessignoreBlockeris requested, and clear the bypass after same-document traversal so later document navigation still warns about unsaved changes.
- Fixed
- New
Clean minor bump, fresh start
- New
1.161.6 – 1.161.123 releases, nothing new or fixed; 2 without a note
1 internal line (docs, tests, tooling) left out.
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.