chore(deps): update devdependencies-major (major) - #158
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
requested review from
aeschi,
raphael-arce,
tsboter and
zainab-tariq
as code owners
February 24, 2025 04:26
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
February 25, 2025 12:49
c5be12d to
7e08766
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
February 25, 2025 21:02
7e08766 to
fe1fa1b
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 5, 2025 20:42
fe1fa1b to
dc310b4
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 6, 2025 13:13
dc310b4 to
2716cb6
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 7, 2025 12:57
2716cb6 to
db0854e
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 11, 2025 18:12
db0854e to
3d5d6d3
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 13, 2025 13:19
3d5d6d3 to
90a35af
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 21, 2025 01:14
90a35af to
99e4af9
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 25, 2025 18:00
99e4af9 to
d6bda7f
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
March 26, 2025 14:49
d6bda7f to
b0eb760
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
April 1, 2025 17:47
b0eb760 to
01f5909
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
April 2, 2025 10:29
01f5909 to
621e387
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
May 25, 2025 13:10
343ea51 to
209b8c1
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
May 28, 2025 18:08
209b8c1 to
88398c7
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
June 11, 2025 15:17
88398c7 to
fab3994
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
June 12, 2025 04:13
fab3994 to
4bf648c
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
June 26, 2025 15:10
4bf648c to
0e5bb61
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
July 1, 2025 09:59
0e5bb61 to
20427ed
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
July 10, 2025 13:05
20427ed to
5e27641
Compare
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
July 17, 2025 04:49
5e27641 to
c0bd363
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
July 22, 2025 15:49
c0bd363 to
3341683
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
August 8, 2025 15:26
3341683 to
5d89aa1
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
August 14, 2025 15:38
5d89aa1 to
4b64d30
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
August 19, 2025 06:57
4b64d30 to
84993c7
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
August 28, 2025 03:57
84993c7 to
8a28230
Compare
renovate
Bot
force-pushed
the
renovate/major-devdependencies-major
branch
from
August 31, 2025 12:06
8a28230 to
e39a478
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:
7.27.1→8.0.17.1.5→8.3.022.13.1→24.13.36.1.1→8.2.34.3.4→6.1.09.20.0→10.9.05.1.0→7.1.115.14.0→17.11.03.4.17→4.3.35.7.3→7.0.25.1.4→6.1.1Release Notes
babel/babel (@babel/plugin-transform-unicode-property-regex)
v8.0.1Compare Source
💥 Breaking Change
babel-core,babel-plugin-transform-object-rest-spread,babel-plugin-transform-runtime,babel-preset-env,babel-standalonepreset-env'suseBuiltIns(@nicolo-ribaudo)v8.0.0Compare Source
👓 Spec Compliance
babel-core💥 Breaking Change
babel-cli,babel-node,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-modules-commonjs,babel-plugin-transform-object-rest-spread,babel-plugin-transform-parameters,babel-plugin-transform-react-constant-elements,babel-plugin-transform-regenerator,babel-preset-env,babel-registermodules: auto(@nicolo-ribaudo)babel-plugin-transform-runtime,babel-runtime-corejs3,babel-runtime@babe/runtime-corejs3(@liuxingbaoyu)babel-parserlocations: "packed"(@liuxingbaoyu)🐛 Bug Fix
babel-generatorbabel-plugin-transform-modules-systemjs📝 Documentation
🏠 Internal
🏃♀️ Performance
babel-corev7.29.7Compare Source
v7.29.7 (2026-05-25)
Re-release all packages with npm provenance attestations
v7.28.6Compare Source
v7.28.6 (2026-01-12)
Thanks @kadhirash and @kolvian for your first PRs!
🐛 Bug Fix
babel-cli,babel-code-frame,babel-core,babel-helper-check-duplicate-nodes,babel-helper-fixtures,babel-helper-plugin-utils,babel-node,babel-plugin-transform-flow-comments,babel-plugin-transform-modules-commonjs,babel-plugin-transform-property-mutators,babel-preset-env,babel-traverse,babel-typesbabel-plugin-transform-regeneratortransform-regeneratorcorrectly handles scope (@liuxingbaoyu)babel-plugin-transform-react-jsx💅 Polish
babel-core,babel-standalone🏠 Internal
babel-plugin-bugfix-v8-static-class-fields-redefine-readonly,babel-plugin-proposal-decorators,babel-plugin-proposal-import-attributes-to-assertions,babel-plugin-proposal-import-wasm-source,babel-plugin-syntax-async-do-expressions,babel-plugin-syntax-decorators,babel-plugin-syntax-destructuring-private,babel-plugin-syntax-do-expressions,babel-plugin-syntax-explicit-resource-management,babel-plugin-syntax-export-default-from,babel-plugin-syntax-flow,babel-plugin-syntax-function-bind,babel-plugin-syntax-function-sent,babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes,babel-plugin-syntax-import-defer,babel-plugin-syntax-import-source,babel-plugin-syntax-jsx,babel-plugin-syntax-module-blocks,babel-plugin-syntax-optional-chaining-assign,babel-plugin-syntax-partial-application,babel-plugin-syntax-pipeline-operator,babel-plugin-syntax-throw-expressions,babel-plugin-syntax-typescript,babel-plugin-transform-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-dotall-regex,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-explicit-resource-management,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-json-strings,babel-plugin-transform-logical-assignment-operators,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-numeric-separator,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-catch-binding,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-regexp-modifiers,babel-plugin-transform-unicode-property-regex,babel-plugin-transform-unicode-sets-regex🏃♀️ Performance
babel-plugin-transform-react-jsx__source,__self(@liuxingbaoyu)Committers: 7
remix-run/react-router (@react-router/dev)
v8.3.0Compare Source
Minor Changes
react-router devwith--conditions=developmentwhen not already configured (#15291)Patch Changes
typescript@7to be used (#15317)Unstable Changes
Add
unstable_rsc/client-versionclient build version virtual module (#15318)Support the
subResourceIntegrityconfig option in RSC Framework Mode (#15321)Migration guide
No changes are required when using the default RSC SSR entry. If you maintain a custom
app/entry.ssr.tsx, import the new virtual module and pass its hashes to React'simportMaprender option:react-router@8.3.0@react-router/node@8.3.0@react-router/serve@8.3.0v8.2.0Compare Source
Minor Changes
@react-router/node,@react-router/express, or@react-router/servecontinue to use therenderToPipeableStreamdefault server entryrenderToReadableStreamdefault server entryentry.server.tsxmay be able to remove it in favor of the default if it is not doing anything customnubas a supported package manager when installing framework dependencies (#15276)Patch Changes
rolldownOptionsconfig in Vite 8+ (#15278)Unstable Changes
future.unstable_enableNodeReadableStreamflag to opt Node Framework mode apps into usingrenderToReadableStreaminstead ofrenderToPipeableStream(#15290)entry.server.tsxreact-router@8.2.0@react-router/node@8.2.0@react-router/serve@8.2.0v8.1.0Compare Source
Patch Changes
react-router.config.tsbuildEndhook would run before prerendering was completed (#15211)react-router typegencrashes under the Bun runtime when Babel default imports are already unwrapped (#15214)envFile:falseVite config withenvDir:falseto eliminate a deprecation warning when using vite@8.1.0+ (#15230)"node"Vite server condition for Framework mode apps that declare a Node server adapter dependency (#15242)react-router@8.1.0@react-router/node@8.1.0@react-router/serve@8.1.0v8.0.1Compare Source
Patch Changes
react-router@8.0.1@react-router/node@8.0.1@react-router/serve@8.0.1v8.0.0Compare Source
Major Changes
@react-router/dev/vite/cloudflaredev proxy export; use@cloudflare/vite-plugininstead (#15077)wrangler@3as a peer dependency of@react-router/devfuture.v8_trailingSlashAwareDataRequestsflag (#15100)future.v8_passThroughRequestsflag - the raw incomingrequestis now always passed through toloader/action. (#15079)future.v8_splitRouteModulesto a top-levelsplitRouteModulesconfig option and change the default behavior totrue(#15086)splitRouteModules: falseto keep route modules in a single chunksplitRouteModules: "enforce"to require all routes to be splittablefuture.v8_viteEnvironmentApiflag because the Vite Environment API is always enabled (#15077)future.unstable_previewServerPrerenderingflag and make prerendering with the Vite Environment API the default. (#15077)Minor Changes
@babel/corefrom^7.27.7to^7.29.7@babel/generatorfrom^7.27.5to^7.29.7@babel/parserfrom^7.27.7to^7.29.7@babel/plugin-syntax-jsxfrom^7.27.1to^7.29.7@babel/preset-typescriptfrom^7.27.1to^7.29.7@babel/traversefrom^7.27.7to^7.29.7@babel/typesfrom^7.27.7to^7.29.7dedentfrom^1.5.3to^1.7.2jsescfrom3.0.2to3.1.0lodashfrom^4.17.21to^4.18.1prettierfrom^3.6.2to^3.8.3@remix-run/node-fetch-serverfrom^0.13.0to^0.13.3react-refreshfrom^0.14.0to^0.18.0semverfrom^7.3.7to^7.8.1tinyglobbyfrom^0.2.14to^0.2.16valibotfrom^1.2.0to^1.4.1cookieandset-cookie-parserwithcookie-es(#15109)vite-nodedependency in favor of Vite's native module runner APIs (#15104)Patch Changes
@babel/corefrom^7.29.0to^7.29.7@babel/generatorfrom^7.29.1to^7.29.7@babel/parserfrom^7.29.3to^7.29.7@babel/plugin-syntax-jsxfrom^7.28.6to^7.29.7@babel/preset-typescriptfrom^7.28.5to^7.29.7@babel/traversefrom^7.29.0to^7.29.7@babel/typesfrom^7.29.0to^7.29.7babel-dead-code-eliminationfrom^1.0.6to^1.0.12chokidarfrom^4.0.0to^5.0.0es-module-lexerfrom^1.3.1to^2.1.0exit-hookfrom2.2.1to5.1.0isbotfrom^5.1.11to^5.1.40p-mapfrom^7.0.3to^7.0.4pathefrom^1.1.2to^2.0.3pkg-typesfrom^2.3.0to^2.3.1react-refreshfrom^0.14.0to^0.18.0semverfrom^7.8.0to^7.8.1tinyglobbyfrom^0.2.14to^0.2.16valibotfrom^1.4.0to^1.4.1!(handle->flags & UV_HANDLE_CLOSING)insrc/win/async.c) during prerendering by usingnode:httpinstead offetchfor internal prerender requests against the Vite preview server (#15077)react-router@8.0.0@react-router/node@8.0.0@react-router/serve@8.0.0v7.18.3Compare Source
v7.18.2Compare Source
v7.18.1Compare Source
v7.18.0Compare Source
Patch Changes
Pass Vite
server.watchconfig to child compiler in development mode. (#15178)Ignore external Vite server environments in Framework Mode build hooks (#14883)
When
future.v8_viteEnvironmentApiis enabled, React Router previously treated any non-client Vite environment as its own server build. This caused issues with integrations like Nitro, where plugins can register additional environments.Framework Mode build hooks now ignore external server environments and only process the app's own server build.
Updated dependencies:
react-router@7.18.0@react-router/node@7.18.0@react-router/serve@7.18.0v7.17.0Compare Source
Patch Changes
Unstable Changes
future.unstable_optimizeDepsis enabled. (#15005)react-router@7.17.0@react-router/node@7.17.0@react-router/serve@7.17.0v7.16.0Compare Source
Minor Changes
Stabilize
future.unstable_trailingSlashAwareDataRequestsasfuture.v8_trailingSlashAwareDataRequests(#15098)Log future flag warnings for upcoming React Router v8 flags (#15029)
v8_middleware,v8_splitRouteModules,v8_viteEnvironmentApi,v8_passThroughRequests,v8_trailingSlashAwareDataRequestsPatch Changes
react-router@7.16.0@react-router/node@7.16.0@react-router/serve@7.16.0v7.15.1Compare Source
Patch Changes
Fix
basenameconflicting withappdirectory name when Vitebaseis set (#15027)When the Vite
baseconfig and React Routerbasenameboth match theapp directory name (e.g.
base: "/app/",basename: "/app/"), Vite wouldstrip the base prefix from server-build virtual module import paths, causing
"Failed to load url /root.tsx" errors. The fix uses
/@fs/absolute pathsfor those imports to bypass Vite's base-stripping logic.
Updated dependencies:
react-router@7.15.1@react-router/node@7.15.1@react-router/serve@7.15.1v7.15.0Compare Source
Minor Changes
Stabilize
future.unstable_passThroughRequestsasfuture.v8_passThroughRequests(a993f09)Stabilize
prerender.unstable_concurrencyasprerender.concurrency(a993f09)Stabilize
future.unstable_subResourceIntegrityas a top-levelsubResourceIntegrityconfig option inreact-router.config.ts(a993f09)Patch Changes
react-router@7.15.0@react-router/node@7.15.0@react-router/serve@7.15.0v7.14.2Compare Source
Patch Changes
Fix typegen for layouts without pages ([aabf4a1)
Previously, typegen could produce
pages: ;in.react-router/types/+routes.tswhen a route corresponded to 0 pages.Now,
pages: never;is correctly generated for those cases.Unstable Changes
For
unstable_reactRouterRSCVite plugin consumers, require@vitejs/plugin-reactin user Vite config, and more reliably split route modules. (#14965) ([aabf4a1)unstable_reactRouterRSCVite plugin - please install@vitejs/plugin-reactand add thereactplugin to your Vite plugins array.Updated dependencies:
react-router@7.14.2@react-router/node@7.14.2@react-router/serve@7.14.2v7.14.1Compare Source
Patch Changes
react-router@7.14.1@react-router/node@7.14.1@react-router/serve@7.14.1v7.14.0Compare Source
Minor Changes
Patch Changes
support for prerendering multiple server bundles with v8_viteEnvironmentApi (#14921)
rsc framework mode prerender / spa mode support (#14907)
UNSTABLE RSC FRAMEWORK MODE BREAKING CHANGE - Existing route module exports remain unchanged from stable v7 non-RSC mode, but new exports are added for RSC mode. If you want to use RSC features, you will need to update your route modules to export the new annotations. (#14901)
If you are using RSC framework mode currently, you will need to update your route modules to the new conventions. The following route module components have their own mutually exclusive server component counterparts:
ServerComponentdefaultServerErrorBoundaryErrorBoundaryServerLayoutLayoutServerHydrateFallbackHydrateFallbackIf you were previously exporting a
ServerComponent, yourErrorBoundary,Layout, andHydrateFallbackwere also server components. If you want to keep those as server components, you can rename them and prefix them withServer. If you were previously importing the implementations of those components from a client module, you can simply inline them.Example:
Before
After
update the reveal command to support rsc for
entry.client,entry.rsc,entry.ssr(#14904)Updated dependencies:
react-router@7.14.0@react-router/node@7.14.0@react-router/serve@7.14.0v7.13.2Compare Source
Patch Changes
Fix
react-router devcrash when Unix socket files exist in the project root (#14854)Escape redirect locations in prerendered redirect HTML (#14880)
Add
future.unstable_passThroughRequestsflag (#14775)By default, React Router normalizes the
request.urlpassed to yourloader,action, andmiddlewarefunctions by removing React Router's internal implementation details (.datasuffixes,index+_routesquery params).Enabling this flag removes that normalization and passes the raw HTTP
requestinstance to your handlers. This provides a few benefits:new Request()calls on the critical path.datasuffix (useful for observability purposes)If you were previously relying on the normalization of
request.url, you can switch to use the new siblingunstable_urlparameter which contains aURLinstance representing the normalized location:Add a new
unstable_url: URLparameter to route handler methods (loader,action,middleware, etc.) representing the normalized URL the application is navigating to or fetching, with React Router implementation details removed (.datasuffix,index/_routesquery params) (#14775)This is being added alongside the new
future.unstable_passthroughRequestsfuture flag so that users still have a way to access the normalized URL when that flag is enabled and non-normalizedrequest's are being passed to your handlers. When adopting this flag, you will only need to start leveraging this new parameter if you are relying on the normalization ofrequest.urlin your application code.If you don't have the flag enabled, then
unstable_urlwill matchrequest.url.Updated dependencies:
react-router@7.13.2@react-router/node@7.13.2@react-router/serve@7.13.2v7.13.1Compare Source
Patch Changes
react-router@7.13.1@react-router/node@7.13.1@react-router/serve@7.13.1v7.13.0Compare Source
Patch Changes
react-router@7.13.0@react-router/node@7.13.0@react-router/serve@7.13.0v7.12.0Compare Source
Minor Changes
react-router.config.tsconfigallowedActionOriginsfield. (#14708)Patch Changes
Fix
Maximum call stack size exceedederrors when HMR is triggered against code with cyclic imports (#14522)fix(vite): Skip SSR middleware in preview server for SPA mode (#14673)
[UNSTABLE] Add a new
future.unstable_trailingSlashAwareDataRequestsflag to provide consistent behavior ofrequest.pathnameinsidemiddleware,loader, andactionfunctions on document and data requests when a trailing slash is present in the browser URL. (#14644)Currently, your HTTP and
requestpathnames would be as follows for/a/b/cand/a/b/c//a/b/crequestpathname`/a/b/c/a/b/c✅/a/b/c.data/a/b/c✅/a/b/c/requestpathname`/a/b/c//a/b/c/✅/a/b/c.data/a/b/cWith this flag enabled, these pathnames will be made consistent though a new
_.dataformat for client-side.datarequests:/a/b/crequestpathname`/a/b/c/a/b/c✅/a/b/c.data/a/b/c✅/a/b/c/requestpathname`/a/b/c//a/b/c/✅/a/b/c/_.data⬅️/a/b/c/✅This a bug fix but we are putting it behind an opt-in flag because it has the potential to be a "breaking bug fix" if you are relying on the URL format for any other application or caching logic.
Enabling this flag also changes the format of client side
.datarequests from/_root.datato/_.datawhen navigating to/to align with the new format. This does not impact therequestpathname which is still/in all cases.Updated dependencies:
react-router@7.12.0@react-router/node@7.12.0@react-router/serve@7.12.0v7.11.0Compare Source
Minor Changes
vite previewsupport (#14507)Patch Changes
routeRSCServerRequestreplacefetchServerwithserverResponse(#14597)react-router@7.11.0@react-router/serve@7.11.0@react-router/node@7.11.0v7.10.1Compare Source
Patch Changes
pkg-typeswith a dynamicimport()to fix issues on Node 20.18 (#14624)valibotdependency to^1.2.0to address GHSA-vqpr-j7v3-hqw9 (#14608)react-router@7.10.1@react-router/node@7.10.1@react-router/serve@7.10.1v7.10.0Compare Source
Minor Changes
Stabilize
future.v8_splitRouteModules, replacingfuture.unstable_splitRouteModules(#14595)future.unstable_splitRouteModules. Please update yourreact-router.config.ts.Stabilize
future.v8_viteEnvironmentApi, replacingfuture.unstable_viteEnvironmentApi(#14595)future.unstable_viteEnvironmentApi. Please update yourreact-router.config.ts.Patch Changes
Load environment variables before evaluating
routes.ts(#14446)For example, you can now compute your routes based on
VITE_-prefixed environment variables:# .env VITE_ENV_ROUTE=my-routeUpdated dependencies:
react-router@7.10.0@react-router/node@7.10.0@react-router/serve@7.10.0v7.9.6Compare Source
Patch Changes
import()to load ESM-onlyp-mapdependency to avoid issues on Node 20.18 and below (#14492)HEADdocument requests before callingrenderToPipeableStreamin the defaultentry.server.tsxto more closely align with the spec (#14488)react-router@7.9.6@react-router/node@7.9.6@react-router/serve@7.9.6v7.9.5Compare Source
Patch Changes
prerender.unstable_concurrencyoption, to support running the prerendering concurrently, potentially speeding up the build. (#14380)/domexport. (#14457)linkelements used by dynamic imports (#14463)react-router@7.9.5@react-router/node@7.9.5@react-router/serve@7.9.5v7.9.4Compare Source
Patch Changes
Update
valibotdependency to^1.1.0(#14379)New (unstable)
useRoutehook for accessing data from specific routes (#14407)For example, let's say you have an
adminroute somewhere in your app and you want any child routes ofadminto all have access to theloaderDataandactionDatafromadmin.You might even want to create a reusable widget that all of the routes nested under
admincould use:In framework mode,
useRouteknows all your app's routes and gives you TS errors when invalid route IDs are passed in:useRoutereturnsundefinedif the route is not part of the current page:Note: the
rootroute is the exception since it is guaranteed to be part of the current page.As a result,
useRoutenever returnsundefinedforroot.loaderDataandactionDataare marked as optional since they could be accessed before theactionis triggered or after theloaderthrew an error:If instead of a specific route, you wanted access to the current route's
loaderDataandactionData, you can calluseRoutewithout arguments:This usage is equivalent to calling
useLoaderDataanduseActionData, but consolidates all route data access into one hook:useRoute.Note: when calling
useRoute()(without a route ID), TS has no way to know which route is the current route.As a result,
loaderDataandactionDataare typed asunknown.If you want more type-safety, you can either narrow the type yourself with something like
zodor you can refactor your app to pass down typed props to yourAdminWidget:Updated dependencies:
react-router@7.9.4@react-router/node@7.9.4@react-router/serve@7.9.4v7.9.3Compare Source
Patch Changes
react-router@7.9.3@react-router/node@7.9.3@react-router/serve@7.9.3v7.9.2Compare Source
Patch Changes
Fix preset future flags being ignored during config resolution (#14369)
Fixes a bug where future flags defined by presets were completely ignored. The config resolution was incorrectly reading from
reactRouterUserConfig.futureinstead of the mergeduserAndPresetConfigs.future, causing all preset-defined future flags to be lost.This fix ensures presets can properly enable experimental features as intended by the preset system design.
Add unstable support for RSC Framework Mode (#14336)
Switch internal vite plugin Response logic to use
@remix-run/node-fetch-server(#13927)Updated dependencies:
react-router@7.9.2@react-router/serve@7.9.2@react-router/node@7.9.2v7.9.1Compare Source
Patch Changes
Futureinterface naming frommiddleware->v8_middleware(#14327)react-router@7.9.1@react-router/node@7.9.1@react-router/serve@7.9.1v7.9.0Compare Source
Minor Changes
Stabilize middleware and context APIs. (#14215)
We have removed the
unstable_prefix from the following APIs and they are now considered stable and ready for production use:RouterContextProvidercreateContext](https://reactConfiguration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.