Skip to content

chore(deps): update dependency react-router to v7.13.2#657

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-router-monorepo
Open

chore(deps): update dependency react-router to v7.13.2#657
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-router-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 18, 2026

This PR contains the following updates:

Package Change Age Confidence
react-router (source) 7.13.17.13.2 age confidence

Release Notes

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

v7.13.2

Compare Source

Patch Changes
  • Fix clientLoader.hydrate when an ancestor route is also hydrating a clientLoader (#​14835)

  • Fix type error when passing Framework Mode route components using Route.ComponentProps to createRoutesStub (#​14892)

  • Fix percent encoding in relative path navigation (#​14786)

  • Add future.unstable_passThroughRequests flag (#​14775)

    By default, React Router normalizes the request.url passed to your loader, action, and middleware functions by removing React Router's internal implementation details (.data suffixes, index + _routes query params).

    Enabling this flag removes that normalization and passes the raw HTTP request instance to your handlers. This provides a few benefits:

    • Reduces server-side overhead by eliminating multiple new Request() calls on the critical path
    • Allows you to distinguish document from data requests in your handlers base don the presence of a .data suffix (useful for observability purposes)

    If you were previously relying on the normalization of request.url, you can switch to use the new sibling unstable_url parameter which contains a URL instance representing the normalized location:

    // ❌ Before: you could assume there was no `.data` suffix in `request.url`
    export async function loader({ request }: Route.LoaderArgs) {
      let url = new URL(request.url);
      if (url.pathname === "/path") {
        // This check will fail with the flag enabled because the `.data` suffix will
        // exist on data requests
      }
    }
    
    // ✅ After: use `unstable_url` for normalized routing logic and `request.url`
    // for raw routing logic
    export async function loader({ request, unstable_url }: Route.LoaderArgs) {
      if (unstable_url.pathname === "/path") {
        // This will always have the `.data` suffix stripped
      }
    
      // And now you can distinguish between document versus data requests
      let isDataRequest = new URL(request.url).pathname.endsWith(".data");
    }
  • Internal refactor to consolidate framework-agnostic/React-specific route type layers - no public API changes (#​14765)

  • Sync protocol validation to rsc flows (#​14882)

  • Add a new unstable_url: URL parameter to route handler methods (loader, action, middleware, etc.) representing the normalized URL the application is navigating to or fetching, with React Router implementation details removed (.datasuffix, index/_routes query params) (#​14775)

    This is being added alongside the new future.unstable_passthroughRequests future flag so that users still have a way to access the normalized URL when that flag is enabled and non-normalized request's are being passed to your handlers. When adopting this flag, you will only need to start leveraging this new parameter if you are relying on the normalization of request.url in your application code.

    If you don't have the flag enabled, then unstable_url will match request.url.


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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


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

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

@renovate renovate bot requested a review from a team as a code owner March 18, 2026 18:55
@renovate renovate bot added bump-framework-in-fixtures Testing a Remix version bump against our test fixtures dependencies Pull requests that update a dependency file javascript labels Mar 18, 2026
@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for remix-serverless ready!

Name Link
🔨 Latest commit 09dcd19
🔍 Latest deploy log https://app.netlify.com/projects/remix-serverless/deploys/69c1588c3b046b0008665afc
😎 Deploy Preview https://deploy-preview-657--remix-serverless.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.

@netlify
Copy link

netlify bot commented Mar 18, 2026

Deploy Preview for remix-edge ready!

Name Link
🔨 Latest commit 09dcd19
🔍 Latest deploy log https://app.netlify.com/projects/remix-edge/deploys/69c1588c98307e000858e760
😎 Deploy Preview https://deploy-preview-657--remix-edge.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.

@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label Mar 18, 2026
kodiakhq[bot]
kodiakhq bot previously approved these changes Mar 18, 2026
@renovate renovate bot force-pushed the renovate/react-router-monorepo branch from e1afa8c to 3af0f00 Compare March 19, 2026 15:12
kodiakhq[bot]
kodiakhq bot previously approved these changes Mar 19, 2026
@renovate renovate bot enabled auto-merge (squash) March 23, 2026 15:13
@renovate renovate bot changed the title chore(deps): update react-router monorepo to ^7.13.2-pre chore(deps): update dependency react-router to v7.13.2 Mar 23, 2026
@renovate renovate bot force-pushed the renovate/react-router-monorepo branch from 3af0f00 to 09dcd19 Compare March 23, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-framework-in-fixtures Testing a Remix version bump against our test fixtures dependencies Pull requests that update a dependency file javascript type: chore work needed to keep the product and development running smoothly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants