Update dependency remix-run/react-router to v7.13.2#156
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
7.13.1→7.13.2Release Notes
remix-run/react-router (remix-run/react-router)
v7.13.2Compare Source
Date: 2026-03-23
What's Changed
Pass-through Requests (unstable)
By default, React Router normalizes the
request.urlpassed to yourloader,action, andmiddlewarefunctions by removing React Router's internal implementation details (.datasuffixes,index+_routesquery params). This release introduces a newfuture.unstable_passThroughRequestsflag to disable this normalization and pass the raw HTTPrequestinstance to your handlers.In addition to reducing server-side overhead by eliminating multiple
new Request()calls on the critical path, this also provides additional visibility to your route handlers/instrumentations allowing you to differentiate document from data requests.If you were previously relying on the normalization of
request.url, you can switch to use the new siblingunstable_urlparameter which contains aURLinstance representing the normalized location:Route handlers/middleware
unstable_urlparameterWe have added a new
unstable_url: URLparameter to route handler methods (loader,action,middleware, etc.) that contains the normalized URL the application is navigating to or fetching with React Router implementation details removed (.datasuffix,index/_routesquery params).This parameter is primarily needed when adopting the new
future.unstable_passthroughRequestsfuture flag as a way to continue accessing the normalized URL. If you don't have the flag enabled, thenunstable_urlwill matchrequest.url.Patch Changes
react-router- FixclientLoader.hydratewhen an ancestor route is also hydrating aclientLoader(#14835)react-router- Fix type error when passing Framework Mode route components usingRoute.ComponentPropstocreateRoutesStub(#14892)react-router- Fix percent encoding in relative path navigation (#14786)react-router- Internal refactor to consolidate framework-agnostic/React-specific route type layers - no public API changes (#14765)@react-router/dev- Fixreact-router devcrash when Unix socket files exist in the project root (#14854)@react-router/dev- Escape redirect locations in pre-rendered redirect HTML (#14880)create-react-router- replacechalkwithpicocolors(#14837)Unstable Changes
react-router- Sync protocol validation to RSC flows (#14882)react-router- Addfuture.unstable_passThroughRequestsflag (#14775)react-router- Add a newunstable_url: URLparameter 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/_routesquery params) (#14775)Full Changelog:
v7.13.1...v7.13.2Configuration
📅 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: 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.