Skip to content

fix(deps): update react-router monorepo to v7.13.1 (main)#8403

Merged
caohuilin merged 2 commits intomainfrom
renovate/main-react-router-monorepo
Mar 2, 2026
Merged

fix(deps): update react-router monorepo to v7.13.1 (main)#8403
caohuilin merged 2 commits intomainfrom
renovate/main-react-router-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 1, 2026

This PR contains the following updates:

Package Change Age Confidence
react-router (source) 7.13.07.13.1 age confidence
react-router-dom (source) 7.13.07.13.1 age confidence
react-router-dom (source) 7.12.07.13.1 age confidence
react-router-dom (source) >=7.12.0>=7.13.1 age confidence
react-router-dom (source) ^7.12.0^7.13.1 age confidence

Release Notes

remix-run/react-router (react-router)

v7.13.1

Compare Source

Patch Changes
  • fix null reference exception in bad codepath leading to invalid route tree comparisons (#​14780)

  • fix: clear timeout when turbo-stream encoding completes (#​14810)

  • Improve error message when Origin header is invalid (#​14743)

  • Fix matchPath optional params matching without a "/" separator. (#​14689)

    • matchPath("/users/:id?", "/usersblah") now returns null.
    • matchPath("/test_route/:part?", "/test_route_more") now returns null.
  • add RSC unstable_getRequest (#​14758)

  • Fix HydrateFallback rendering during initial lazy route discovery with matching splat route (#​14740)

  • [UNSTABLE] Add support for <Link unstable_mask> in Data Mode which allows users to navigate to a URL in the router but "mask" the URL displayed in the browser. This is useful for contextual routing usages such as displaying an image in a model on top of a gallery, but displaying a browser URL directly to the image that can be shared and loaded without the contextual gallery in the background. (#​14716)

    // routes/gallery.tsx
    export function clientLoader({ request }: Route.LoaderArgs) {
      let sp = new URL(request.url).searchParams;
      return {
        images: getImages(),
        // When the router location has the image param, load the modal data
        modalImage: sp.has("image") ? getImage(sp.get("image")!) : null,
      };
    }
    
    export default function Gallery({ loaderData }: Route.ComponentProps) {
      return (
        <>
          <GalleryGrid>
            {loaderData.images.map((image) => (
              <Link
                key={image.id}
                {/* Navigate the router to /galley?image=N */}}
                to={`/gallery?image=${image.id}`}
                {/* But display /images/N in the URL bar */}}
                unstable_mask={`/images/${image.id}`}
              >
                <img src={image.url} alt={image.alt} />
              </Link>
            ))}
          </GalleryGrid>
    
          {/* When the modal data exists, display the modal */}
          {data.modalImage ? (
            <dialog open>
              <img src={data.modalImage.url} alt={data.modalImage.alt} />
            </dialog>
          ) : null}
        </>
      );
    }

    Notes:

    • The masked location, if present, will be available on useLocation().unstable_mask so you can detect whether you are currently masked or not.
    • Masked URLs only work for SPA use cases, and will be removed from history.state during SSR.
    • This provides a first-class API to mask URLs in Data Mode to achieve the same behavior you could do in Declarative Mode via manual backgroundLocation management.
  • RSC: Update failed origin checks to return a 400 status and appropriate UI instead of a generic 500 (#​14755)

  • Preserve query parameters and hash on manifest version mismatch reload (#​14813)

remix-run/react-router (react-router-dom)

v7.13.1

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Mar 1, 2026

⚠️ No Changeset found

Latest commit: f9f3ac5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Mar 1, 2026

Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit f9f3ac5
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/69a503174fc2e300083af85a
😎 Deploy Preview https://deploy-preview-8403--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 98 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@renovate renovate bot force-pushed the renovate/main-react-router-monorepo branch from 610a1e7 to 6bd384b Compare March 1, 2026 08:04
@caohuilin caohuilin enabled auto-merge (squash) March 2, 2026 03:29
@caohuilin caohuilin merged commit 94537cd into main Mar 2, 2026
10 checks passed
@caohuilin caohuilin deleted the renovate/main-react-router-monorepo branch March 2, 2026 03:31
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

Rsdoctor Bundle Diff Analysis

⚠️ Note: The latest commit (94537cd4ad) does not have baseline artifacts. Using commit 858bc05c83 for baseline comparison instead. If this seems incorrect, please wait a few minutes and try rerunning the workflow.

📊 Quick Summary
Project Total Size Change
bundle-diff 2.9 MB +6.7 KB (0.2%)
📋 Detailed Reports (Click to expand)

📁 bundle-diff

Path: benchmark/bundle-diff/dist/rsdoctor-data.json

📌 Baseline Commit: 858bc05c83 | PR: #8406

Metric Current Baseline Change
📊 Total Size 2.9 MB 2.9 MB +6.7 KB (0.2%)
📄 JavaScript 496.6 KB 495.3 KB +1.3 KB (0.3%)
🎨 CSS 1.2 KB 1.2 KB 0
🌐 HTML 5.9 KB 5.9 KB 0
📁 Other Assets 2.4 MB 2.4 MB +5.4 KB (0.2%)

📦 Download Diff Report: bundle-diff Bundle Diff

Generated by Rsdoctor GitHub Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant