-
Notifications
You must be signed in to change notification settings - Fork 63
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
Update dependency react-router-dom-v5-compat to v6.28.1 #1001
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/react-router-monorepo
base: master
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
changed the title
Update dependency react-router-dom-v5-compat to v6.21.1
Update dependency react-router-dom-v5-compat to v6.21.2
Jan 11, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
3 times, most recently
from
January 12, 2024 19:57
64b417e
to
201c796
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
January 18, 2024 19:59
201c796
to
1610258
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.21.2
Update dependency react-router-dom-v5-compat to v6.21.3
Jan 18, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 1, 2024 21:35
1610258
to
db8287d
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.21.3
Update dependency react-router-dom-v5-compat to v6.22.0
Feb 1, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 16, 2024 22:29
db8287d
to
30255a1
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.22.0
Update dependency react-router-dom-v5-compat to v6.22.1
Feb 16, 2024
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.22.1
Update dependency react-router-dom-v5-compat to v6.22.2
Feb 28, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
February 28, 2024 22:30
30255a1
to
18240d5
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
March 7, 2024 17:39
18240d5
to
247d6d8
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.22.2
Update dependency react-router-dom-v5-compat to v6.22.3
Mar 7, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
2 times, most recently
from
March 12, 2024 18:54
1d070a8
to
1c6d2f9
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.22.3
Update dependency react-router-dom-v5-compat to v6.23.0
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
April 23, 2024 17:06
1c6d2f9
to
9bc3cbf
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
May 10, 2024 18:10
9bc3cbf
to
a5b6856
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.23.0
Update dependency react-router-dom-v5-compat to v6.23.1
May 10, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
3 times, most recently
from
May 21, 2024 19:58
911deea
to
d96796c
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
June 24, 2024 19:16
d96796c
to
a298eb8
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.23.1
Update dependency react-router-dom-v5-compat to v6.24.0
Jun 24, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 3, 2024 14:54
a298eb8
to
b501d41
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.24.0
Update dependency react-router-dom-v5-compat to v6.24.1
Jul 3, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
2 times, most recently
from
July 16, 2024 15:04
2ce0c31
to
2358f91
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.24.1
Update dependency react-router-dom-v5-compat to v6.25.0
Jul 16, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 17, 2024 19:13
2358f91
to
444112b
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.25.0
Update dependency react-router-dom-v5-compat to v6.25.1
Jul 17, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
July 22, 2024 18:49
444112b
to
03c2ebe
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
August 1, 2024 19:37
03c2ebe
to
882d67e
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.25.1
Update dependency react-router-dom-v5-compat to v6.26.0
Aug 1, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
August 15, 2024 19:59
882d67e
to
4f144c8
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.26.0
Update dependency react-router-dom-v5-compat to v6.26.1
Aug 15, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
September 9, 2024 18:38
4f144c8
to
2f695fe
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.26.1
Update dependency react-router-dom-v5-compat to v6.26.2
Sep 9, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
2 times, most recently
from
October 3, 2024 21:24
9e12e05
to
d19143d
Compare
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
October 11, 2024 18:36
d19143d
to
a7a5870
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.26.2
Update dependency react-router-dom-v5-compat to v6.27.0
Oct 11, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
November 7, 2024 01:29
a7a5870
to
5782f9e
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.27.0
Update dependency react-router-dom-v5-compat to v6.28.0
Nov 7, 2024
renovate
bot
force-pushed
the
renovate/react-router-monorepo
branch
from
December 20, 2024 21:56
5782f9e
to
3241c9d
Compare
renovate
bot
changed the title
Update dependency react-router-dom-v5-compat to v6.28.0
Update dependency react-router-dom-v5-compat to v6.28.1
Dec 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.21.0
->6.28.1
Release Notes
remix-run/react-router (react-router-dom-v5-compat)
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
Date: 2024-05-10
Patch Changes
undefined
to be resolved through<Await>
(#11513)document
check when checking fordocument.startViewTransition
availability (#11544)react-router-dom/server
import back toreact-router-dom
instead ofindex.ts
(#11514)@remix-run/router
- Supportunstable_dataStrategy
onstaticHandler.queryRoute
(#11515)Full Changelog:
v6.23.0...v6.23.1
v6.23.0
Compare Source
Date: 2024-04-23
What's Changed
Data Strategy (unstable)
The new
unstable_dataStrategy
API is a low-level API designed for advanced use-cases where you need to take control over the data strategy for yourloader
/action
functions. 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
/action
execution, 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 anyaction
submission, regardless of theaction
result. However, in the majority of cases a4xx
/5xx
response from anaction
means that no data was actually changed and the revalidation is unnecessary. We've introduced a newfuture.unstable_skipActionErrorRevalidation
flag 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
/5xx
response status will no longer automatically revalidate. If you need to revalidate after a4xx
/5xx
result with this flag enabled, you can still do that via returningtrue
fromshouldRevalidate
- which now also receives a newunstable_actionStatus
argument alongsideactionResult
so you can make decision based on the status of theaction
response without having to encode it into the action data.Minor Changes
unstable_dataStrategy
configuration option (#11098, #11377)@remix-run/router
- Add a newfuture.unstable_skipActionRevalidation
future flag (#11098)@remix-run/router
- SSR: Added a newskipLoaderErrorBubbling
options to thestaticHandler.query
method 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.0
v6.22.3
Compare Source
Date: 2024-03-07
Patch Changes
future.v7_partialHydration
bug that would re-run loaders below the boundary on hydration if SSR loader errors bubbled to a parent boundary (#11324)future.v7_partialHydration
bug that would consider the router uninitialized if a route did not have a loader (#11325)Full Changelog:
v6.22.2...v6.22.3
v6.22.2
Compare Source
Date: 2024-02-28
Patch Changes
Full Changelog:
v6.22.1...v6.22.2
v6.22.1
Compare Source
Date: 2024-02-16
Patch Changes
Full Changelog:
v6.22.0...v6.22.1
v6.22.0
Compare Source
Date: 2024-02-01
What's Changed
Core Web Vitals Technology Report Flag
In 2021, the HTTP Archive launched the Core Web Vitals Technology Report dashboard:
They use a tool called
wappalyzer
to identify what technologies a given website is using by looking for certain scripts, global JS variables, or other identifying characteristics. For example, for Remix applications, they look for the global__remixContext
variable to identify that a website is using Remix.It was brought to our attention that React Router was unable to be reliably identified because there are no identifying global aspects. They are currently looking for external scripts with
react-router
in the name. This will identify sites using React Router from a CDN such asunpkg
- but it will miss the vast majority of sites that are installing React Router from the npm registry and bundling it into their JS files. This results in drastically under-reporting the usage of React Router on the web.Starting with version
6.22.0
, sites usingreact-router-dom
will begin adding awindow.__reactRouterVersion
variable that will be set to a string value of the SemVer major version number (i.e.,window.__reactRouterVersion = "6";
) so that they can be properly identified.Minor Changes
window.__reactRouterVersion
for CWV Report detection (#11222)createStaticHandler
future.v7_throwAbortReason
flag to throwrequest.signal.reason
(defaults to aDOMException
) when a request is aborted instead of anError
such asnew Error("query() call aborted: GET /path")
(#11104)DOMException
was added in Node v17 so you will not get aDOMException
on Node 16 and below.Patch Changes
ErrorResponse
status code if passed togetStaticContextFormError
(#11213)Full Changelog:
v6.21.3...v6.22.0
v6.21.3
Compare Source
Date: 2024-01-18
Patch Changes
NavLink
isPending
when abasename
is used (#11195)unstable_
prefix fromBlocker
/BlockerFunction
types (#11187)Full Changelog:
v6.21.2...v6.21.3
v6.21.2
Compare Source
Date: 2024-01-11
Patch Changes
useId
for internal fetcher keys when available (#11166)Full Changelog:
v6.21.1...v6.21.2
v6.21.1
Compare Source
Date: 2023-12-21
Patch Changes
route.lazy
not working correctly on initial SPA load whenv7_partialHydration
is specified (#11121)submitting
phase (#11102)resolveTo
(#11097)Full Changelog:
v6.21.0...v6.21.1
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 is behind base branch, 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.