@react-router/dev
8.5.2 · 18 Nov 2026MIT4.5M / weekRepositoryHomepagenpmAtom feed
8.5.2 is the newest release of 8.x.
In short
8 breaking1 removed2 new1 fixed3 internal
- Breaking
Remove
@react-router/dev/vite/cloudflaredev proxy export; use@cloudflare/vite-plugininstead - Breaking
Remove the
future.v8_trailingSlashAwareDataRequestsflag - Breaking
Remove
future.v8_passThroughRequestsflag - the raw incomingrequestis now always passed through toloader/action. - Breaking
Move
future.v8_splitRouteModulesto a top-levelsplitRouteModulesconfig option and change the default behavior totrue - Breaking
Update minimum Node version to 22.22.0
- Breaking
Require Vite 7+ and make the Vite Environment API build path mandatory
- Breaking
Removed the
future.v8_viteEnvironmentApiflag because the Vite Environment API is always enabled - Breaking
Removed the
future.unstable_previewServerPrerenderingflag and make prerendering with the Vite Environment API the default.
Release note
The section about @react-router/dev of a note shared by several packages.
Major Changes
- Breaking
Remove
@react-router/dev/vite/cloudflaredev proxy export; use@cloudflare/vite-plugininsteadDrops support for
wrangler@3as a peer dependency of@react-router/dev
- Breaking
Remove the
future.v8_trailingSlashAwareDataRequestsflagTrailing slash-aware data request URLs are now the default behavior.
- Breaking
Remove
future.v8_passThroughRequestsflag - the raw incomingrequestis now always passed through toloader/action. - Breaking
Move
future.v8_splitRouteModulesto a top-levelsplitRouteModulesconfig option and change the default behavior totrueSet
splitRouteModules: falseto keep route modules in a single chunkSet
splitRouteModules: "enforce"to require all routes to be splittable
- Breaking
Update minimum Node version to 22.22.0
- Breaking
Require Vite 7+ and make the Vite Environment API build path mandatory
- Breaking
Removed the
future.v8_viteEnvironmentApiflag because the Vite Environment API is always enabled - Breaking
Removed the
future.unstable_previewServerPrerenderingflag and make prerendering with the Vite Environment API the default.
Minor Changes
Bump dependencies
Bumped
@babel/corefrom^7.27.7to^7.29.7Bumped
@babel/generatorfrom^7.27.5to^7.29.7Bumped
@babel/parserfrom^7.27.7to^7.29.7Bumped
@babel/plugin-syntax-jsxfrom^7.27.1to^7.29.7Bumped
@babel/preset-typescriptfrom^7.27.1to^7.29.7Bumped
@babel/traversefrom^7.27.7to^7.29.7Bumped
@babel/typesfrom^7.27.7to^7.29.7Bumped
dedentfrom^1.5.3to^1.7.2Bumped
jsescfrom3.0.2to3.1.0Bumped
lodashfrom^4.17.21to^4.18.1Bumped
prettierfrom^3.6.2to^3.8.3Bumped
@remix-run/node-fetch-serverfrom^0.13.0to^0.13.3Bumped
react-refreshfrom^0.14.0to^0.18.0Bumped
semverfrom^7.3.7to^7.8.1Bumped
tinyglobbyfrom^0.2.14to^0.2.16Bumped
valibotfrom^1.2.0to^1.4.1
Replace
cookieandset-cookie-parserwithcookie-es- Removed
Removed the
vite-nodedependency in favor of Vite's native module runner APIs
Patch Changes
Bump dependencies
Bumped
@babel/corefrom^7.29.0to^7.29.7Bumped
@babel/generatorfrom^7.29.1to^7.29.7Bumped
@babel/parserfrom^7.29.3to^7.29.7Bumped
@babel/plugin-syntax-jsxfrom^7.28.6to^7.29.7Bumped
@babel/preset-typescriptfrom^7.28.5to^7.29.7Bumped
@babel/traversefrom^7.29.0to^7.29.7Bumped
@babel/typesfrom^7.29.0to^7.29.7Bumped
babel-dead-code-eliminationfrom^1.0.6to^1.0.12Bumped
chokidarfrom^4.0.0to^5.0.0Bumped
es-module-lexerfrom^1.3.1to^2.1.0Bumped
exit-hookfrom2.2.1to5.1.0Bumped
isbotfrom^5.1.11to^5.1.40Bumped
p-mapfrom^7.0.3to^7.0.4Bumped
pathefrom^1.1.2to^2.0.3Bumped
pkg-typesfrom^2.3.0to^2.3.1Bumped
react-refreshfrom^0.14.0to^0.18.0Bumped
semverfrom^7.8.0to^7.8.1Bumped
tinyglobbyfrom^0.2.14to^0.2.16Bumped
valibotfrom^1.4.0to^1.4.1
Fix Windows libuv assertion (
!(handle->flags & UV_HANDLE_CLOSING)insrc/win/async.c) during prerendering by usingnode:httpinstead offetchfor internal prerender requests against the Vite preview server
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.