From 3cda182074fa5ec21f97fac293ff6e809ec0796f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Jul 2023 16:53:00 -0400 Subject: [PATCH] chore: Update version for release (pre) (#10692) --- .changeset/defer-resolve-undefined.md | 2 +- .changeset/pre.json | 10 +++++++++- package.json | 2 +- packages/react-router-dom-v5-compat/CHANGELOG.md | 8 ++++++++ packages/react-router-dom-v5-compat/package.json | 4 ++-- packages/react-router-dom/CHANGELOG.md | 11 +++++++++++ packages/react-router-dom/package.json | 6 +++--- packages/react-router-native/CHANGELOG.md | 7 +++++++ packages/react-router-native/package.json | 4 ++-- packages/react-router/CHANGELOG.md | 7 +++++++ packages/react-router/package.json | 4 ++-- packages/router/CHANGELOG.md | 9 +++++++++ packages/router/package.json | 2 +- 13 files changed, 63 insertions(+), 13 deletions(-) diff --git a/.changeset/defer-resolve-undefined.md b/.changeset/defer-resolve-undefined.md index 2af79ce785..74bc16fae2 100644 --- a/.changeset/defer-resolve-undefined.md +++ b/.changeset/defer-resolve-undefined.md @@ -2,4 +2,4 @@ "@remix-run/router": patch --- -Better handling of deferred promises that resolve/reject with `undefined` +Trigger an error if a `defer` promise resolves/rejects with `undefined` in order to match the behavior of loaders and actions which must return a value or `null` diff --git a/.changeset/pre.json b/.changeset/pre.json index 2bf8e8153c..df463b9812 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -8,5 +8,13 @@ "react-router-native": "6.14.1", "@remix-run/router": "1.7.1" }, - "changesets": [] + "changesets": [ + "decode-hash-scroll", + "defer-resolve-undefined", + "fetcher-redirect-interrupt", + "form-state-prop", + "hydrate-error-type", + "initial-load-fetcher", + "route-lazy-type" + ] } diff --git a/package.json b/package.json index 5fe35993c3..a875cd94cf 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "none": "12.8 kB" }, "packages/react-router-dom/dist/umd/react-router-dom.production.min.js": { - "none": "18.7 kB" + "none": "18.71 kB" } } } diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index 6efd1151c3..66e8c4a33b 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -1,5 +1,13 @@ # `react-router-dom-v5-compat` +## 6.14.2-pre.0 + +### Patch Changes + +- Updated dependencies: + - `react-router-dom@6.14.2-pre.0` + - `react-router@6.14.2-pre.0` + ## 6.14.1 ### Patch Changes diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index 72d0a6f3d7..9ae10ce846 100644 --- a/packages/react-router-dom-v5-compat/package.json +++ b/packages/react-router-dom-v5-compat/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom-v5-compat", - "version": "6.14.1", + "version": "6.14.2-pre.0", "description": "Migration path to React Router v6 from v4/5", "keywords": [ "react", @@ -24,7 +24,7 @@ "types": "./dist/index.d.ts", "dependencies": { "history": "^5.3.0", - "react-router": "6.14.1" + "react-router": "6.14.2-pre.0" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index d1597550f4..a4c7e85744 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,5 +1,16 @@ # `react-router-dom` +## 6.14.2-pre.0 + +### Patch Changes + +- Add missing `
` prop to populate `history.state` on submission navigations ([#10630](https://github.com/remix-run/react-router/pull/10630)) +- Properly decode element id when emulating hash scrolling via `` ([#10682](https://github.com/remix-run/react-router/pull/10682)) +- Support proper hydration of `Error` subclasses such as `ReferenceError`/`TypeError` ([#10633](https://github.com/remix-run/react-router/pull/10633)) +- Updated dependencies: + - `@remix-run/router@1.7.2-pre.0` + - `react-router@6.14.2-pre.0` + ## 6.14.1 ### Patch Changes diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 2c5560a184..5458d905ad 100644 --- a/packages/react-router-dom/package.json +++ b/packages/react-router-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom", - "version": "6.14.1", + "version": "6.14.2-pre.0", "description": "Declarative routing for React web applications", "keywords": [ "react", @@ -23,8 +23,8 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.7.1", - "react-router": "6.14.1" + "@remix-run/router": "1.7.2-pre.0", + "react-router": "6.14.2-pre.0" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index ca0716e02b..54de79bfa5 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,5 +1,12 @@ # `react-router-native` +## 6.14.2-pre.0 + +### Patch Changes + +- Updated dependencies: + - `react-router@6.14.2-pre.0` + ## 6.14.1 ### Patch Changes diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index 1b60962649..ab7fc82b78 100644 --- a/packages/react-router-native/package.json +++ b/packages/react-router-native/package.json @@ -1,6 +1,6 @@ { "name": "react-router-native", - "version": "6.14.1", + "version": "6.14.2-pre.0", "description": "Declarative routing for React Native applications", "keywords": [ "react", @@ -22,7 +22,7 @@ "types": "./dist/index.d.ts", "dependencies": { "@ungap/url-search-params": "^0.1.4", - "react-router": "6.14.1" + "react-router": "6.14.2-pre.0" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index a03bff769f..c1819a35d1 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,5 +1,12 @@ # `react-router` +## 6.14.2-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/router@1.7.2-pre.0` + ## 6.14.1 ### Patch Changes diff --git a/packages/react-router/package.json b/packages/react-router/package.json index f7afe15fc7..882146de89 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.14.1", + "version": "6.14.2-pre.0", "description": "Declarative routing for React", "keywords": [ "react", @@ -23,7 +23,7 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.7.1" + "@remix-run/router": "1.7.2-pre.0" }, "devDependencies": { "react": "^18.2.0" diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 88e12af19c..c9af92c01e 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,14 @@ # `@remix-run/router` +## 1.7.2-pre.0 + +### Patch Changes + +- Trigger an error if a `defer` promise resolves/rejects with `undefined` in order to match the behavior of loaders and actions which must return a value or `null` ([#10690](https://github.com/remix-run/react-router/pull/10690)) +- Properly handle fetcher redirects interrupted by normal navigations ([#10674](https://github.com/remix-run/react-router/pull/10674)) +- Initial-load fetchers should not automatically revalidate on GET navigations ([#10688](https://github.com/remix-run/react-router/pull/10688)) +- Enhance the return type of `Route.lazy` to prohibit returning an empty object ([#10634](https://github.com/remix-run/react-router/pull/10634)) + ## 1.7.1 ### Patch Changes diff --git a/packages/router/package.json b/packages/router/package.json index 78c80bf95c..32ac7a74ea 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/router", - "version": "1.7.1", + "version": "1.7.2-pre.0", "description": "Nested/Data-driven/Framework-agnostic Routing", "keywords": [ "remix",