Packages

@tanstack/router-core

1.171.39 · 22 Oct 2026MIT30.7M / weekRepositoryHomepagenpmAtom feed

Your version

1.171.15

13 Jul 2026Where it was published

1.171.39 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • router-core: Handle window and element scroll restoration independently

    Window and element scroll targets are now handled independently. Restoring one target no longer suppresses resets for other uncached configured targets, and a restored element is no longer reset when the window has no cached position.

    Hash navigation no longer resets elements configured through scrollToTopSelectors and retains precedence over stale window positions through destination invalidations.

    Scroll positions are sampled when leaving a route, preserving live changes made after the most recent scroll event. This also prevents client hydration from undoing nested positions restored by the SSR script.

    Fixes #7687.

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.