@remix-run/router
1.23.4 · 18 Aug 2026MIT24.8M / weekRepositoryHomepagenpmAtom feed
1.23.4 is the newest release of 1.x.
In short
1 new1 fixed5 changed2 internal
Security
1 advisory affects 1.0.4; 1.23.2 fixes them
- HighReact Router vulnerable to XSS via Open RedirectsGHSA-2w69-qvjg-hvjx · 8 Jan 2026Fixed in 1.23.2
Release note
What's Changed
Throw an error if an
action/loaderfunction returnsundefinedas revalidations need to know whether the loader has previously been executed.undefinedalso causes issues during SSR stringification for hydration. You should always ensure yourloader/actionreturns a value, and you may returnnullif you don't wish to return anything.Properly handle redirects to external domains (#9590, #9654)
Preserve the HTTP method on 307/308 redirects
Support
basenamein static data routersEnhanced
ErrorResponsebodies to contain more descriptive text in internal 403/404/405 scenariosFix issues with encoded characters in
NavLinkand descendant<Routes>(#9589, #9647)Properly serialize/deserialize
ErrorResponseinstances when using built-in hydrationSupport
basenamein static data routers
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.