fix(deps): update react-router monorepo to v7.6.0 #204
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.5.3
->7.6.0
7.5.3
->7.6.0
Release Notes
remix-run/react-router (react-router)
v7.6.0
Compare Source
Minor Changes
Added a new
react-router.config.ts
routeDiscovery
option to configure Lazy Route Discovery behavior. (#13451)/__manifest
path:routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }
routeDiscovery: { mode: "lazy", manifestPath: "/custom-manifest" }
routeDiscovery: { mode: "initial" }
Add support for route component props in
createRoutesStub
. This allows you to unit test your route components using the props instead of the hooks: (#13528)Patch Changes
Fix
react-router
module augmentation forNodeNext
(#13498)Don't bundle
react-router
inreact-router/dom
CJS export (#13497)Fix bug where a submitting
fetcher
would get stuck in aloading
state if a revalidatingloader
redirected (#12873)Fix hydration error if a server
loader
returnedundefined
(#13496)Fix initial load 404 scenarios in data mode (#13500)
Stabilize
useRevalidator
'srevalidate
function (#13542)Preserve status code if a
clientAction
throws adata()
result in framework mode (#13522)Be defensive against leading double slashes in paths to avoid
Invalid URL
errors from the URL constructor (#13510)new URL("//", window.location.origin)
Remove
Navigator
declaration fornavigator.connection.saveData
to avoid messing with any other types beyondsaveData
in userland (#13512)Fix
handleError
params
values on.data
requests for routes with a dynamic param as the last URL segment (#13481)Don't trigger an
ErrorBoundary
UI before the reload when we detect a manifest verison mismatch in Lazy Route Discovery (#13480)Inline
turbo-stream@2.4.1
dependency and fix decoding ordering of Map/Set instances (#13518)Only render dev warnings in DEV mode (#13461)
UNSTABLE: Fix a few bugs with error bubbling in middleware use-cases (#13538)
Short circuit post-processing on aborted
dataStrategy
requests (#13521)Cannot read properties of undefined (reading 'result')
remix-run/react-router (react-router-dom)
v7.6.0
Compare Source
Patch Changes
react-router@7.6.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.