chore: Update version for release (pre) #12184
Merged
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-next, this PR will be updated.
release-next
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onrelease-next
.Releases
react-router@7.0.0-pre.2
Major Changes
Migrate Remix type generics to React Router (#12180)
Route.*
typesRoute.*
typesuseFetcher
previously had an optional generic (used primarily by Remix v2) that expected the data typetypeof loader
/typeof action
)useFetcher<LoaderData>()
useFetcher<typeof loader>()
@remix-run/router
,@remix-run/server-runtime
, and@remix-run/react
now that they all live inreact-router
(#12177)LoaderFunction
,LoaderFunctionArgs
,ActionFunction
,ActionFunctionArgs
,DataFunctionArgs
,RouteManifest
,LinksFunction
,Route
,EntryRoute
RouteManifest
type used by the "remix" code is now slightly stricter because it is using the former@remix-run/router
RouteManifest
Record<string, Route> -> Record<string, Route | undefined>
AppData
type in favor of inliningunknown
in the few locations it was usedServerRuntimeMeta*
types in favor of theMeta*
types they were duplicated fromDrop support for Node 18, update minimum Node vestion to 20 (#12171)
installGlobals()
as this should no longer be necessaryUpdate
cookie
dependency to^1.0.1
- please see the release notes for any breaking changes (#12172)Patch Changes
Replace
substr
withsubstring
(#12080)Remove the deprecated
json
utility (#12146)Response.json
if you still need to construct JSON responses in your appUpdated dependencies:
react-router@7.0.0-pre.2
@react-router/dev@7.0.0-pre.2
Major Changes
@remix-run/router
,@remix-run/server-runtime
, and@remix-run/react
now that they all live inreact-router
(#12177)LoaderFunction
,LoaderFunctionArgs
,ActionFunction
,ActionFunctionArgs
,DataFunctionArgs
,RouteManifest
,LinksFunction
,Route
,EntryRoute
RouteManifest
type used by the "remix" code is now slightly stricter because it is using the former@remix-run/router
RouteManifest
Record<string, Route> -> Record<string, Route | undefined>
AppData
type in favor of inliningunknown
in the few locations it was usedServerRuntimeMeta*
types in favor of theMeta*
types they were duplicated fromDrop support for Node 18, update minimum Node vestion to 20 (#12171)
installGlobals()
as this should no longer be necessaryPatch Changes
react-router@7.0.0-pre.2
@react-router/node@7.0.0-pre.2
@react-router/serve@7.0.0-pre.2
@react-router/express@7.0.0-pre.2
Major Changes
Drop support for Node 18, update minimum Node vestion to 20 (#12171)
installGlobals()
as this should no longer be necessaryPatch Changes
react-router@7.0.0-pre.2
@react-router/node@7.0.0-pre.2
@react-router/node@7.0.0-pre.2
Major Changes
Drop support for Node 18, update minimum Node vestion to 20 (#12171)
installGlobals()
as this should no longer be necessaryPatch Changes
react-router@7.0.0-pre.2
@react-router/architect@7.0.0-pre.2
Patch Changes
react-router@7.0.0-pre.2
@react-router/node@7.0.0-pre.2
@react-router/cloudflare@7.0.0-pre.2
Patch Changes
react-router@7.0.0-pre.2
react-router-dom@7.0.0-pre.2
Patch Changes
react-router@7.0.0-pre.2
@react-router/fs-routes@7.0.0-pre.2
Patch Changes
@react-router/dev@7.0.0-pre.2
@react-router/remix-config-routes-adapter@7.0.0-pre.2
Patch Changes
@react-router/dev@7.0.0-pre.2
@react-router/serve@7.0.0-pre.2
Patch Changes
react-router@7.0.0-pre.2
@react-router/express@7.0.0-pre.2
@react-router/node@7.0.0-pre.2