-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency react-router-native to ^6.28.1 #214
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/react-router-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
October 31, 2023 16:08
768422e
to
5c6f8f1
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.17.0
fix(deps): update dependency react-router-native to ^6.18.0
Oct 31, 2023
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.18.0
fix(deps): update dependency react-router-native to ^6.19.0
Nov 16, 2023
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 16, 2023 17:31
5c6f8f1
to
1a3960b
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.19.0
fix(deps): update dependency react-router-native to ^6.20.0
Nov 22, 2023
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 22, 2023 18:45
1a3960b
to
8fbd8ee
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
December 1, 2023 22:09
8fbd8ee
to
e5bb9a3
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.20.0
fix(deps): update dependency react-router-native to ^6.20.1
Dec 1, 2023
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
December 13, 2023 22:18
e5bb9a3
to
311aa80
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.20.1
fix(deps): update dependency react-router-native to ^6.21.0
Dec 13, 2023
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.21.0
fix(deps): update dependency react-router-native to ^6.21.1
Dec 21, 2023
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
December 21, 2023 18:46
311aa80
to
1385ef4
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
January 11, 2024 17:32
1385ef4
to
632427d
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.21.1
fix(deps): update dependency react-router-native to ^6.21.2
Jan 11, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
January 18, 2024 21:56
632427d
to
3f3b678
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.21.2
fix(deps): update dependency react-router-native to ^6.21.3
Jan 18, 2024
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.21.3
fix(deps): update dependency react-router-native to ^6.22.0
Feb 1, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 1, 2024 22:04
3f3b678
to
dec4548
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 16, 2024 22:24
dec4548
to
b85f5c7
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.22.0
fix(deps): update dependency react-router-native to ^6.22.1
Feb 16, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 28, 2024 22:06
b85f5c7
to
b1d8b41
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.22.1
fix(deps): update dependency react-router-native to ^6.22.2
Feb 28, 2024
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.22.2
fix(deps): update dependency react-router-native to ^6.22.3
Mar 7, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
March 7, 2024 16:59
b1d8b41
to
672ce5b
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.22.3
fix(deps): update dependency react-router-native to ^6.23.0
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
April 23, 2024 17:18
672ce5b
to
4255370
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
May 10, 2024 19:47
4255370
to
d8a7ba3
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.23.0
fix(deps): update dependency react-router-native to ^6.23.1
May 10, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
June 24, 2024 19:02
d8a7ba3
to
fe17096
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.23.1
fix(deps): update dependency react-router-native to ^6.24.0
Jun 24, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 3, 2024 13:23
fe17096
to
15c629a
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.24.0
fix(deps): update dependency react-router-native to ^6.24.1
Jul 3, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 16, 2024 13:51
15c629a
to
c1f3584
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.24.1
fix(deps): update dependency react-router-native to ^6.25.0
Jul 16, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 17, 2024 19:50
c1f3584
to
a300d79
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.25.0
fix(deps): update dependency react-router-native to ^6.25.1
Jul 17, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
August 2, 2024 20:52
a300d79
to
2325fd7
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.25.1
fix(deps): update dependency react-router-native to ^6.26.0
Aug 2, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
August 15, 2024 16:42
2325fd7
to
c0aa634
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.26.0
fix(deps): update dependency react-router-native to ^6.26.1
Aug 15, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
September 9, 2024 15:21
c0aa634
to
1728a8b
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.26.1
fix(deps): update dependency react-router-native to ^6.26.2
Sep 9, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
October 11, 2024 18:56
1728a8b
to
6523f44
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.26.2
fix(deps): update dependency react-router-native to ^6.27.0
Oct 11, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 7, 2024 00:57
6523f44
to
a49f6fe
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.27.0
fix(deps): update dependency react-router-native to ^6.28.0
Nov 7, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
December 20, 2024 21:17
a49f6fe
to
9113f0f
Compare
renovate
bot
changed the title
fix(deps): update dependency react-router-native to ^6.28.0
fix(deps): update dependency react-router-native to ^6.28.1
Dec 20, 2024
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.28.1
Release Notes
remix-run/react-router (react-router-native)
v6.28.1
Compare Source
Date: 2024-12-20
Patch Changes
false
(#12441)Full Changelog:
v6.28.0...v6.28.1
v6.28.0
Compare Source
Date: 2024-11-06
What's Changed
Minor Changes
json
/defer
in favor of returning raw objectsPatch Changes
Full Changelog:
v6.27.0...v6.28.0
v6.27.0
Compare 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
(createBrowserRouter
and friends) (Docs)unstable_patchRoutesOnNavigation
→patchRoutesOnNavigation
(createBrowserRouter
and friends) (Docs)unstable_flushSync
→flushSync
(useSubmit
,fetcher.load
,fetcher.submit
) (Docs)unstable_viewTransition
→viewTransition
(<Link>
,<Form>
,useNavigate
,useSubmit
) (Docs)Minor Changes
unstable_flushSync
option for navigations and fetchers (#11989)unstable_viewTransition
option for navigations and the correspondingunstable_useViewTransitionState
hook (#11989)unstable_dataStrategy
(#11974)unstable_patchRoutesOnNavigation
(#11973)PatchRoutesOnNavigationFunctionArgs
type for convenience (#11967)Patch Changes
?index
param already exists from a prior submission (#12003)useFormAction
bug - when removing?index
param it would not keep other non-Remixindex
params (#12003)preventScrollReset
through redirects during concurrent fetches (#11999)console.error
on fetcher abort due to back-to-back revalidation calls (#12050)partialHydration
when hydrating with errors (#12070)patchRoutesOnNavigation
calls (#12055)unstable_
APIpatchRoutesOnNavigation
internally so that multiple navigations with the same start/end would only execute the function once and use the same promisepatch
short circuiting if a navigation was interrupted (and therequest.signal
aborted) since the first invocation'spatch
would no-opimport()
for async routes will already be cached automatically - and if not it's easy enough for users to implement this cache in userlanddiscoveredRoutes
FIFO queue fromunstable_patchRoutesOnNavigation
(#11977)unstable_
APIpatchRoutesOnNavigation
RouteObject
withinPatchRoutesOnNavigationFunction
'spatch
method so it doesn't expect agnostic route objects passed topatch
(#11967)patchRoutesOnNavigation
directly touseRouteError
instead of wrapping them in a 400ErrorResponse
instance (#12111)Full Changelog:
v6.26.2...v6.27.0
v6.26.2
Compare Source
Date: 2024-09-09
Patch Changes
unstable_dataStrategy
API to allow for more advanced implementations (#11943)unstable_dataStrategy
, please review carefully as this includes breaking changes to this APIunstable_HandlerResult
tounstable_DataStrategyResult
unstable_dataStrategy
from a parallel array ofunstable_DataStrategyResult[]
(parallel tomatches
) to a key/value object ofrouteId => unstable_DataStrategyResult
match.shouldLoad
)handlerOverride
instead of returning aDataStrategyResult
handlerOverride
will be wrapped up into aDataStrategyResult
and returned frommmatch.resolve
match.resolve()
into a final results object you should not need to think about theDataStrategyResult
typehandlerOverride
, then you will need to assign aDataStrategyResult
as the value so React Router knows if it's a successful execution or an error (see examples in the documentation for details)fetcherKey
parameter tounstable_dataStrategy
to allow differentiation from navigational and fetcher callsblocker.proceed
is called quickly/synchronously (#11930)Full Changelog:
v6.26.1...v6.26.2
v6.26.1
Compare Source
Date: 2024-08-15
Patch Changes
unstable_patchRoutesOnMiss
tounstable_patchRoutesOnNavigation
to match new behavior (#11888)unstable_patchRoutesOnNavigation
logic 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_patchRoutesOnNavigation
against so that we don't re-call on subsequent navigations to the same pathFull Changelog:
v6.26.0...v6.26.1
v6.26.0
Compare Source
Date: 2024-08-01
Minor Changes
replace(url, init?)
alternative toredirect(url, init?)
that performs ahistory.replaceState
instead of ahistory.pushState
on 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
/headers
without forcing the serialization of data into aResponse
instanceunstable_dataStrategy
such as serializing viaturbo-stream
in Remix Single Fetchstatus
field fromHandlerResult
status
fromunstable_dataStrategy
you should instead do so viaunstable_data()
Patch Changes
future.v7_partialHydration
along withunstable_patchRoutesOnMiss
(#11838)router.state.matches
will now include any partial matches so that we can render ancestorHydrateFallback
componentsFull Changelog:
v6.25.1...v6.26.0
v6.25.1
Compare Source
Date: 2024-07-17
Patch Changes
RouterProvider
internals to reduce unnecessary re-renders (#11803)Full Changelog:
v6.25.0...v6.25.1
v6.25.0
Compare Source
Date: 2024-07-16
What's Changed
Stabilized
v7_skipActionErrorRevalidation
This release stabilizes the
future.unstable_skipActionErrorRevalidation
flag intofuture.v7_skipActionErrorRevalidation
in preparation for the upcoming React Router v7 release.4xx/5xx
Response
will not trigger a revalidation by defaultshouldRevalidate
'sunstable_actionStatus
parameter toactionStatus
Minor Changes
future.unstable_skipActionErrorRevalidation
asfuture.v7_skipActionErrorRevalidation
(#11769)Patch Changes
useMatch
so matches/params reflect decoded params (#11789)unstable_patchRoutesOnMiss
(#11786)unstable_patchRoutesOnMiss
that matched a splat route on the server (#11790)Full Changelog:
v6.24.1...v6.25.0
v6.24.1
Compare Source
Date: 2024-07-03
Patch Changes
polyfill.io
reference from warning message because the domain was sold and has since been determined to serve malware (#11741)NavLinkRenderProps
type for easier typing of customNavLink
callback (#11553)future.v7_relativeSplatPath
, properly resolve relative paths in splat routes that are children of pathless routes (#11633)router.routes
identity/reflow during route patching (#11740)Full Changelog:
v6.24.0...v6.24.1
v6.24.0
Compare 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.lazy
inv6.9.0
, but withv6.24.0
we'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_patchRoutesOnMiss
option 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.submit
types - remove incorrectnavigate
/fetcherKey
/unstable_viewTransition
options because they are only relevant foruseSubmit
(#11631)location.state
values passed to<StaticRouter>
(#11495)Full Changelog:
v6.23.1...v6.24.0
v6.23.1
Compare Source
Patch Changes
[email protected]
v6.23.0
Compare Source
Minor Changes
unstable_dataStrategy
configuration option (#11098)Patch Changes
[email protected]
v6.22.3
Compare Source
Patch Changes
[email protected]
v6.22.2
Compare Source
Patch Changes
[email protected]
v6.22.1
Compare Source
Patch Changes
[email protected]
v6.22.0
Compare Source
Patch Changes
[email protected]
v6.21.3
Compare Source
Patch Changes
unstable_
prefix fromBlocker
/BlockerFunction
types (#11187)[email protected]
v6.21.2
Compare Source
Patch Changes
[email protected]
v6.21.1
Compare Source
Patch Changes
[email protected]
v6.21.0
Compare Source
Minor Changes
Add a new
future.v7_relativeSplatPath
flag to implement a breaking bug fix to relative routing when inside a splat route. (#11087)This fix was originally added in #10983 and was later reverted in #11078 because it was determined that a large number of existing applications were relying on the buggy behavior (see #11052)
The Bug
The buggy behavior is that without this flag, the default behavior when resolving relative paths is to ignore any splat (
*
) portion of the current route path.The Background
This decision was originally made thinking that it would make the concept of nested different sections of your apps in
<Routes>
easier if relative routing would replace the current splat:Any paths like
/dashboard
,/dashboard/team
,/dashboard/projects
will match theDashboard
route. The dashboard component itself can then render nested<Routes>
:Now, all links and route paths are relative to the router above them. This makes code splitting and compartmentalizing your app really easy. You could render the
Dashboard
as its own independent app, or embed it into your large app without making any changes to it.The Problem
The problem is that this concept of ignoring part of a path breaks a lot of other assumptions in React Router - namely that
"."
always means the current location pathname for that route. When we ignore the splat portion, we start getting invalid paths when using"."
:We've also introduced an issue that we can no longer move our
DashboardTeam
component around our route hierarchy easily - since it behaves differently if we're underneath a non-splat route, such as/dashboard/:widget
. Now, our"."
links will, properly point to ourself inclusive of the dynamic param value so behavior will break from it's corresponding usage in a/dashboard/*
route.Even worse, consider a nested splat route configuration:
Now, a
<Link to=".">
and a<Link to="..">
inside theDashboard
component go to the same place! That is definitely not correct!Another common issue arose in Data Routers (and Remix) where any
<Form>
should post to it's own routeaction
if you the user doesn't specify a form action:This is just a compounded issue from the above because the default location for a
Form
to submit to is itself ("."
) - and if we ignore the splat portion, that now resolves to the parent route.The Solution
If you are leveraging this behavior, it's recommended to enable the future flag, move your splat to it's own route, and leverage
../
for any links to "sibling" pages:This way,
.
means "the full current pathname for my route" in all cases (including static, dynamic, and splat routes) and..
always means "my parents pathname".Patch Changes
[email protected]
v6.20.1
Compare Source
Patch Changes
[email protected]
v6.20.0
Compare Source
Minor Changes
PathParam
type from the public API (#10719)Patch Changes
[email protected]
v6.19.0
Compare Source
Patch Changes
[email protected]
v6.18.0
Compare Source
Patch Changes
[email protected]
v6.17.0
Compare Source
Patch Changes
[email protected]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.