Bump react-router from 8.3.0 to 8.5.1 #257
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #257"
general
weight: 0.35
mihaimaruseac
Bumps react-router from 8.3.0 to 8.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router's releases</a>.</em></p>
<blockquote>
<h2>v8.5.1</h2>
<p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v851</a></p>
<h2>v8.5.0</h2>
<p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v850">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v850</a></p>
<h2>v8.4.0</h2>
<p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v840</a></p>
<h2>v8.3.1</h2>
<p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v831</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router's changelog</a>.</em></p>
<blockquote>
<h2>v8.5.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>Fix <code>URIError: URI malformed</code> when an <code>ssr: false</code> dev server receives a URL path with a malformed percent-encoding (<a href="https://redirect.github.com/remix-run/react-router/pull/15649">#15649</a>)</li>
<li>Bound server route manifest processing for paths with expensive route expansion (<a href="https://redirect.github.com/remix-run/react-router/pull/15703">#15703</a>)
<ul>
<li>Fall back to initial route discovery during server rendering and RSC document/data requests</li>
<li>Account for the number and depth of candidate branches when using regex matching</li>
</ul>
</li>
<li>Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly (<a href="https://redirect.github.com/remix-run/react-router/pull/15640">#15640</a>)</li>
<li>Fix fetcher revalidation errors bubbling to the root error boundary instead of the nearest boundary above the route that owns the fetcher (<a href="https://redirect.github.com/remix-run/react-router/pull/15676">#15676</a>)</li>
<li>Avoid duplicate history entries when posting a <code><Form></code> to the current URL with an encoded <code>action</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/15679">#15679</a>)
<ul>
<li>Replace the current history entry when the <code>action</code> contains characters that get percent-encoded, such as spaces or non-ASCII characters</li>
</ul>
</li>
<li>Fix an unhandled promise rejection when the browser skips a <code>viewTransition</code> navigation, for example in a hidden tab (<a href="https://redirect.github.com/remix-run/react-router/pull/15582">#15582</a>)</li>
<li>Bubble rejected <code>lazy.Component</code> imports on loader-less routes to the nearest error boundary (<a href="https://redirect.github.com/remix-run/react-router/pull/15658">#15658</a>)
<ul>
<li>Render the error boundary instead of a blank page</li>
</ul>
</li>
<li>Preserve pending fetcher mutation revalidation when an older navigation or background reload completes to prevent stale loader data (<a href="https://redirect.github.com/remix-run/react-router/pull/15686">#15686</a>)
<ul>
<li>Keep newer fetcher loads cancellable and preserve them when earlier revalidations finish or abort, preventing older responses from overwriting fresh fetcher data</li>
</ul>
</li>
<li>Retry rejected <code>lazy</code> route imports instead of caching failures permanently (<a href="https://redirect.github.com/remix-run/react-router/pull/15689">#15689</a>)</li>
<li>Revalidate loader data when a fetcher action redirect is not followed (<a href="https://redirect.github.com/remix-run/react-router/pull/15557">#15557</a>)
<ul>
<li>Revalidate when an action redirect is ignored because a newer navigation started or the fetcher unmounted while the action was running</li>
<li>Include shared parent loaders when another navigation completed while the action was running</li>
<li>Continue to respect <code>shouldRevalidate</code></li>
<li>Return fetchers to <code>idle</code> when a revalidation completes a pending navigation started by another fetcher's redirect</li>
</ul>
</li>
<li>Avoid adding an incompatible <code>document.startViewTransition()</code> overload to the global <code>Document</code> type (<a href="https://redirect.github.com/remix-run/react-router/pull/15680">#15680</a>)
<ul>
<li>Allow transition results to be assigned to the DOM <code>ViewTransition</code> type</li>
</ul>
</li>
<li>Skip <code>deleteData</code> in <code>destroySession</code> when the session has no ID (<a href="https://redirect.github.com/remix-run/react-router/pull/15639">#15639</a>)
<ul>
<li>Avoid failures when destroying a session without a cookie on storage that rejects an empty key</li>
</ul>
</li>
<li>Surface the host's 404 response when a SPA fallback route has no prerendered data (<a href="https://redirect.github.com/remix-run/react-router/pull/15646">#15646</a>)
<ul>
<li>Request single-fetch <code>.data</code> files for hydrating routes with a server <code>loader</code> in an <code>ssr: false</code> app with a <code>prerender</code> config</li>
<li>Avoid the internal "No result found for routeId" error for non-prerendered parameterized paths served via the SPA fallback</li>
</ul>
</li>
<li>Improve turbo-stream decoding validation and object property handling (<a href="https://github.com/remix-run/react-router/commit/18e1fbd">18e1fbd</a>)</li>
</ul>
<h3>Unstable Changes</h3>
<p>⚠️ <em><a href="https://reactrouter.com/community/api-development-strategy#unstable-flags">Unstable features</a> are not recommended for production use</em></p>
<ul>
<li>Add an opt-in <code><Await unstable_promise={promise}></code> implementation based on React's <code>use()</code> API (<a href="https://redirect.github.com/remix-run/react-router/pull/15678">#15678</a>)
<ul>
<li>Use <code>React.use</code> instead of React Router's internal promise tracking</li>
<li>Accept promise-like values and retain <code>errorElement</code>, <code>useAsyncValue</code>, and <code>useAsyncError</code> support</li>
<li>Handle only promise rejections with <code>errorElement</code> when using <code>unstable_promise</code>, allowing child render errors to bubble to the nearest React error boundary</li>
<li>Track streamed promises during decoding so settled server content stays visible during hydration updates with either Await API or direct <code>React.use()</code></li>
</ul>
</li>
<li>Fix <code>URIError: URI malformed</code> when an API-only (<code>ssr: "unstable_api-only"</code>) server receives a URL path with a malformed percent-encoding (<a href="https://redirect.github.com/remix-run/react-router/pull/15649">#15649</a>)</li>
<li>Fix duplicate headers when throwing a redirect from an RSC server function (<a href="https://redirect.github.com/remix-run/react-router/pull/15667">#15667</a>)</li>
</ul>
<h2>v8.5.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>Deprecate React Router's view transition APIs in favor of React's <code><ViewTransition></code> component, available in React 19.3 and later (<a href="https://redirect.github.com/remix-run/react-router/pull/15493">#15493</a>)
<ul>
<li>Deprecate the <code>viewTransition</code> props/options, <code>useViewTransitionState</code>, and <code>NavLink</code>'s <code>isTransitioning</code> render prop and <code>transitioning</code> class</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remix-run/react-router/commit/a2783e6612b8424e9e1a5e3e2d69435805ee51dc"><code>a2783e6</code></a> Release v8.5.1 (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15656">#15656</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/69465b0c64423810d5ee02f5046b38f8e71a3983"><code>69465b0</code></a> docs: prepare 8.5.1 release notes</li>
<li><a href="https://github.com/remix-run/react-router/commit/393d7c13de73ad062d999b849f79cc2b3a36821c"><code>393d7c1</code></a> Bound server route manifest processing (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15703">#15703</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/18e1fbd1f5323ec39f18a6de74ba15465d46f164"><code>18e1fbd</code></a> Improve turbo-stream decoding validation and object property handling</li>
<li><a href="https://github.com/remix-run/react-router/commit/cc0b62ed87d2fd17133d8bf5b4f0be84a2eeb8b4"><code>cc0b62e</code></a> Add Await unstable_promise and preserve streamed content during hydration (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/1">#1</a>...</li>
<li><a href="https://github.com/remix-run/react-router/commit/a7db7973092e727c89366f5c2b7cbedbd9c9f16e"><code>a7db797</code></a> fix(react-router): retry rejected lazy route imports (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15689">#15689</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/3ef3def1d32bc03f5eed4f6e6687e24c39ef52bc"><code>3ef3def</code></a> fix(react-router): preserve pending mutation revalidation (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/15686">#15686</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/6cdc3fad1df3823b393c69218faf2ad73ea304e0"><code>6cdc3fa</code></a> fix(react-router): revalidate when an ignored fetcher action redirect is not ...</li>
<li><a href="https://github.com/remix-run/react-router/commit/b0a447757493d96e178adfaf6bf783749a2e56d3"><code>b0a4477</code></a> chore: format</li>
<li><a href="https://github.com/remix-run/react-router/commit/4f788dbb07d7d1d9e35082eb1f94dee0ab8cc7ab"><code>4f788db</code></a> Fix 404 on hard load of non-prerendered param route served via SPA fallback (...</li>
<li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/react-router@8.5.1/packages/react-router">compare view</a></li>
</ul>
</details>
<br />