Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update version for release #11035

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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