-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update version for release (pre) (#12184)
- Loading branch information
1 parent
fde6951
commit 18dc8b8
Showing
22 changed files
with
172 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
# @react-router/architect | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# @react-router/cloudflare | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
# `@remix-run/dev` | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Major Changes | ||
|
||
- - Consolidate types previously duplicated across `@remix-run/router`, `@remix-run/server-runtime`, and `@remix-run/react` now that they all live in `react-router` ([#12177](https://github.com/remix-run/react-router/pull/12177)) | ||
- Examples: `LoaderFunction`, `LoaderFunctionArgs`, `ActionFunction`, `ActionFunctionArgs`, `DataFunctionArgs`, `RouteManifest`, `LinksFunction`, `Route`, `EntryRoute` | ||
- The `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>` | ||
- Removed `AppData` type in favor of inlining `unknown` in the few locations it was used | ||
- Removed `ServerRuntimeMeta*` types in favor of the `Meta*` types they were duplicated from | ||
- Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171)) | ||
|
||
- Remove `installGlobals()` as this should no longer be necessary | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
- `@react-router/[email protected]` | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Minor Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# react-router-dom | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
# `@remix-run/express` | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Major Changes | ||
|
||
- Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171)) | ||
|
||
- Remove `installGlobals()` as this should no longer be necessary | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# @react-router/fs-routes | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# `@remix-run/node` | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Major Changes | ||
|
||
- Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171)) | ||
|
||
- Remove `installGlobals()` as this should no longer be necessary | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
7 changes: 7 additions & 0 deletions
7
packages/react-router-remix-config-routes-adapter/CHANGELOG.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# @react-router/remix-config-routes-adapter | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# `@remix-run/serve` | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
- `@react-router/[email protected]` | ||
- `@react-router/[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,43 @@ | ||
# `react-router` | ||
|
||
## 7.0.0-pre.2 | ||
|
||
### Major Changes | ||
|
||
- Migrate Remix type generics to React Router ([#12180](https://github.com/remix-run/react-router/pull/12180)) | ||
|
||
- These generics are provided for Remix v2 migration purposes | ||
- These generics and the APIs they exist on should be considered informally deprecated in favor of the new `Route.*` types | ||
- Anyone migrating from React Router v6 should probably not leverage these new generics and should migrate straight to the `Route.*` types | ||
- For React Router v6 users, these generics are new and should not impact your app, with one exception | ||
- `useFetcher` previously had an optional generic (used primarily by Remix v2) that expected the data type | ||
- This has been updated in v7 to expect the type of the function that generates the data (i.e., `typeof loader`/`typeof action`) | ||
- Therefore, you should update your usages: | ||
- ❌ `useFetcher<LoaderData>()` | ||
- ✅ `useFetcher<typeof loader>()` | ||
|
||
- - Consolidate types previously duplicated across `@remix-run/router`, `@remix-run/server-runtime`, and `@remix-run/react` now that they all live in `react-router` ([#12177](https://github.com/remix-run/react-router/pull/12177)) | ||
- Examples: `LoaderFunction`, `LoaderFunctionArgs`, `ActionFunction`, `ActionFunctionArgs`, `DataFunctionArgs`, `RouteManifest`, `LinksFunction`, `Route`, `EntryRoute` | ||
- The `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>` | ||
- Removed `AppData` type in favor of inlining `unknown` in the few locations it was used | ||
- Removed `ServerRuntimeMeta*` types in favor of the `Meta*` types they were duplicated from | ||
- Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171)) | ||
|
||
- Remove `installGlobals()` as this should no longer be necessary | ||
|
||
- Update `cookie` dependency to `^1.0.1` - please see the [release notes](https://github.com/jshttp/cookie/releases) for any breaking changes ([#12172](https://github.com/remix-run/react-router/pull/12172)) | ||
|
||
### Patch Changes | ||
|
||
- Replace `substr` with `substring` ([#12080](https://github.com/remix-run/react-router/pull/12080)) | ||
- Remove the deprecated `json` utility ([#12146](https://github.com/remix-run/react-router/pull/12146)) | ||
|
||
- You can use [`Response.json`](https://developer.mozilla.org/en-US/docs/Web/API/Response/json_static) if you still need to construct JSON responses in your app | ||
|
||
- Updated dependencies: | ||
- `[email protected]` | ||
|
||
## 7.0.0-pre.1 | ||
|
||
### Patch Changes | ||
|
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