@remix-run/router
1.23.4 · 18 Aug 2026MIT24.8M / weekRepositoryHomepagenpmAtom feed
1.23.4 is the newest release of 1.x.
In short
2 new3 fixed1 internal
Security
2 advisories affect 1.6.3; 1.23.3 fixes them
- HighReact Router vulnerable to XSS via Open RedirectsGHSA-2w69-qvjg-hvjx · 8 Jan 2026Fixed in 1.23.2
- ModerateReact Router's same-origin redirect with path starting // causes open redirect via protocol-relative URL reinterpretationGHSA-2j2x-hqr9-3h42 · 3 Jun 2026Fixed in 1.23.3
Release note
Warning
Please use version6.13.0or later instead of6.12.0/6.12.1. These versions suffered from some Webpack build/minification issues resulting failed builds or invalid minified code in your production bundles. See #10569 and #10579 for more details.
What's Changed
With 6.12.0 we've added better support for suspending components by wrapping the internal router state updates in React.startTransition. This means that, for example, if one of your components in a destination route suspends and you have not provided a Suspense boundary to show a fallback, React will delay the rendering of the new UI and show the old UI until that asynchronous operation resolves. This could be useful for waiting for things such as waiting for images or CSS files to load (and technically, yes, you could use it for data loading but we'd still recommend using loaders for that 😀). For a quick overview of this usage, check out Ryan's demo on Twitter.
Minor Changes
Wrap internal router state updates with
React.startTransition
Patch Changes
Allow fetcher revalidations to complete if submitting fetcher is deleted
Re-throw
DOMException(DataCloneError) when attempting to perform aPUSHnavigation with non-serializable state.Ensure revalidations happen when hash is present
Upgrade
jestandjsdom
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.