chore(deps): bump react-router from 7.5.0 to 7.6.0
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(7 months ago)
(7 months ago)
dependencies javascript
Bumps react-router from 7.5.0 to 7.6.0.
Release notes
Sourced from react-router's releases.
v7.6.0
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v760
v7.5.3
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v753
v7.5.2
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v752
v7.5.1
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v751
Changelog
Sourced from react-router's changelog.
7.6.0
Minor Changes
Added a new
react-router.config.tsrouteDiscoveryoption to configure Lazy Route Discovery behavior. (#13451)
- By default, Lazy Route Discovery is enabled and makes manifest requests to the
/__manifestpath:
routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" }- You can modify the manifest path used:
routeDiscovery: { mode: "lazy", manifestPath: "/custom-manifest" }- Or you can disable this feature entirely and include all routes in the manifest on initial document load:
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)let RoutesStub = createRoutesStub([ { path: "/", Component({ loaderData }) { let data = loaderData as { message: string }; return <pre data-testid="data">Message: {data.message}</pre>; }, loader() { return { message: "hello" }; }, }, ]);render(<RoutesStub />);
await waitFor(() => screen.findByText("Message: hello"));
Patch Changes
Fix
react-routermodule augmentation forNodeNext(#13498)Don't bundle
react-routerinreact-router/domCJS export (#13497)Fix bug where a submitting
fetcherwould get stuck in aloadingstate if a revalidatingloaderredirected (#12873)Fix hydration error if a server
loaderreturnedundefined(#13496)Fix initial load 404 scenarios in data mode (#13500)
Stabilize
useRevalidator'srevalidatefunction (#13542)Preserve status code if a
clientActionthrows adata()result in framework mode (#13522)
... (truncated)
Commits
c29148echore: Update version for release (#13561)3adc571chore: Update version for release (pre) (#13545)0fe5d6dFix middleware error bubbling scenarios (#13538)1678d41feat(react-router): stabilizeuseRevalidator'srevalidate(#13542)5af3eaaAdd component props support to createRoutesStub (#13528)4e427a3Short circuit dataStrategy post processing on aborted requests (#13521)7583dc7Preserve status code on clientAction throw data() results (#13522)26ecf2fFix fetcher state stuck onloadingif a loader redirects (#12873)5a966cbInline turbo-stream@2.4.1 and fix decode ordering of Map/Set instances (#13518)eb59d5ffeat(react-router): don't bundlereact-routerinreact-router/domexport ...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+5
-17
Package Dependencies
Technical Details
| ID: | 938381 |
| UUID: | 2512412876 |
| Node ID: | PR_kwDONo8l_c6VwGDM |
| Host: | GitHub |
| Repository: | gh-buddy/ui-react-typescript-redux-sass-template |
| Merge State: | Unknown |