Skip to content

Update react-router-dom 7.6.3 → 7.7.1 (minor) #331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2025

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Jul 31, 2025

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ react-router-dom (7.6.3 → 7.7.1) · Repo · Changelog

Release Notes

7.7.1 (from changelog)

Date: 2025-07-24

Patch Changes

  • @react-router/dev - Update to Prettier v3 for formatting when running react-router reveal --no-typescript (#14049)

Unstable Changes

⚠️ Unstable features are not recommended for production use

  • react-router - RSC Data Mode: fix bug where routes with errors weren't forced to revalidate when shouldRevalidate returned false (#14026)
  • react-router - RSC Data Mode: fix Matched leaf route at location "/..." does not have an element or Component warnings when error boundaries are rendered (#14021)

Full Changelog: v7.7.0...v7.7.1

7.7.0 (from changelog)

Date: 2025-07-16

What's Changed

Unstable RSC APIs

We're excited to introduce experimental support for RSC in Data Mode via the following new APIs:

For more information, check out the blog post and the RSC Docs.

Minor Changes

  • create-react-router - Add Deno as a supported and detectable package manager. Note that this detection will only work with Deno versions 2.0.5 and above. If you are using an older version version of Deno then you must specify the --package-manager CLI flag set to deno. (#12327)
  • @react-router/remix-config-routes-adapter - Export DefineRouteFunction type alongside DefineRoutesFunction (#13945)

Patch Changes

  • react-router - Handle InvalidCharacterError when validating cookie signature (#13847)

  • react-router - Pass a copy of searchParams to the setSearchParams callback function to avoid mutations of the internal searchParams instance (#12784)

    • This causes bugs if you mutate the current stateful searchParams when a navigation is blocked because the internal instance gets out of sync with useLocation().search
  • react-router - Support invalid Date in turbo-stream v2 fork (#13684)

  • react-router - In Framework Mode, clear critical CSS in development after initial render (#13872, #13995)

  • react-router - Strip search parameters from patchRoutesOnNavigation path param for fetcher calls (#13911)

  • react-router - Skip scroll restoration on useRevalidator() calls because they're not new locations (#13671)

  • react-router - Support unencoded UTF-8 routes in prerender config with ssr set to false (#13699)

  • react-router - Do not throw if the url hash is not a valid URI component (#13247)

  • react-router - Remove Content-Length header from Single Fetch responses (#13902)

  • react-router - Fix a regression in createRoutesStub introduced with the middleware feature (#13946)

    • As part of that work we altered the signature to align with the new middleware APIs without making it backwards compatible with the prior AppLoadContext API

    • This permitted createRoutesStub to work if you were opting into middleware and the updated context typings, but broke createRoutesStub for users not yet opting into middleware

    • We've reverted this change and re-implemented it in such a way that both sets of users can leverage it

    • ⚠️ This may be a breaking bug for if you have adopted the unstable Middleware feature and are using createRoutesStub with the updated API.

      // If you have not opted into middleware, the old API should work again
      let context: AppLoadContext = {
      /.../
      };
      let Stub = createRoutesStub(routes, context);

      // If you have opted into middleware, you should now pass an instantiated
      // unstable_routerContextProvider instead of a getContext factory function.
      let context = new unstable_RouterContextProvider();
      context.set(SomeContext, someValue);
      let Stub = createRoutesStub(routes, context);

  • @react-router/dev - Update vite-node to ^3.2.2 to support Vite 7 (#13781)

  • @react-router/dev - Properly handle https protocol in dev mode (#13746)

  • @react-router/dev - Fix missing styles when Vite's build.cssCodeSplit option is disabled (#13943)

  • @react-router/dev - Allow .mts and .mjs extensions for route config file (#13931)

  • @react-router/dev - Fix prerender file locations when cwd differs from project root (#13824)

  • @react-router/dev - Improve chunk error logging when a chunk cannot be found during the build (#13799)

  • @react-router/dev - Fix incorrectly configured externalConditions which had enabled module condition for externals and broke builds with certain packages (like Emotion) (#13871)

Unstable Changes

⚠️ Unstable features are not recommended for production use

Changes by Package

Full Changelog: v7.6.3...v7.7.0

Does any of this look wrong? Please let us know.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot requested a review from canova as a code owner July 31, 2025 18:25
@depfu depfu bot added the dependencies Pull requests that update a dependency file label Jul 31, 2025
Copy link

netlify bot commented Jul 31, 2025

Deploy Preview for firefox-devtools-react-contextmenu ready!

Name Link
🔨 Latest commit 62ac56f
🔍 Latest deploy log https://app.netlify.com/projects/firefox-devtools-react-contextmenu/deploys/688bb51b65b455000885af49
😎 Deploy Preview https://deploy-preview-331--firefox-devtools-react-contextmenu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@canova canova merged commit 6f21ce4 into master Aug 4, 2025
6 checks passed
@depfu depfu bot deleted the depfu/update/yarn/react-router-dom-7.7.1 branch August 4, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant