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

Merged
merged 4 commits into from
Jan 26, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/afraid-ducks-know.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/chilly-stingrays-rhyme.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-taxis-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-insects-complain.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/silver-snails-destroy.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/six-tigers-fold.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-squids-wash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-cheetahs-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-swans-cry.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/sweet-trains-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-badgers-notice.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,21 +1,13 @@
# `react-router-dom-v5-compat`

## 6.8.0-pre.1

### Patch Changes

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

## 6.7.1-pre.0
## 6.8.0

### Patch Changes

- Fix SSR `useLayoutEffect` `console.error` when using `CompatRouter` ([#9820](https://github.com/remix-run/react-router/pull/9820))
- Updated dependencies:
- `react-router-dom@6.7.1-pre.0`
- `react-router@6.7.1-pre.0`
- `react-router-dom@6.8.0`
- `react-router@6.8.0`

## 6.7.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.8.0-pre.1",
"version": "6.8.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.8.0-pre.1"
"react-router": "6.8.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
25 changes: 9 additions & 16 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
# `react-router-dom`

## 6.8.0-pre.1
## 6.8.0

### Minor Changes

- Support absolute URLs in `<Link to>`. If the URL is for the current origin, it will still do a client-side navigation. If the URL is for a different origin then it will do a fresh document request for the new origin. ([#9900](https://github.com/remix-run/react-router/pull/9900))

```tsx
<Link to="https://neworigin.com/some/path">
<Link to="//neworigin.com/some/path">
<Link to="https://www.currentorigin.com/path">
<Link to="https://neworigin.com/some/path"> {/* Document request */}
<Link to="//neworigin.com/some/path"> {/* Document request */}
<Link to="https://www.currentorigin.com/path"> {/* Client-side navigation */}
```

### Patch Changes

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

## 6.7.1-pre.0

### Patch Changes

- Fix bug with search params removal ([#9969](https://github.com/remix-run/react-router/pull/9969))
- Respect `preventScrollReset` on `fetcher.Form` ([#9963](https://github.com/remix-run/react-router/pull/9963))
- Fix bug with search params removal via `useSearchParams` ([#9969](https://github.com/remix-run/react-router/pull/9969))
- Respect `preventScrollReset` on `<fetcher.Form>` ([#9963](https://github.com/remix-run/react-router/pull/9963))
- Fix navigation for hash routers on manual URL changes ([#9980](https://github.com/remix-run/react-router/pull/9980))
- Use `pagehide` instead of `beforeunload` for `<ScrollRestoration>`. This has better cross-browser support, specifically on Mobile Safari. ([#9945](https://github.com/remix-run/react-router/pull/9945))

- Updated dependencies:
- `@remix-run/router@1.3.1-pre.0`
- `react-router@6.7.1-pre.0`
- `@remix-run/router@1.3.1`
- `react-router@6.8.0`

## 6.7.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.8.0-pre.1",
"version": "6.8.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.3.1-pre.0",
"react-router": "6.8.0-pre.1"
"@remix-run/router": "1.3.1",
"react-router": "6.8.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
13 changes: 3 additions & 10 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
# `react-router-native`

## 6.8.0-pre.1
## 6.8.0

### Patch Changes

- Fix bug with search params removal via `useSearchParams` ([#9969](https://github.com/remix-run/react-router/pull/9969))
- Updated dependencies:
- `react-router@6.8.0-pre.1`

## 6.7.1-pre.0

### Patch Changes

- Fix bug with search params removal ([#9969](https://github.com/remix-run/react-router/pull/9969))
- Updated dependencies:
- `react-router@6.7.1-pre.0`
- `react-router@6.8.0`

## 6.7.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.8.0-pre.1",
"version": "6.8.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.8.0-pre.1"
"react-router": "6.8.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# `react-router`

## 6.8.0-pre.1
## 6.8.0

### Patch Changes

- Updated dependencies:
- `@remix-run/router@1.3.1`

## 6.7.1-pre.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.8.0-pre.1",
"version": "6.8.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.3.1-pre.0"
"@remix-run/router": "1.3.1"
},
"devDependencies": {
"react": "^18.2.0"
Expand Down
11 changes: 7 additions & 4 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# `@remix-run/router`

## 1.3.1-pre.0
## 1.3.1

### Patch Changes

- Respect `preventScrollReset` on `fetcher.Form` ([#9963](https://github.com/remix-run/react-router/pull/9963))
- Fix revalidating fetcher `shouldRevalidate` params ([#9948](https://github.com/remix-run/react-router/pull/9948))
- Fixes 2 separate issues for revalidating fetcher `shouldRevalidate` calls ([#9948](https://github.com/remix-run/react-router/pull/9948))
- The `shouldRevalidate` function was only being called for _explicit_ revalidation scenarios (after a mutation, manual `useRevalidator` call, or an `X-Remix-Revalidate` header used for cookie setting in Remix). It was not properly being called on _implicit_ revalidation scenarios that also apply to navigation `loader` revalidation, such as a change in search params or clicking a link for the page we're already on. It's now correctly called in those additional scenarios.
- The parameters being passed were incorrect and inconsistent with one another since the `current*`/`next*` parameters reflected the static `fetcher.load` URL (and thus were identical). Instead, they should have reflected the the navigation that triggered the revalidation (as the `form*` parameters did). These parameters now correctly reflect the triggering navigation.
- Respect `preventScrollReset` on `<fetcher.Form>` ([#9963](https://github.com/remix-run/react-router/pull/9963))
- Do not short circuit on hash change only mutation submissions ([#9944](https://github.com/remix-run/react-router/pull/9944))
- Remove `instanceof` check from `isRouteErrorResponse` to avoid bundling issues on the server ([#9930](https://github.com/remix-run/react-router/pull/9930))
- Detect no lazy data and remove abort controller for `defer` ([#9965](https://github.com/remix-run/react-router/pull/9965))
- Fix navigation for hash routers on manual URL changes ([#9980](https://github.com/remix-run/react-router/pull/9980))
- Detect when a `defer` call only contains critical data and remove the `AbortController` ([#9965](https://github.com/remix-run/react-router/pull/9965))
- Send the name as the value when url-encoding `File` `FormData` entries ([#9867](https://github.com/remix-run/react-router/pull/9867))

## 1.3.0
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.3.1-pre.0",
"version": "1.3.1",
"description": "Nested/Data-driven/Framework-agnostic Routing",
"keywords": [
"remix",
Expand Down