Packages

@tanstack/history

1.162.5 · 10 Oct 2026MIT25.6M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 1.x1.162.5Safe from 1.162.0Latest line

Latest releases

All 151 releases
  1. 1.162.5

    10 Oct 2026
    • Removed

      Drop a duplicated current-location flag and a redundant createHref wrapper.

    • 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=1 no longer repeat the query in the router location.

  2. 1.162.4

    13 Sep 2026
    • Normalize memory history hrefs consistently with browser and server history, including protocol-relative paths and control characters.

    • Avoid temporary arrays when replacing forward memory-history entries.

    • Avoid generating unused history keys for locations with existing state.

  3. 1.162.3

    9 Sep 2026
    • 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.

      Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.

      Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.

      Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.

      Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.

    • Use full-document navigation when an output rewrite produces a cross-origin destination, including the public URL of a route mask.

      Respect registered history blockers during document navigation, passing history locations and the requested push or replace action.

Dependency tracking

Know when your own dependencies move

@tanstack/history had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 17 Nov 2026. Releases and advisories last read 17 Nov 2026.