Skip to content

Commit

Permalink
chore: Update version for release (pre) (#9121)
Browse files Browse the repository at this point in the history
* chore: Update version for release (pre)

* 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 Aug 2, 2022
1 parent e6a5372 commit 12f3bd3
Show file tree
Hide file tree
Showing 12 changed files with 71 additions and 11 deletions.
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"strange-terms-pretend",
"strong-bees-pay",
"stupid-dryers-shout",
"sweet-books-switch",
"thick-lions-taste",
"thirty-monkeys-cheer",
"tough-zoos-cry",
Expand Down
6 changes: 4 additions & 2 deletions .changeset/sweet-books-switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"@remix-run/router": patch
---

fix: Rename `<Deferred>` to `<Await>`
fix: Rename `<Deferred>` to `<Await>` (#9095)

- We are no longer replacing the `Promise` on `loaderData` with the value/error
when it settles so it's now always a `Promise`.
- To that end, we changed from `<Deferred value={promise}>` to
`<Await resolve={promise}>` for clarity, and it also now supports using
`<Await>` with raw promises from anywhere, not only those on `loaderData`
from a defer() call.
- The hook is also changed from `useDeferredData` -> `useAsyncValue`
- Note that raw promises will not be automatically cancelled on interruptions
so they are not recommended
- The hooks are now `useAsyncValue`/`useAsyncError`
8 changes: 8 additions & 0 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# react-router-dom-v5-compat

## 6.4.0-pre.11

### Patch Changes

- Updated dependencies
- react-router@6.4.0-pre.11
- react-router-dom@6.4.0-pre.11

## 6.4.0-pre.10

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

## 6.4.0-pre.11

### Patch Changes

- Updated dependencies [c3406eb9]
- react-router@6.4.0-pre.11

## 6.4.0-pre.10

### Patch Changes
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.4.0-pre.10",
"version": "6.4.0-pre.11",
"description": "Declarative routing for React web applications",
"keywords": [
"react",
Expand All @@ -23,7 +23,7 @@
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"react-router": "6.4.0-pre.10"
"react-router": "6.4.0-pre.11"
},
"devDependencies": {
"react": "^18.2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/react-router-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# react-router-native

## 6.4.0-pre.11

### Patch Changes

- Updated dependencies
- react-router@6.4.0-pre.11

## 6.4.0-pre.10

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

## 6.4.0-pre.11

### Patch Changes

- c3406eb9: fix: Rename `<Deferred>` to `<Await>` (#9095)

- We are no longer replacing the `Promise` on `loaderData` with the value/error
when it settles so it's now always a `Promise`.
- To that end, we changed from `<Deferred value={promise}>` to
`<Await resolve={promise}>` for clarity, and it also now supports using
`<Await>` with raw promises from anywhere, not only those on `loaderData`
from a defer() call.
- Note that raw promises will not be automatically cancelled on interruptions
so they are not recommended
- The hooks are now `useAsyncValue`/`useAsyncError`

- Updated dependencies
- @remix-run/router@0.2.0-pre.6

## 6.4.0-pre.10

### Patch 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.4.0-pre.10",
"version": "6.4.0-pre.11",
"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": "0.2.0-pre.5"
"@remix-run/router": "0.2.0-pre.6"
},
"devDependencies": {
"react": "^18.2.0"
Expand Down
16 changes: 16 additions & 0 deletions packages/router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @remix-run/router

## 0.2.0-pre.6

### Patch Changes

- c3406eb9: fix: Rename `<Deferred>` to `<Await>` (#9095)

- We are no longer replacing the `Promise` on `loaderData` with the value/error
when it settles so it's now always a `Promise`.
- To that end, we changed from `<Deferred value={promise}>` to
`<Await resolve={promise}>` for clarity, and it also now supports using
`<Await>` with raw promises from anywhere, not only those on `loaderData`
from a defer() call.
- Note that raw promises will not be automatically cancelled on interruptions
so they are not recommended
- The hooks are now `useAsyncValue`/`useAsyncError`

## 0.2.0-pre.5

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

0 comments on commit 12f3bd3

Please sign in to comment.