You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encode path params in href/generatePath per RFC 3986 path-segment rules instead of encodeURIComponent (#15310)
Characters that are valid literally in a path segment ($ & + , ; = : @ — RFC 3986 pchar) are no longer percent-encoded, so values like a semver build 1.0.0+1 interpolate unchanged instead of becoming 1.0.0%2B1
Structural/unsafe characters (/ ? # %, whitespace, non-ASCII) are still escaped exactly as before
Use crypto.randomUUID() for createMemorySessionStorage session ids (#15302)
createMemorySessionStorage is only intended for local development and testing - sessions are lost when the server restarts
Fix NavLink not applying its pending state when to has a trailing slash (#15300)
Preserve RSC route component metadata so routes with a clientLoader can skip unnecessary server requests once their components have rendered while still fetching missing server-rendered elements (#15323)
Detect stale RSC clients during lazy route discovery and reload the destination document (#15318)
Migration
Apps using the default RSC Framework entry do not need to make any changes. Apps with a custom entry.rsc.tsx should import the generated client version and pass it to unstable_matchRSCServerRequest:
Add CSP nonce support to RSC document rendering (#15320)
Add nonce options to unstable_routeRSCServerRequest and unstable_RSCStaticRouter
Forward the nonce to the HTML renderer and apply it to injected RSC payload scripts and nonce-aware framework components
To adopt nonce-based CSP, update your entry.ssr.tsx (run react-router reveal entry.ssr first in RSC Framework Mode) to generate a fresh nonce for each request. Pass it to routeRSCServerRequest, spread the renderHTML options into React's HTML renderer, pass options.nonce to RSCStaticRouter, and use the same nonce in the Content-Security-Policy response header:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
React Router v8 updates the following minimum supported versions:
Node 22.22.0+
Starting with v8, React Router will officially support all Active LTS node versions and only the latest minor branch of > Maintenance LTS versions
This better allows us to bump minimum Maintenance LTS versions to account for newly released security patches
It also allows us to more quickly and easily adopt new Active LTS features backported to Maintenance LTS lines
Upgraded minimum Maintenance LTS versions will be done in React Router minor releases
React 19.2.7+
Vite 7+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps react-router from 7.14.2 to 8.3.0.
Release notes
Sourced from react-router's releases.
Changelog
Sourced from react-router's changelog.
... (truncated)
Commits
2edaca7Release v8.3.0 (#15294)687ab72Prep release notesd2f1f1bupdate changes files to use h4 instead of h3 (#15334)8186207fix(rsc): preserve component metadata for client loader revalidation (#15323)c26e431feat(rsc): support CSP nonces in document rendering (#15320)6286f90feat(rsc): reload stale clients after new deployments (#15318)3d83ad4docs: fix useLinkClickHandler defaultShouldRevalidate default description (#1...f75c89fUpdate docs links to v8 API reference (#15316)baa9ba6fix: encode path params per RFC 3986 path-segment rules in href/generatePath ...69debd1fix: apply NavLink pending state when the to prop has a trailing slash (#15300)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.