Skip to content

Commit

Permalink
chore: Update version for release (#11035)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Nov 16, 2023
1 parent 4934947 commit dcf0c2a
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 120 deletions.
5 changes: 0 additions & 5 deletions .changeset/changing-fetcher-key.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-action-data.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/fix-relative-path.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fix-resolve-path.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/flush-sync-router.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/flush-sync.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/form-action-index.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-items-hang.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stabilize-use-blocker.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update-useprompt-args.md

This file was deleted.

9 changes: 4 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,16 @@ function handleClick() {
- Add `unstable_flushSync` option to `useNavigate`/`useSubmit`/`fetcher.load`/`fetcher.submit` to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005))
- Remove the `unstable_` prefix from the [`useBlocker`](https://reactrouter.com/en/main/hooks/use-blocker) hook as it's been in use for enough time that we are confident in the API ([#10991](https://github.com/remix-run/react-router/pull/10991))
- We do not plan to remove the prefix from `unstable_usePrompt` due to differences in how browsers handle `window.confirm` that prevent React Router from guaranteeing consistent/correct behavior
- Fix types so `unstable_usePrompt` can accept a `BlockerFunction` in addition to a `boolean` ([#10991](https://github.com/remix-run/react-router/pull/10991))
- `@remix-run/router`: Add `unstable_flushSync` option to `router.navigate` and `router.fetch` to tell the React Router layer to opt-out of `React.startTransition` and into `ReactDOM.flushSync` for state updates ([#11005](https://github.com/remix-run/react-router/pull/11005))

### Patch Changes

- Fix issue where a changing fetcher `key` in a `useFetcher` that remains mounted wasn't getting picked up ([#11009](https://github.com/remix-run/react-router/pull/11009))
- Fix `useFormAction` which was incorrectly inheriting the `?index` query param from child route `action` submissions ([#11025](https://github.com/remix-run/react-router/pull/11025))
- Fix `useActionData` so it returns proper contextual action data and not _any_ action data in the tree ([#11023](https://github.com/remix-run/react-router/pull/11023))
- Fix `NavLink` `active` logic when `to` location has a trailing slash ([#10734](https://github.com/remix-run/react-router/pull/10734))
- Fix bug in `useResolvedPath` that would cause `useResolvedPath(".")` in a splat route to lose the splat portion of the URL path. ([#10983](https://github.com/remix-run/react-router/pull/10983))
- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths inside a splat route which incorrectly dropped the splat portion of the URL. If you are relative routing via `"."` inside a splat route in your application you should double check that your logic is not relying on this buggy behavior and update accordingly.
- Fix issue where a changing fetcher `key` in a `useFetcher` that remains mounted wasn't getting picked up ([#11009](https://github.com/remix-run/react-router/pull/11009))
- Fix `useFormAction` which was incorrectly inheriting the `?index` query param from child route `action` submissions ([#11025](https://github.com/remix-run/react-router/pull/11025))
- Fix `NavLink` `active` logic when `to` location has a trailing slash ([#10734](https://github.com/remix-run/react-router/pull/10734))
- Fix types so `unstable_usePrompt` can accept a `BlockerFunction` in addition to a `boolean` ([#10991](https://github.com/remix-run/react-router/pull/10991))
- Fix `relative="path"` bug where relative path calculations started from the full location pathname, instead of from the current contextual route pathname. ([#11006](https://github.com/remix-run/react-router/pull/11006))

```jsx
Expand Down
6 changes: 3 additions & 3 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# `react-router-dom-v5-compat`

## 6.19.0-pre.0
## 6.19.0

### Patch Changes

- Updated dependencies:
- `react-router-dom@6.19.0-pre.0`
- `react-router@6.19.0-pre.0`
- `react-router-dom@6.19.0`
- `react-router@6.19.0`

## 6.18.0

Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dom-v5-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom-v5-compat",
"version": "6.19.0-pre.0",
"version": "6.19.0",
"description": "Migration path to React Router v6 from v4/5",
"keywords": [
"react",
Expand All @@ -24,7 +24,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"history": "^5.3.0",
"react-router": "6.19.0-pre.0"
"react-router": "6.19.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `react-router-dom`

## 6.19.0-pre.0
## 6.19.0

### Minor Changes

Expand All @@ -13,8 +13,8 @@
- Fix `useFormAction` which was incorrectly inheriting the `?index` query param from child route `action` submissions ([#11025](https://github.com/remix-run/react-router/pull/11025))
- Fix `NavLink` `active` logic when `to` location has a trailing slash ([#10734](https://github.com/remix-run/react-router/pull/10734))
- Updated dependencies:
- `react-router@6.19.0-pre.0`
- `@remix-run/router@1.12.0-pre.0`
- `react-router@6.19.0`
- `@remix-run/router@1.12.0`

## 6.18.0

Expand Down
6 changes: 3 additions & 3 deletions packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom",
"version": "6.19.0-pre.0",
"version": "6.19.0",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand All @@ -23,8 +23,8 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@remix-run/router": "1.12.0-pre.0",
"react-router": "6.19.0-pre.0"
"@remix-run/router": "1.12.0",
"react-router": "6.19.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# `react-router-native`

## 6.19.0-pre.0
## 6.19.0

### Patch Changes

- Updated dependencies:
- `react-router@6.19.0-pre.0`
- `react-router@6.19.0`

## 6.18.0

Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-native",
"version": "6.19.0-pre.0",
"version": "6.19.0",
"description": "Declarative routing for React Native applications",
"keywords": [
"react",
Expand All @@ -22,7 +22,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@ungap/url-search-params": "^0.2.2",
"react-router": "6.19.0-pre.0"
"react-router": "6.19.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `react-router`

## 6.19.0-pre.0
## 6.19.0

### Minor Changes

Expand All @@ -15,7 +15,7 @@
- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths inside a splat route which incorrectly dropped the splat portion of the URL. If you are relative routing via `"."` inside a splat route in your application you should double check that your logic is not relying on this buggy behavior and update accordingly.

- Updated dependencies:
- `@remix-run/router@1.12.0-pre.0`
- `@remix-run/router@1.12.0`

## 6.18.0

Expand Down
4 changes: 2 additions & 2 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router",
"version": "6.19.0-pre.0",
"version": "6.19.0",
"description": "Declarative routing for React",
"keywords": [
"react",
Expand All @@ -23,7 +23,7 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@remix-run/router": "1.12.0-pre.0"
"@remix-run/router": "1.12.0"
},
"devDependencies": {
"react": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `@remix-run/router`

## 1.12.0-pre.0
## 1.12.0

### Minor Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/router",
"version": "1.12.0-pre.0",
"version": "1.12.0",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down

0 comments on commit dcf0c2a

Please sign in to comment.