fix(deps): update dependency react-router-native to ^6.30.4#214
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency react-router-native to ^6.30.4#214renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
768422e to
5c6f8f1
Compare
5c6f8f1 to
1a3960b
Compare
1a3960b to
8fbd8ee
Compare
8fbd8ee to
e5bb9a3
Compare
e5bb9a3 to
311aa80
Compare
311aa80 to
1385ef4
Compare
1385ef4 to
632427d
Compare
632427d to
3f3b678
Compare
3f3b678 to
dec4548
Compare
dec4548 to
b85f5c7
Compare
b85f5c7 to
b1d8b41
Compare
b1d8b41 to
672ce5b
Compare
672ce5b to
4255370
Compare
4255370 to
d8a7ba3
Compare
d8a7ba3 to
fe17096
Compare
2325fd7 to
c0aa634
Compare
c0aa634 to
1728a8b
Compare
1728a8b to
6523f44
Compare
6523f44 to
a49f6fe
Compare
a49f6fe to
9113f0f
Compare
9113f0f to
5d2b5a7
Compare
5d2b5a7 to
622bf0f
Compare
622bf0f to
279d0a4
Compare
279d0a4 to
5de2a77
Compare
5de2a77 to
0be6694
Compare
0be6694 to
46e3356
Compare
46e3356 to
06992bb
Compare
06992bb to
1826b9c
Compare
1826b9c to
4542e73
Compare
4542e73 to
bc67887
Compare
bc67887 to
52dfd63
Compare
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:
^6.16.0→^6.30.4Release Notes
remix-run/react-router (react-router-native)
v6.30.4Compare Source
v6.30.3Compare Source
v6.30.2Compare Source
Date: 2025-11-13
Security Notice
This release addresses 1 security vulnerability:
Patch Changes
resolvePath(#14537)Full Changelog:
v6.30.1...v6.30.2v6.30.1Compare Source
Date: 2025-05-20
Patch Changes
6.29.0to reduce calls tomatchRoutesbecause it surfaced other issues (#13623)v7_relativeSplatPathis set tofalse(#13502)Full Changelog:
v6.30.0...v6.30.1v6.30.0Compare Source
Date: 2025-02-27
Minor Changes
fetcherKeyas a parameter topatchRoutesOnNavigation(#13109)Patch Changes
6.29.0via #12169 that caused issues navigating to hash routes inside splat routes for applications using Lazy Route Discovery (patchRoutesOnNavigation) (#13108)Full Changelog:
v6.29.0...v6.30.0v6.29.0Compare Source
Date: 2025-01-30
Minor Changes
signalas a parameter topatchRoutesOnNavigation(#12900)Patch Changes
data()result (#12845)matchRoutescalls when possible (#12169)patchRoutesOnNavigationpathparam for fetcher calls (#12899)Full Changelog:
v6.28.2...v6.29.0v6.28.2Compare Source
Date: 2025-01-16
Patch Changes
keyusage when not opted intofuture.v7_fetcherPersist(#12674)Full Changelog:
v6.28.1...v6.28.2v6.28.1Compare Source
Date: 2024-12-20
Patch Changes
false(#12441)Full Changelog:
v6.28.0...v6.28.1v6.28.0Compare Source
Date: 2024-11-06
What's Changed
Minor Changes
json/deferin favor of returning raw objectsPatch Changes
Full Changelog:
v6.27.0...v6.28.0v6.27.0Compare Source
Date: 2024-10-11
What's Changed
Stabilized APIs
This release stabilizes a handful of "unstable" APIs in preparation for the pending React Router v7 release (see these posts for more info):
unstable_dataStrategy→dataStrategy(createBrowserRouterand friends) (Docs)unstable_patchRoutesOnNavigation→patchRoutesOnNavigation(createBrowserRouterand friends) (Docs)unstable_flushSync→flushSync(useSubmit,fetcher.load,fetcher.submit) (Docs)unstable_viewTransition→viewTransition(<Link>,<Form>,useNavigate,useSubmit) (Docs)Minor Changes
unstable_flushSyncoption for navigations and fetchers (#11989)unstable_viewTransitionoption for navigations and the correspondingunstable_useViewTransitionStatehook (#11989)unstable_dataStrategy(#11974)unstable_patchRoutesOnNavigation(#11973)PatchRoutesOnNavigationFunctionArgstype for convenience (#11967)Patch Changes
?indexparam already exists from a prior submission (#12003)useFormActionbug - when removing?indexparam it would not keep other non-Remixindexparams (#12003)preventScrollResetthrough redirects during concurrent fetches (#11999)console.erroron fetcher abort due to back-to-back revalidation calls (#12050)partialHydrationwhen hydrating with errors (#12070)patchRoutesOnNavigationcalls (#12055)unstable_APIpatchRoutesOnNavigationinternally so that multiple navigations with the same start/end would only execute the function once and use the same promisepatchshort circuiting if a navigation was interrupted (and therequest.signalaborted) since the first invocation'spatchwould no-opimport()for async routes will already be cached automatically - and if not it's easy enough for users to implement this cache in userlanddiscoveredRoutesFIFO queue fromunstable_patchRoutesOnNavigation(#11977)unstable_APIpatchRoutesOnNavigationRouteObjectwithinPatchRoutesOnNavigationFunction'spatchmethod so it doesn't expect agnostic route objects passed topatch(#11967)patchRoutesOnNavigationdirectly touseRouteErrorinstead of wrapping them in a 400ErrorResponseinstance (#12111)Full Changelog:
v6.26.2...v6.27.0v6.26.2Compare Source
Date: 2024-09-09
Patch Changes
unstable_dataStrategyAPI to allow for more advanced implementations (#11943)unstable_dataStrategy, please review carefully as this includes breaking changes to this APIunstable_HandlerResulttounstable_DataStrategyResultunstable_dataStrategyfrom a parallel array ofunstable_DataStrategyResult[](parallel tomatches) to a key/value object ofrouteId => unstable_DataStrategyResultmatch.shouldLoad)handlerOverrideinstead of returning aDataStrategyResulthandlerOverridewill be wrapped up into aDataStrategyResultand returned frommmatch.resolvematch.resolve()into a final results object you should not need to think about theDataStrategyResulttypehandlerOverride, then you will need to assign aDataStrategyResultas the value so React Router knows if it's a successful execution or an error (see examples in the documentation for details)fetcherKeyparameter tounstable_dataStrategyto allow differentiation from navigational and fetcher callsblocker.proceedis called quickly/synchronously (#11930)Full Changelog:
v6.26.1...v6.26.2v6.26.1Compare Source
Date: 2024-08-15
Patch Changes
unstable_patchRoutesOnMisstounstable_patchRoutesOnNavigationto match new behavior (#11888)unstable_patchRoutesOnNavigationlogic so that we call the method when we match routes with dynamic param or splat segments in case there exists a higher-scoring static route that we've not yet discovered (#11883)unstable_patchRoutesOnNavigationagainst so that we don't re-call on subsequent navigations to the same pathFull Changelog:
v6.26.0...v6.26.1v6.26.0Compare Source
Date: 2024-08-01
Minor Changes
replace(url, init?)alternative toredirect(url, init?)that performs ahistory.replaceStateinstead of ahistory.pushStateon client-side navigation redirects (#11811)unstable_data()API for usage with Remix Single Fetch (#11836)createStaticHandler.query()to allow loaders/actions to return arbitrary data along with customstatus/headerswithout forcing the serialization of data into aResponseinstanceunstable_dataStrategysuch as serializing viaturbo-streamin Remix Single Fetchstatusfield fromHandlerResultstatusfromunstable_dataStrategyyou should instead do so viaunstable_data()Patch Changes
future.v7_partialHydrationalong withunstable_patchRoutesOnMiss(#11838)router.state.matcheswill now include any partial matches so that we can render ancestorHydrateFallbackcomponentsFull Changelog:
v6.25.1...v6.26.0v6.25.1Compare Source
Date: 2024-07-17
Patch Changes
RouterProviderinternals to reduce unnecessary re-renders (#11803)Full Changelog:
v6.25.0...v6.25.1v6.25.0Compare Source
Date: 2024-07-16
What's Changed
Stabilized
v7_skipActionErrorRevalidationThis release stabilizes the
future.unstable_skipActionErrorRevalidationflag intofuture.v7_skipActionErrorRevalidationin preparation for the upcoming React Router v7 release.4xx/5xxResponsewill not trigger a revalidation by defaultshouldRevalidate'sunstable_actionStatusparameter toactionStatusMinor Changes
future.unstable_skipActionErrorRevalidationasfuture.v7_skipActionErrorRevalidation(#11769)Patch Changes
useMatchso matches/params reflect decoded params (#11789)unstable_patchRoutesOnMiss(#11786)unstable_patchRoutesOnMissthat matched a splat route on the server (#11790)Full Changelog:
v6.24.1...v6.25.0v6.24.1Compare Source
Date: 2024-07-03
Patch Changes
polyfill.ioreference from warning message because the domain was sold and has since been determined to serve malware (#11741)NavLinkRenderPropstype for easier typing of customNavLinkcallback (#11553)future.v7_relativeSplatPath, properly resolve relative paths in splat routes that are children of pathless routes (#11633)router.routesidentity/reflow during route patching (#11740)Full Changelog:
v6.24.0...v6.24.1v6.24.0Compare Source
Date: 2024-06-24
What's Changed
Lazy Route Discovery (a.k.a. "Fog of War")
We're really excited to release our new API for "Lazy Route Discovery" in
v6.24.0! For some background information, please check out the original RFC. The tl;dr; is that ever since we introduced the Data APIs in v6.4 via<RouterProvider>, we've been a little bummed that one of the tradeoffs was the lack of a compelling code-splitting story mirroring what we had in the<BrowserRouter>/<Routes>apps. We took a baby-step towards improving that story withroute.lazyinv6.9.0, but withv6.24.0we've gone the rest of the way.With "Fog of War", you can now load portions of the route tree lazily via the new
unstable_patchRoutesOnMissoption passed tocreateBrowserRouter(and it's memory/hash counterparts). This gives you a way to hook into spots where React Router is unable to match a given path and patch new routes into the route tree during the navigation (or fetcher call).Here's a very small example, but please refer to the documentation for more information and use cases:
Minor Changes
Patch Changes
fetcher.submittypes - remove incorrectnavigate/fetcherKey/unstable_viewTransitionoptions because they are only relevant foruseSubmit(#11631)location.statevalues passed to<StaticRouter>(#11495)Full Changelog:
v6.23.1...v6.24.0v6.23.1Compare Source
Date: 2024-05-10
Patch Changes
undefinedto be resolved through<Await>(#11513)documentcheck when checking fordocument.startViewTransitionavailability (#11544)react-router-dom/serverimport back toreact-router-dominstead ofindex.ts(#11514)@remix-run/router- Supportunstable_dataStrategyonstaticHandler.queryRoute(#11515)Full Changelog:
v6.23.0...v6.23.1v6.23.0Compare Source
Date: 2024-04-23
What's Changed
Data Strategy (unstable)
The new
unstable_dataStrategyAPI is a low-level API designed for advanced use-cases where you need to take control over the data strategy for yourloader/actionfunctions. The default implementation is today's behavior, to fetch all loaders in parallel, but this option allows users to implement more advanced data flows including Remix "Single Fetch", user-land middleware/context APIs, automatic loader caching, and more. Please see the docs for more information.Note: This is a low-level API intended for advanced use-cases. This overrides React Router's internal handling of
loader/actionexecution, and if done incorrectly will break your app code. Please use with caution and perform the appropriate testing.Skip Action Error Revalidation (unstable)
Currently, all active
loader's revalidate after anyactionsubmission, regardless of theactionresult. However, in the majority of cases a4xx/5xxresponse from anactionmeans that no data was actually changed and the revalidation is unnecessary. We've introduced a newfuture.unstable_skipActionErrorRevalidationflag that changes the behavior here, and we plan to make this the default in future version of React Router.With this flag enabled,
action's that return/throw a4xx/5xxresponse status will no longer automatically revalidate. If you need to revalidate after a4xx/5xxresult with this flag enabled, you can still do that via returningtruefromshouldRevalidate- which now also receives a newunstable_actionStatusargument alongsideactionResultso you can make decision based on the status of theactionresponse without having to encode it into the action data.Minor Changes
unstable_dataStrategyconfiguration option (#11098, #11377)@remix-run/router- Add a newfuture.unstable_skipActionRevalidationfuture flag (#11098)@remix-run/router- SSR: Added a newskipLoaderErrorBubblingoptions to thestaticHandler.querymethod to disable error bubbling by the static handler for use in Remix's Single Fetch implementation (#11098, (#11377))Full Changelog:
v6.22.3...v6.23.0v6.22.3Compare Source
v6.22.2Compare Source
v6.22.1Compare Source
v6.22.0Compare Source
v6.21.3Compare Source
v6.21.2Compare Source
v6.21.1Compare Source
v6.21.0Compare Source
v6.20.1Compare Source
v6.20.0Compare Source
v6.19.0Compare Source
v6.18.0Compare Source
v6.17.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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.