Packages

@remix-run/router

1.23.4 · 18 Aug 2026MIT24.8M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.4

30 Nov 2022Where it was published

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

Release note

What's Changed

  • Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything.

  • Properly handle redirects to external domains (#9590, #9654)

  • Preserve the HTTP method on 307/308 redirects

  • Support basename in static data routers

  • Enhanced ErrorResponse bodies to contain more descriptive text in internal 403/404/405 scenarios

  • Fix issues with encoded characters in NavLink and descendant <Routes> (#9589, #9647)

  • Properly serialize/deserialize ErrorResponse instances when using built-in hydration

  • Support basename in 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.