unstale

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

@unstale/cli 0.2.8 on npm

@tanstack/history 18 changes

Performance 1

  • Private bundle boundaries were compacted for performance.

    1.162.1release notes

Behavior and default changes 1

  • SSR uses lightweight request history, and server navigation is a no-op; use redirect() to issue HTTP redirects.

    1.162.4release notes

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.

    1.162.5release notes

  • Memory and server history hrefs use the same normalization as browser history, including for protocol-relative paths and control characters.

    1.162.4release notes

  • History no longer generates unused keys for locations that already have state.

    1.162.4release notes

  • Document navigation now respects registered history blockers, passing history locations and the requested push or replace action.

    1.162.3release notes

  • Blocked forward or multi-entry navigation restores the original browser history entry.

    1.162.2release notes

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

    1.162.2release notes