unstale

npm / @remix-run/route-pattern

@remix-run/route-pattern

What changed in @remix-run/route-pattern 0.24 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

2 breaking2 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@remix-run/route-pattern 11 changes

Behavior and default changes 1

@remix-run/route-pattern 0.253 changes

Breaking changes 2

  • Generated pathnames are normalized to one leading slash, including absolute URLs and hrefs generated with baseURL; leading slashes in root wildcard values no longer round-trip unchanged.

    0.25.0release notes

  • Pathname wildcard values containing standalone . or .. segments now throw CreateHrefError with details.type set to invalid-pathname-wildcard.

    0.25.0release notes

Behavior and default changes 1

  • Package modules are declared side-effect-free, which can affect how consuming tools handle them.

    0.25.0release notes

@remix-run/route-pattern 0.242 changes

Fixes and other changes 2

  • Rejects backslashes in hostname variables and wildcards so generated URLs retain the intended hostname.

    0.24.1release notes

  • Variable scans and capture comparisons count toward the work limit, so matching stops when optional or wildcard patterns exceed it.

    0.24.1release notes