npm / @tanstack/history
@tanstack/history
What changed in @tanstack/history 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
1 performance1 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tanstack/history 18 changes
Performance 1
Private bundle boundaries were compacted for performance.
Behavior and default changes 1
SSR uses lightweight request history, and server navigation is a no-op; use redirect() to issue HTTP redirects.
Fixes and other changes 6
Leading queries or fragments are no longer included in the parsed pathname, preventing URLs like /#?x=1 from repeating the query in the router location.
Memory and server history hrefs use the same normalization as browser history, including for protocol-relative paths and control characters.
History no longer generates unused keys for locations that already have state.
Document navigation now respects registered history blockers, passing history locations and the requested push or replace action.
Blocked forward or multi-entry navigation restores the original browser history entry.
go() navigation respects ignoreBlocker for document unload warnings, preserves warnings during back and forward navigation unless bypassed, and clears the bypass after same-document traversal.