Skip to content

Commit 9b1d184

Browse files
authoredSep 5, 2023
chore: Update version for release (pre) (#10844)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b6614b0 commit 9b1d184

File tree

11 files changed

+63
-10
lines changed

11 files changed

+63
-10
lines changed
 

‎.changeset/pre.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"changesets": [
1212
"aborted-query-error-message",
13+
"align-types",
1314
"encode-uri-ssr",
1415
"error-response-type",
1516
"export-should-revalidate-args",

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

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# `react-router-dom-v5-compat`
22

3+
## 6.16.0-pre.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router-dom@6.16.0-pre.1`
9+
- `react-router@6.16.0-pre.1`
10+
311
## 6.16.0-pre.0
412

513
### Minor Changes

‎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.0",
3+
"version": "6.16.0-pre.1",
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.0"
27+
"react-router": "6.16.0-pre.1"
2828
},
2929
"peerDependencies": {
3030
"react": ">=16.8",

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

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# `react-router-dom`
22

3+
## 6.16.0-pre.1
4+
5+
### Patch Changes
6+
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 breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
8+
9+
- `Location` now accepts a generic for the `location.state` value
10+
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
11+
- 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`
12+
13+
- Updated dependencies:
14+
- `react-router@6.16.0-pre.1`
15+
- `@remix-run/router@1.9.0-pre.1`
16+
317
## 6.16.0-pre.0
418

519
### Minor Changes

‎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.0",
3+
"version": "6.16.0-pre.1",
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.0",
27-
"react-router": "6.16.0-pre.0"
26+
"@remix-run/router": "1.9.0-pre.1",
27+
"react-router": "6.16.0-pre.1"
2828
},
2929
"devDependencies": {
3030
"react": "^18.2.0",

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

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `react-router-native`
22

3+
## 6.16.0-pre.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies:
8+
- `react-router@6.16.0-pre.1`
9+
310
## 6.16.0-pre.0
411

512
### Minor Changes

‎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.0",
3+
"version": "6.16.0-pre.1",
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.0"
25+
"react-router": "6.16.0-pre.1"
2626
},
2727
"devDependencies": {
2828
"react": "^18.2.0",

‎packages/react-router/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# `react-router`
22

3+
## 6.16.0-pre.1
4+
5+
### Patch Changes
6+
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 breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
8+
9+
- `Location` now accepts a generic for the `location.state` value
10+
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
11+
- 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`
12+
13+
- Updated dependencies:
14+
- `@remix-run/router@1.9.0-pre.1`
15+
316
## 6.16.0-pre.0
417

518
### Minor Changes

‎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.0",
3+
"version": "6.16.0-pre.1",
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.0"
26+
"@remix-run/router": "1.9.0-pre.1"
2727
},
2828
"devDependencies": {
2929
"react": "^18.2.0"

‎packages/router/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# `@remix-run/router`
22

3+
## 1.9.0-pre.1
4+
5+
### Patch Changes
6+
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 breakjing change. ([#10843](https://github.com/remix-run/react-router/pull/10843))
8+
9+
- `Location` now accepts a generic for the `location.state` value
10+
- `ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction` now accept a generic for the `context` parameter (only used in SSR usages via `createStaticHandler`)
11+
- 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`
12+
313
## 1.9.0-pre.0
414

515
### Minor Changes

‎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.0",
3+
"version": "1.9.0-pre.1",
44
"description": "Nested/Data-driven/Framework-agnostic Routing",
55
"keywords": [
66
"remix",

0 commit comments

Comments
 (0)
Please sign in to comment.