Skip to content

Commit 09b6cbe

Browse files
chore: Update version for release (#10636)
* chore: Update version for release * Update changelogs --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Brophy <matt@brophy.org>
1 parent 0ec67e6 commit 09b6cbe

23 files changed

+44
-242
lines changed

.changeset/blocker-key-strict-mode.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/brave-mails-relate.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/formdata-submitter.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pre.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.changeset/purple-islands-cough.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/raw-payload-submission-router.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

.changeset/raw-payload-submission.md

Lines changed: 0 additions & 53 deletions
This file was deleted.

.changeset/skip-fetcher-revalidate.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/smart-pots-repair.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/strip-basename-getkey.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/strip-blocker-basename.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/sync-window-location.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/tsc-skiplibcheck-react17.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

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

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
# `react-router-dom-v5-compat`
22

3-
## 6.14.0-pre.1
3+
## 6.14.0
44

55
### Patch Changes
66

7+
- Upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
78
- Updated dependencies:
8-
- `react-router-dom@6.14.0-pre.1`
9-
- `react-router@6.14.0-pre.1`
10-
11-
## 6.14.0-pre.0
12-
13-
### Patch Changes
14-
15-
- upgrade typescript to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
16-
- Updated dependencies:
17-
- `react-router@6.14.0-pre.0`
18-
- `react-router-dom@6.14.0-pre.0`
9+
- `react-router@6.14.0`
10+
- `react-router-dom@6.14.0`
1911

2012
## 6.13.0
2113

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom-v5-compat",
3-
"version": "6.14.0-pre.1",
3+
"version": "6.14.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.14.0-pre.1"
27+
"react-router": "6.14.0"
2828
},
2929
"peerDependencies": {
3030
"react": ">=16.8",

packages/react-router-dom/CHANGELOG.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
# `react-router-dom`
22

3-
## 6.14.0-pre.1
4-
5-
### Patch Changes
6-
7-
- (Remove) Fix FormData submitter feature detection check ([#10627](https://github.com/remix-run/react-router/pull/10627))
8-
- Updated dependencies:
9-
- `react-router@6.14.0-pre.1`
10-
11-
## 6.14.0-pre.0
3+
## 6.14.0
124

135
### Minor Changes
146

15-
- Add support for `application/json` and `text/plain` encodings for `useSubmit`/`fetcher.submit`. To reflect these additional types, `useNavigation`/`useFetcher` now also contain `navigation.json`/`navigation.text` and `fetcher.json`/`fetcher.text` which include the json/text submission if applicable. ([#10413](https://github.com/remix-run/react-router/pull/10413))
7+
- Add support for `application/json` and `text/plain` encodings for `useSubmit`/`fetcher.submit`. To reflect these additional types, `useNavigation`/`useFetcher` now also contain `navigation.json`/`navigation.text` and `fetcher.json`/`fetcher.text` which include the json/text submission if applicable ([#10413](https://github.com/remix-run/react-router/pull/10413))
168

179
```jsx
1810
// The default behavior will still serialize as FormData
1911
function Component() {
2012
let navigation = useNavigation();
2113
let submit = useSubmit();
22-
submit({ key: "value" });
14+
submit({ key: "value" }, { method: "post" });
2315
// navigation.formEncType => "application/x-www-form-urlencoded"
2416
// navigation.formData => FormData instance
2517
}
@@ -33,8 +25,9 @@
3325
```js
3426
// Opt-into JSON encoding with `encType: "application/json"`
3527
function Component() {
28+
let navigation = useNavigation();
3629
let submit = useSubmit();
37-
submit({ key: "value" }, { encType: "application/json" });
30+
submit({ key: "value" }, { method: "post", encType: "application/json" });
3831
// navigation.formEncType => "application/json"
3932
// navigation.json => { key: "value" }
4033
}
@@ -48,8 +41,9 @@
4841
```js
4942
// Opt-into text encoding with `encType: "text/plain"`
5043
function Component() {
44+
let navigation = useNavigation();
5145
let submit = useSubmit();
52-
submit("Text submission", { encType: "text/plain" });
46+
submit("Text submission", { method: "post", encType: "text/plain" });
5347
// navigation.formEncType => "text/plain"
5448
// navigation.text => "Text submission"
5549
}
@@ -62,13 +56,16 @@
6256

6357
### Patch Changes
6458

65-
- When submitting a form from a `submitter` element, prefer the built-in `new FormData(form, submitter)` instead of the previous manual approach in modern browsers (those that support the new `submitter` parameter). For browsers that don't support it, we continue to just append the submit button's entry to the end, and we also add rudimentary support for `type="image"` buttons. If developers want full spec-compliant support for legacy browsers, they can use the `formdata-submitter-polyfill`. ([#9865](https://github.com/remix-run/react-router/pull/9865))
66-
- upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
67-
- Call `window.history.pushState/replaceState` before updating React Router state (instead of after) so that `window.location` matches `useLocation` during synchronous React 17 rendering. However, generally apps should not be relying on `window.location` and should always reference `useLocation` when possible, as `window.location` will not be in sync 100% of the time (due to `popstate` events, concurrent mode, etc.) ([#10448](https://github.com/remix-run/react-router/pull/10448))
59+
- When submitting a form from a `submitter` element, prefer the built-in `new FormData(form, submitter)` instead of the previous manual approach in modern browsers (those that support the new `submitter` parameter) ([#9865](https://github.com/remix-run/react-router/pull/9865), [#10627](https://github.com/remix-run/react-router/pull/10627))
60+
- For browsers that don't support it, we continue to just append the submit button's entry to the end, and we also add rudimentary support for `type="image"` buttons
61+
- If developers want full spec-compliant support for legacy browsers, they can use the `formdata-submitter-polyfill`
62+
- Call `window.history.pushState/replaceState` before updating React Router state (instead of after) so that `window.location` matches `useLocation` during synchronous React 17 rendering ([#10448](https://github.com/remix-run/react-router/pull/10448))
63+
- ⚠️ However, generally apps should not be relying on `window.location` and should always reference `useLocation` when possible, as `window.location` will not be in sync 100% of the time (due to `popstate` events, concurrent mode, etc.)
6864
- Fix `tsc --skipLibCheck:false` issues on React 17 ([#10622](https://github.com/remix-run/react-router/pull/10622))
65+
- Upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
6966
- Updated dependencies:
70-
- `react-router@6.14.0-pre.0`
71-
- `@remix-run/router@1.7.0-pre.0`
67+
- `react-router@6.14.0`
68+
- `@remix-run/router@1.7.0`
7269

7370
## 6.13.0
7471

packages/react-router-dom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-dom",
3-
"version": "6.14.0-pre.1",
3+
"version": "6.14.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.7.0-pre.0",
27-
"react-router": "6.14.0-pre.1"
26+
"@remix-run/router": "1.7.0",
27+
"react-router": "6.14.0"
2828
},
2929
"devDependencies": {
3030
"react": "^18.2.0",

packages/react-router-native/CHANGELOG.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
# `react-router-native`
22

3-
## 6.14.0-pre.1
3+
## 6.14.0
44

55
### Patch Changes
66

7+
- Upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
78
- Updated dependencies:
8-
- `react-router@6.14.0-pre.1`
9-
10-
## 6.14.0-pre.0
11-
12-
### Patch Changes
13-
14-
- upgrade typescript to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
15-
- Updated dependencies:
16-
- `react-router@6.14.0-pre.0`
9+
- `react-router@6.14.0`
1710

1811
## 6.13.0
1912

packages/react-router-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-native",
3-
"version": "6.14.0-pre.1",
3+
"version": "6.14.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.1.4",
25-
"react-router": "6.14.0-pre.1"
25+
"react-router": "6.14.0"
2626
},
2727
"devDependencies": {
2828
"react": "^18.2.0",

packages/react-router/CHANGELOG.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# `react-router`
22

3-
## 6.14.0-pre.1
4-
5-
## 6.14.0-pre.0
3+
## 6.14.0
64

75
### Patch Changes
86

97
- Strip `basename` from locations provided to `unstable_useBlocker` functions to match `useLocation` ([#10573](https://github.com/remix-run/react-router/pull/10573))
108
- Fix `generatePath` when passed a numeric `0` value parameter ([#10612](https://github.com/remix-run/react-router/pull/10612))
119
- Fix `unstable_useBlocker` key issues in `StrictMode` ([#10573](https://github.com/remix-run/react-router/pull/10573))
1210
- Fix `tsc --skipLibCheck:false` issues on React 17 ([#10622](https://github.com/remix-run/react-router/pull/10622))
13-
- upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
11+
- Upgrade `typescript` to 5.1 ([#10581](https://github.com/remix-run/react-router/pull/10581))
1412
- Updated dependencies:
15-
- `@remix-run/router@1.7.0-pre.0`
13+
- `@remix-run/router@1.7.0`
1614

1715
## 6.13.0
1816

0 commit comments

Comments
 (0)