Skip to content

chore: Update version for release #9740

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

Merged
merged 2 commits into from
Dec 16, 2022
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
26 changes: 0 additions & 26 deletions .changeset/happy-balloons-buy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-dodos-shop.md

This file was deleted.

34 changes: 0 additions & 34 deletions .changeset/new-taxis-stare.md

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-kiwis-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-drinks-cheer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-kids-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-rules-rest.md

This file was deleted.

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

## 6.5.0-pre.1
## 6.5.0

### Patch Changes

- Updated dependencies:
- `react-router@6.5.0-pre.1`
- `react-router-dom@6.5.0-pre.1`

## 6.5.0-pre.0

### Patch Changes

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

## 6.4.5

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.5.0-pre.1",
"version": "6.5.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.5.0-pre.1"
"react-router": "6.5.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
14 changes: 3 additions & 11 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# `react-router-dom`

## 6.5.0-pre.1
## 6.5.0

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.1.0-pre.1`
- `react-router@6.5.0-pre.1`

## 6.5.0-pre.0

### Patch Changes

- Updated dependencies:
- `react-router@6.5.0-pre.0`
- `@remix-run/router@1.1.0-pre.0`
- `react-router@6.5.0`
- `@remix-run/router@1.1.0`

## 6.4.5

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.5.0-pre.1",
"version": "6.5.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.1.0-pre.1",
"react-router": "6.5.0-pre.1"
"@remix-run/router": "1.1.0",
"react-router": "6.5.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
11 changes: 2 additions & 9 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# `react-router-native`

## 6.5.0-pre.1
## 6.5.0

### Patch Changes

- Updated dependencies:
- `react-router@6.5.0-pre.1`

## 6.5.0-pre.0

### Patch Changes

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

## 6.4.5

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.5.0-pre.1",
"version": "6.5.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.1.4",
"react-router": "6.5.0-pre.1"
"react-router": "6.5.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
43 changes: 22 additions & 21 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
# `react-router`

## 6.5.0-pre.1
## 6.5.0

### Patch Changes
This release introduces support for [Optional Route Segments](https://github.com/remix-run/react-router/issues/9546). Now, adding a `?` to the end of any path segment will make that entire segment optional. This works for both static segments and dynamic parameters.

- Updated dependencies:
- `@remix-run/router@1.1.0-pre.1`
**Optional Params Examples**

- `<Route path=":lang?/about>` will match:
- `/:lang/about`
- `/about`
- `<Route path="/multistep/:widget1?/widget2?/widget3?">` will match:
- `/multistep`
- `/multistep/:widget1`
- `/multistep/:widget1/:widget2`
- `/multistep/:widget1/:widget2/:widget3`

**Optional Static Segment Example**

## 6.5.0-pre.0
- `<Route path="/home?">` will match:
- `/`
- `/home`
- `<Route path="/fr?/about">` will match:
- `/about`
- `/fr/about`

### Minor Changes

- Support for optional path segments ([#9650](https://github.com/remix-run/react-router/pull/9650))
- You can now denote optional path segments with a `?` as the last character in a path segment
- Optional params examples
- `:lang?/about` will get expanded and match:
- `/:lang/about`
- `/about`
- `/multistep/:widget1?/widget2?/widget3?` will get expanded and match:
- `/multistep/:widget1/:widget2/:widget3`
- `/multistep/:widget1/:widget2`
- `/multistep/:widget1`
- `/multistep`
- Optional static segment example
- `/fr?/about` will get expanded and match:
- `/fr/about`
- `/about`
- Allows optional routes and optional static segments ([#9650](https://github.com/remix-run/react-router/pull/9650))

### Patch Changes

Expand All @@ -52,7 +53,7 @@ function Comp() {
```

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

## 6.4.5

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.5.0-pre.1",
"version": "6.5.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.1.0-pre.1"
"@remix-run/router": "1.1.0"
},
"devDependencies": {
"react": "^18.2.0"
Expand Down
45 changes: 24 additions & 21 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
# `@remix-run/router`

## 1.1.0-pre.1
## 1.1.0

### Patch Changes
This release introduces support for [Optional Route Segments](https://github.com/remix-run/react-router/issues/9546). Now, adding a `?` to the end of any path segment will make that entire segment optional. This works for both static segments and dynamic parameters.

- Fix issue with deeply nested optional segments ([#9727](https://github.com/remix-run/react-router/pull/9727))
**Optional Params Examples**

- Path `lang?/about` will match:
- `/:lang/about`
- `/about`
- Path `/multistep/:widget1?/widget2?/widget3?` will match:
- `/multistep`
- `/multistep/:widget1`
- `/multistep/:widget1/:widget2`
- `/multistep/:widget1/:widget2/:widget3`

**Optional Static Segment Example**

## 1.1.0-pre.0
- Path `/home?` will match:
- `/`
- `/home`
- Path `/fr?/about` will match:
- `/about`
- `/fr/about`

### Minor Changes

- Support for optional path segments ([#9650](https://github.com/remix-run/react-router/pull/9650))
- You can now denote optional path segments with a `?` as the last character in a path segment
- Optional params examples
- `:lang?/about` will get expanded and match:
- `/:lang/about`
- `/about`
- `/multistep/:widget1?/widget2?/widget3?` will get expanded and match:
- `/multistep/:widget1/:widget2/:widget3`
- `/multistep/:widget1/:widget2`
- `/multistep/:widget1`
- `/multistep`
- Optional static segment example
- `/fr?/about` will get expanded and match:
- `/fr/about`
- `/about`
- Allows optional routes and optional static segments ([#9650](https://github.com/remix-run/react-router/pull/9650))

### Patch Changes

Expand All @@ -50,9 +52,10 @@ function Comp() {
}
```

- Fix requests sent to revalidating loaders so they reflect a GET request ([#9660](https://github.com/remix-run/react-router/pull/9660))
- Persist `headers` on `loader` `request`'s after SSR document `action` request ([#9721](https://github.com/remix-run/react-router/pull/9721))
- `GET` forms now expose a submission on the loading navigation ([#9695](https://github.com/remix-run/react-router/pull/9695))
- Fix requests sent to revalidating loaders so they reflect a GET request ([#9660](https://github.com/remix-run/react-router/pull/9660))
- Fix issue with deeply nested optional segments ([#9727](https://github.com/remix-run/react-router/pull/9727))
- GET forms now expose a submission on the loading navigation ([#9695](https://github.com/remix-run/react-router/pull/9695))
- Fix error boundary tracking for multiple errors bubbling to the same boundary ([#9702](https://github.com/remix-run/react-router/pull/9702))

## 1.0.5
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.1.0-pre.1",
"version": "1.1.0",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down