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 #10601

Merged
merged 2 commits into from
Jun 14, 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
15 changes: 0 additions & 15 deletions .changeset/pre.json

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/start-transition-minification.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changeset/v7-start-transition.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.13.0-pre.1
## 6.13.0

### Patch Changes

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

## 6.12.2-pre.0

### Patch Changes

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

## 6.12.1

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.13.0-pre.1",
"version": "6.13.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.13.0-pre.1"
"react-router": "6.13.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
18 changes: 7 additions & 11 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# `react-router-dom`

## 6.13.0-pre.1
## 6.13.0

### Minor Changes

- Move [`React.startTransition`](https://react.dev/reference/react/startTransition) behind a [future flag](https://reactrouter.com/en/main/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596))
- Move [`React.startTransition`](https://react.dev/reference/react/startTransition) usage behind a [future flag](https://reactrouter.com/en/main/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596))

Existing behavior will no longer include `React.startTransition`:

Expand All @@ -28,19 +28,15 @@

### Patch Changes

- Work around webpack/terser `React.startTransition` minification bug in production mode ([#10588](https://github.com/remix-run/react-router/pull/10588))
- Updated dependencies:
- `react-router@6.13.0-pre.1`

## 6.12.2-pre.0

### Patch Changes

- Work around webpack/terser `React.startTransition` minification bug in production mode ([`2f79bcef`](https://github.com/remix-run/react-router/commit/2f79bcef5f396943cf95d0d23fbd67df9b8e17a6))
- Updated dependencies:
- `react-router@6.12.2-pre.0`
- `react-router@6.13.0`

## 6.12.1

> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version suffers from a `webpack`/`terser` minification issue resulting in invalid minified code in your resulting production bundles which can cause issues in your application. See [#10579](https://github.com/remix-run/react-router/issues/10579) for more details.

### Patch Changes

- Adjust feature detection of `React.startTransition` to fix webpack + react 17 compilation error ([#10569](https://github.com/remix-run/react-router/pull/10569))
Expand Down
4 changes: 2 additions & 2 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.13.0-pre.1",
"version": "6.13.0",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand All @@ -24,7 +24,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@remix-run/router": "1.6.3",
"react-router": "6.13.0-pre.1"
"react-router": "6.13.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.13.0-pre.1
## 6.13.0

### Patch Changes

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

## 6.12.2-pre.0

### Patch Changes

- Updated dependencies:
- `react-router@6.12.2-pre.0`
- `react-router@6.13.0`

## 6.12.1

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.13.0-pre.1",
"version": "6.13.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.13.0-pre.1"
"react-router": "6.13.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
11 changes: 6 additions & 5 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# `react-router`

## 6.13.0-pre.1
## 6.13.0

### Minor Changes

- Move [`React.startTransition`](https://react.dev/reference/react/startTransition) behind a [future flag](https://reactrouter.com/en/main/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596))
- Move [`React.startTransition`](https://react.dev/reference/react/startTransition) usage behind a [future flag](https://reactrouter.com/en/main/guides/api-development-strategy) to avoid issues with existing incompatible `Suspense` usages. We recommend folks adopting this flag to be better compatible with React concurrent mode, but if you run into issues you can continue without the use of `startTransition` until v7. Issues usually boils down to creating net-new promises during the render cycle, so if you run into issues you should either lift your promise creation out of the render cycle or put it behind a `useMemo`. ([#10596](https://github.com/remix-run/react-router/pull/10596))

Existing behavior will no longer include `React.startTransition`:

Expand All @@ -26,14 +26,15 @@
<RouterProvider router={router} future={{ v7_startTransition: true }}/>
```

## 6.12.2-pre.0

### Patch Changes

- Work around webpack/terser `React.startTransition` minification bug in production mode ([`2f79bcef`](https://github.com/remix-run/react-router/commit/2f79bcef5f396943cf95d0d23fbd67df9b8e17a6))
- Work around webpack/terser `React.startTransition` minification bug in production mode ([#10588](https://github.com/remix-run/react-router/pull/10588))

## 6.12.1

> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version suffers from a `webpack`/`terser` minification issue resulting in invalid minified code in your resulting production bundles which can cause issues in your application. See [#10579](https://github.com/remix-run/react-router/issues/10579) for more details.

### Patch Changes

- Adjust feature detection of `React.startTransition` to fix webpack + react 17 compilation error ([#10569](https://github.com/remix-run/react-router/pull/10569))
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router",
"version": "6.13.0-pre.1",
"version": "6.13.0",
"description": "Declarative routing for React",
"keywords": [
"react",
Expand Down