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 (pre) #9974

Merged
merged 4 commits into from
Jan 24, 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
13 changes: 12 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,16 @@
"react-router-native": "6.7.0",
"@remix-run/router": "1.3.0"
},
"changesets": []
"changesets": [
"afraid-ducks-know",
"chilly-stingrays-rhyme",
"little-taxis-bake",
"orange-insects-complain",
"silent-oranges-pay",
"silver-snails-destroy",
"small-squids-wash",
"spotty-cheetahs-live",
"sweet-swans-cry",
"twenty-badgers-notice"
]
}
5 changes: 3 additions & 2 deletions .changeset/silent-oranges-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"react-router-dom": patch
---

allow using `<Link>` with external URLs
Allow using `<Link>` with absolute URLs

```tsx
<Link to="//example.com/some/path">
<Link to="https://neworigin.com/some/path">
<Link to="//neworigin.com/some/path">
<Link to="https://www.currentorigin.com/path">
```
2 changes: 1 addition & 1 deletion .changeset/silver-snails-destroy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@remix-run/router": patch
---

Remove instanceof check from isRouteErrorResponse to avoid bundling issues on the server
Remove `instanceof` check from `isRouteErrorResponse` to avoid bundling issues on the server
2 changes: 1 addition & 1 deletion .changeset/spotty-cheetahs-live.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@remix-run/router": patch
---

Detect no lazy data and remove abort controller for defer
Detect no lazy data and remove abort controller for `defer`
2 changes: 1 addition & 1 deletion .changeset/sweet-swans-cry.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@remix-run/router": patch
---

Send the name as the value when url-encoding File form data entries
Send the name as the value when url-encoding `File` `FormData` entries
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
},
"filesize": {
"packages/router/dist/router.umd.min.js": {
"none": "41 kB"
"none": "41.5 kB"
},
"packages/react-router/dist/react-router.production.min.js": {
"none": "13 kB"
Expand Down
9 changes: 9 additions & 0 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# `react-router-dom-v5-compat`

## 6.7.1-pre.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`

## 6.7.0

### Patch Changes
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.7.0",
"version": "6.7.1-pre.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.7.0"
"react-router": "6.7.1-pre.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
19 changes: 19 additions & 0 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# `react-router-dom`

## 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))
- 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))
- Allow using `<Link>` with absolute URLs ([#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">
```

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

## 6.7.0

### Minor Changes
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.7.0",
"version": "6.7.1-pre.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.0",
"react-router": "6.7.0"
"@remix-run/router": "1.3.1-pre.0",
"react-router": "6.7.1-pre.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `react-router-native`

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

## 6.7.0

### Patch Changes
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.7.0",
"version": "6.7.1-pre.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.7.0"
"react-router": "6.7.1-pre.0"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/react-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# `react-router`

## 6.7.1-pre.0

### Patch Changes

- Allow using `<Link>` with absolute URLs ([#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">
```

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

## 6.7.0

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

## 1.3.1-pre.0

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

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