Packages

@tanstack/router-core

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

Your version

1.171.14

1 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: re-encode URL-unsafe characters in sanitizePathSegment to prevent infinite redirect loops

    sanitizePathSegment now re-encodes characters in the WHATWG URL "path percent-encode set" (<, >, ", `, {, }) and ASCII control characters back to their percent-encoded form, instead of stripping control characters. This prevents mismatches between the original URL and the router's internal representation that previously caused infinite 307 redirect loops on paths containing these characters (e.g. /%7B%7Btemplate%7D%7D).

    Fixes #7587.

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.