Skip to content

Commit 13fb25a

Browse files
authoredSep 13, 2023
chore: Update version for release (#10866)
1 parent d5b9a18 commit 13fb25a

20 files changed

+33
-213
lines changed
 

‎.changeset/aborted-query-error-message.md

-5
This file was deleted.

‎.changeset/align-types.md

-11
This file was deleted.

‎.changeset/encode-uri-ssr.md

-5
This file was deleted.

‎.changeset/error-response-type.md

-9
This file was deleted.

‎.changeset/export-should-revalidate-args.md

-9
This file was deleted.

‎.changeset/gold-ghosts-draw.md

-5
This file was deleted.

‎.changeset/pre.json

-22
This file was deleted.

‎.changeset/remix-v2-prep.md

-9
This file was deleted.

‎.changeset/route-lazy-race.md

-5
This file was deleted.

‎.changeset/should-revalidate-action-result-type.md

-5
This file was deleted.

‎packages/react-router-dom-v5-compat/CHANGELOG.md

+3-25
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
11
# `react-router-dom-v5-compat`
22

3-
## 6.16.0-pre.2
4-
5-
### Patch Changes
6-
7-
- Updated dependencies:
8-
- `react-router@6.16.0-pre.2`
9-
- `react-router-dom@6.16.0-pre.2`
10-
11-
## 6.16.0-pre.1
12-
13-
### Patch Changes
14-
15-
- Updated dependencies:
16-
- `react-router-dom@6.16.0-pre.1`
17-
- `react-router@6.16.0-pre.1`
18-
19-
## 6.16.0-pre.0
3+
## 6.16.0
204

215
### Minor Changes
226

23-
- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
24-
25-
### Patch Changes
26-
27-
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
28-
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
297
- Updated dependencies:
30-
- `react-router-dom@6.16.0-pre.0`
31-
- `react-router@6.16.0-pre.0`
8+
- `react-router-dom@6.16.0`
9+
- `react-router@6.16.0`
3210

3311
## 6.15.0
3412

‎packages/react-router-dom-v5-compat/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom-v5-compat",
3-
"version": "6.16.0-pre.2",
3+
"version": "6.16.0",
44
"description": "Migration path to React Router v6 from v4/5",
55
"keywords": [
66
"react",
@@ -24,7 +24,7 @@
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
2626
"history": "^5.3.0",
27-
"react-router": "6.16.0-pre.2"
27+
"react-router": "6.16.0"
2828
},
2929
"peerDependencies": {
3030
"react": ">=16.8",

‎packages/react-router-dom/CHANGELOG.md

+5-30
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,16 @@
11
# `react-router-dom`
22

3-
## 6.16.0-pre.2
4-
5-
### Patch Changes
6-
7-
- Updated dependencies:
8-
- `@remix-run/router@1.9.0-pre.2`
9-
- `react-router@6.16.0-pre.2`
10-
11-
## 6.16.0-pre.1
12-
13-
### Patch Changes
14-
15-
- In order to move towards stricter TypeScript support in the future, we're aiming to replace current usages of `any` with `unknown` on exposed typings for user-provided data. To do this in Remix v2 without introducing breaking changes in React Router v6, we have added generics to a number of shared types. These continue to default to `any` in React Router and are overridden with `unknown` in Remix. In React Router v7 we plan to move these to `unknown` as a breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
16-
17-
- `Location` now accepts a generic for the `location.state` value
18-
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
19-
- The return type of `useMatches` (now exported as `UIMatch`) accepts generics for `match.data` and `match.handle` - both of which were already set to `unknown`
20-
21-
- Updated dependencies:
22-
- `react-router@6.16.0-pre.1`
23-
- `@remix-run/router@1.9.0-pre.1`
24-
25-
## 6.16.0-pre.0
3+
## 6.16.0
264

275
### Minor Changes
286

29-
- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
7+
- Updated dependencies:
8+
- `@remix-run/router@1.9.0`
9+
- `react-router@6.16.0`
3010

3111
### Patch Changes
3212

33-
- Proeprly encode rendered URIs in server rendering to avoid hydration errors ([#10769](https://github.com/remix-run/react-router/pull/10769))
34-
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
35-
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
36-
- Updated dependencies:
37-
- `@remix-run/router@1.9.0-pre.0`
38-
- `react-router@6.16.0-pre.0`
13+
- Properly encode rendered URIs in server rendering to avoid hydration errors ([#10769](https://github.com/remix-run/react-router/pull/10769))
3914

4015
## 6.15.0
4116

‎packages/react-router-dom/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom",
3-
"version": "6.16.0-pre.2",
3+
"version": "6.16.0",
44
"description": "Declarative routing for React web applications",
55
"keywords": [
66
"react",
@@ -23,8 +23,8 @@
2323
"module": "./dist/index.js",
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
26-
"@remix-run/router": "1.9.0-pre.2",
27-
"react-router": "6.16.0-pre.2"
26+
"@remix-run/router": "1.9.0",
27+
"react-router": "6.16.0"
2828
},
2929
"devDependencies": {
3030
"react": "^18.2.0",

‎packages/react-router-native/CHANGELOG.md

+2-22
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
11
# `react-router-native`
22

3-
## 6.16.0-pre.2
4-
5-
### Patch Changes
6-
7-
- Updated dependencies:
8-
- `react-router@6.16.0-pre.2`
9-
10-
## 6.16.0-pre.1
11-
12-
### Patch Changes
13-
14-
- Updated dependencies:
15-
- `react-router@6.16.0-pre.1`
16-
17-
## 6.16.0-pre.0
3+
## 6.16.0
184

195
### Minor Changes
206

21-
- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
22-
23-
### Patch Changes
24-
25-
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
26-
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
277
- Updated dependencies:
28-
- `react-router@6.16.0-pre.0`
8+
- `react-router@6.16.0`
299

3010
## 6.15.0
3111

‎packages/react-router-native/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-native",
3-
"version": "6.16.0-pre.2",
3+
"version": "6.16.0",
44
"description": "Declarative routing for React Native applications",
55
"keywords": [
66
"react",
@@ -22,7 +22,7 @@
2222
"types": "./dist/index.d.ts",
2323
"dependencies": {
2424
"@ungap/url-search-params": "^0.2.2",
25-
"react-router": "6.16.0-pre.2"
25+
"react-router": "6.16.0"
2626
},
2727
"devDependencies": {
2828
"react": "^18.2.0",

‎packages/react-router/CHANGELOG.md

+7-23
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,21 @@
11
# `react-router`
22

3-
## 6.16.0-pre.2
3+
## 6.16.0
44

5-
### Patch Changes
6-
7-
- Updated dependencies:
8-
- `@remix-run/router@1.9.0-pre.2`
9-
10-
## 6.16.0-pre.1
11-
12-
### Patch Changes
13-
14-
- In order to move towards stricter TypeScript support in the future, we're aiming to replace current usages of `any` with `unknown` on exposed typings for user-provided data. To do this in Remix v2 without introducing breaking changes in React Router v6, we have added generics to a number of shared types. These continue to default to `any` in React Router and are overridden with `unknown` in Remix. In React Router v7 we plan to move these to `unknown` as a breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
5+
### Minor Changes
156

7+
- In order to move towards stricter TypeScript support in the future, we're aiming to replace current usages of `any` with `unknown` on exposed typings for user-provided data. To do this in Remix v2 without introducing breaking changes in React Router v6, we have added generics to a number of shared types. These continue to default to `any` in React Router and are overridden with `unknown` in Remix. In React Router v7 we plan to move these to `unknown` as a breaking change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
168
- `Location` now accepts a generic for the `location.state` value
179
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
1810
- The return type of `useMatches` (now exported as `UIMatch`) accepts generics for `match.data` and `match.handle` - both of which were already set to `unknown`
19-
20-
- Updated dependencies:
21-
- `@remix-run/router@1.9.0-pre.1`
22-
23-
## 6.16.0-pre.0
24-
25-
### Minor Changes
26-
27-
- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
11+
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
12+
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
13+
- Removed private/internal APIs only required for the Remix v1 backwards compatibility layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
2814

2915
### Patch Changes
3016

31-
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
32-
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
3317
- Updated dependencies:
34-
- `@remix-run/router@1.9.0-pre.0`
18+
- `@remix-run/router@1.9.0`
3519

3620
## 6.15.0
3721

‎packages/react-router/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router",
3-
"version": "6.16.0-pre.2",
3+
"version": "6.16.0",
44
"description": "Declarative routing for React",
55
"keywords": [
66
"react",
@@ -23,7 +23,7 @@
2323
"module": "./dist/index.js",
2424
"types": "./dist/index.d.ts",
2525
"dependencies": {
26-
"@remix-run/router": "1.9.0-pre.2"
26+
"@remix-run/router": "1.9.0"
2727
},
2828
"devDependencies": {
2929
"react": "^18.2.0"

‎packages/router/CHANGELOG.md

+6-18
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,20 @@
11
# `@remix-run/router`
22

3-
## 1.9.0-pre.2
3+
## 1.9.0
44

5-
### Patch Changes
6-
7-
- [REMOVE] Use long generic names ([#10845](https://github.com/remix-run/react-router/pull/10845))
8-
9-
## 1.9.0-pre.1
10-
11-
### Patch Changes
12-
13-
- In order to move towards stricter TypeScript support in the future, we're aiming to replace current usages of `any` with `unknown` on exposed typings for user-provided data. To do this in Remix v2 without introducing breaking changes in React Router v6, we have added generics to a number of shared types. These continue to default to `any` in React Router and are overridden with `unknown` in Remix. In React Router v7 we plan to move these to `unknown` as a breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
5+
### Minor Changes
146

7+
- In order to move towards stricter TypeScript support in the future, we're aiming to replace current usages of `any` with `unknown` on exposed typings for user-provided data. To do this in Remix v2 without introducing breaking changes in React Router v6, we have added generics to a number of shared types. These continue to default to `any` in React Router and are overridden with `unknown` in Remix. In React Router v7 we plan to move these to `unknown` as a breaking change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
158
- `Location` now accepts a generic for the `location.state` value
169
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
1710
- The return type of `useMatches` (now exported as `UIMatch`) accepts generics for `match.data` and `match.handle` - both of which were already set to `unknown`
18-
19-
## 1.9.0-pre.0
20-
21-
### Minor Changes
22-
23-
- Removed internal API only required for the Remix v1 back-compat layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
11+
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
12+
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
13+
- Removed private/internal APIs only required for the Remix v1 backwards compatibility layer and no longer needed in Remix v2 (`_isFetchActionRedirect`, `_hasFetcherDoneAnything`) ([#10715](https://github.com/remix-run/react-router/pull/10715))
2414

2515
### Patch Changes
2616

2717
- Add method/url to error message on aborted `query`/`queryRoute` calls ([#10793](https://github.com/remix-run/react-router/pull/10793))
28-
- Move the `@private` class export `ErrorResponse` to an `UNSAFE_ErrorResponseImpl` export since it is an implementation detail and there should be no construction of `ErrorResponse` instances in userland. This frees us up to export a `type ErrorResponse` which correlates to an instance of the class via `InstanceType`. Userland code should only ever be using `ErrorResponse` as a type and should be type-narrowing via `isRouteErrorResponse`. ([#10811](https://github.com/remix-run/react-router/pull/10811))
29-
- Export `ShouldRevalidateFunctionArgs` interface ([#10797](https://github.com/remix-run/react-router/pull/10797))
3018
- Fix a race-condition with loader/action-thrown errors on `route.lazy` routes ([#10778](https://github.com/remix-run/react-router/pull/10778))
3119
- Fix type for `actionResult` on the arguments object passed to `shouldRevalidate` ([#10779](https://github.com/remix-run/react-router/pull/10779))
3220

‎packages/router/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@remix-run/router",
3-
"version": "1.9.0-pre.2",
3+
"version": "1.9.0",
44
"description": "Nested/Data-driven/Framework-agnostic Routing",
55
"keywords": [
66
"remix",

0 commit comments

Comments
 (0)
Please sign in to comment.