New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-router

Package Overview
Dependencies
Maintainers
3
Versions
734
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Versions

2345
73

0.0.0-experimental-2e661fbb4

Diff
mjackson
published 0.0.0-experimental-2e661fbb4 •
mjackson
published 7.4.1-pre.0 •
mjackson
published 0.0.0-nightly-f1e14a23b-20250320 •
mjackson
published 0.0.0-experimental-47c4c03cf •
mjackson
published 7.4.0 •

Changelog

Source

v7.4.0

Date: 2025-03-19

Minor Changes

  • @react-router/dev - Generate types for virtual:react-router/server-build module (#13152)

Patch Changes

  • react-router - Fix root loader data on initial load redirects in SPA mode (#13222)
  • react-router - Load ancestor pathless/index routes in lazy route discovery for upwards non-eager-discovery routing (#13203)
  • react-router - Fix shouldRevalidate behavior for clientLoader-only routes in ssr:true apps (#13221)
  • @react-router/dev - Fix conflicts with other Vite plugins that use the configureServer and/or configurePreviewServer hooks (#13184)

Unstable Changes

⚠️ Unstable features are not recommended for production use

  • react-router - If a middleware throws an error, ensure we only bubble the error itself via next() and are no longer leaking the MiddlewareError implementation detail (#13180)
    • ⚠️ This may be a breaking change if you are catch-ing errors thrown by the next() function in your middlewares
  • react-router - Fix RequestHandler loadContext parameter type when middleware is enabled (#13204)
  • react-router - Update Route.unstable_MiddlewareFunction to have a return value of Response | undefined instead of Response | void (#13199)
  • @react-router/dev - When future.unstable_splitRouteModules is set to "enforce", allow both splittable and unsplittable root route exports since it's always in a single chunk (#13238)
  • @react-router/dev - When future.unstable_viteEnvironmentApi is enabled, allow plugins that override the default SSR environment (such as @cloudflare/vite-plugin) to be placed before or after the React Router plugin (#13183)

Changes by Package

Full Changelog: v7.3.0...v7.4.0

mjackson
published 0.0.0-nightly-bc437079e-20250318 •
mjackson
published 7.4.0-pre.0 •
mjackson
published 0.0.0-nightly-4f885c4f7-20250317 •
mjackson
published 0.0.0-nightly-cd50dc631-20250315 •
mjackson
published 0.0.0-nightly-5ab7ff74e-20250314 •
2345
73