Skip to content

Commit

Permalink
chore: Update version for release (#10601)
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 Jun 14, 2023
1 parent 9f1ae18 commit ed17fcd
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 90 deletions.
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit ed17fcd

Please sign in to comment.