diff --git a/.changeset/four-books-bow.md b/.changeset/four-books-bow.md deleted file mode 100644 index 370823e8dd..0000000000 --- a/.changeset/four-books-bow.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Update the `unstable_dataStrategy` API to allow for more advanced implementations - -- Rename `unstable_HandlerResult` to `unstable_DataStrategyResult` -- The return signature has changed from a parallel array of `unstable_DataStrategyResult[]` (parallel to `matches`) to a key/value object of `routeId => unstable_DataStrategyResult` - - This allows you to more easily decide to opt-into or out-of revalidating data that may not have been revalidated by default (via `match.shouldLoad`) - - ⚠️ This is a breaking change if you've currently adopted `unstable_dataStrategy` -- Added a new `fetcherKey` parameter to `unstable_dataStrategy` to allow differentiation from navigational and fetcher calls -- You should now return/throw a result from your `handlerOverride` instead of returning a `DataStrategyResult` - - If you are aggregating the results of `match.resolve()` into a final results object you should not need to think about the `DataStrategyResult` type - - If you are manually filling your results object from within your `handlerOverride`, then you will need to assign a `DataStrategyResult` as the value so React Router knows if it's a successful execution or an error. diff --git a/.changeset/hot-insects-rescue.md b/.changeset/hot-insects-rescue.md deleted file mode 100644 index 0c76582888..0000000000 --- a/.changeset/hot-insects-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Preserve view transition through redirects diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index c17c1cf99d..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "react-router": "6.26.1", - "react-router-dom": "6.26.1", - "react-router-dom-v5-compat": "6.26.1", - "react-router-native": "6.26.1", - "@remix-run/router": "1.19.1" - }, - "changesets": [ - "four-books-bow", - "hot-insects-rescue", - "serious-news-kick", - "soft-socks-remain" - ] -} diff --git a/.changeset/serious-news-kick.md b/.changeset/serious-news-kick.md deleted file mode 100644 index 91011995ae..0000000000 --- a/.changeset/serious-news-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Fix blocker usage when `blocker.proceed` is called quickly/synchronously diff --git a/.changeset/soft-socks-remain.md b/.changeset/soft-socks-remain.md deleted file mode 100644 index f061623eee..0000000000 --- a/.changeset/soft-socks-remain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Preserve pending view transitions through a router revalidation call diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index 3e1361a69f..e314bdc164 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -1,13 +1,13 @@ # `react-router-dom-v5-compat` -## 6.26.2-pre.0 +## 6.26.2 ### Patch Changes - Updated dependencies: - - `@remix-run/router@1.19.2-pre.0` - - `react-router@6.26.2-pre.0` - - `react-router-dom@6.26.2-pre.0` + - `@remix-run/router@1.19.2` + - `react-router@6.26.2` + - `react-router-dom@6.26.2` ## 6.26.1 diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index 4717cc4aaa..ba502eb039 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.26.2-pre.0", + "version": "6.26.2", "description": "Migration path to React Router v6 from v4/5", "keywords": [ "react", diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 3c420db033..253f7966ee 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,12 +1,12 @@ # `react-router-dom` -## 6.26.2-pre.0 +## 6.26.2 ### Patch Changes - Updated dependencies: - - `@remix-run/router@1.19.2-pre.0` - - `react-router@6.26.2-pre.0` + - `@remix-run/router@1.19.2` + - `react-router@6.26.2` ## 6.26.1 diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index c194fde91f..2fcfa61a47 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.26.2-pre.0", + "version": "6.26.2", "description": "Declarative routing for React web applications", "keywords": [ "react", diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index aef73f5a62..371f0f2f8a 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,11 +1,11 @@ # `react-router-native` -## 6.26.2-pre.0 +## 6.26.2 ### Patch Changes - Updated dependencies: - - `react-router@6.26.2-pre.0` + - `react-router@6.26.2` ## 6.26.1 diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index 3527ed771b..0b43e212ac 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.26.2-pre.0", + "version": "6.26.2", "description": "Declarative routing for React Native applications", "keywords": [ "react", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 0946108c3c..143cb97239 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,11 +1,11 @@ # `react-router` -## 6.26.2-pre.0 +## 6.26.2 ### Patch Changes - Updated dependencies: - - `@remix-run/router@1.19.2-pre.0` + - `@remix-run/router@1.19.2` ## 6.26.1 diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 108d0fb0e3..c941e7849a 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.26.2-pre.0", + "version": "6.26.2", "description": "Declarative routing for React", "keywords": [ "react", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 9a62f249fd..01df62fdff 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,11 +1,10 @@ # `@remix-run/router` -## 1.19.2-pre.0 +## 1.19.2 ### Patch Changes - Update the `unstable_dataStrategy` API to allow for more advanced implementations ([#11943](https://github.com/remix-run/react-router/pull/11943)) - - Rename `unstable_HandlerResult` to `unstable_DataStrategyResult` - The return signature has changed from a parallel array of `unstable_DataStrategyResult[]` (parallel to `matches`) to a key/value object of `routeId => unstable_DataStrategyResult` - This allows you to more easily decide to opt-into or out-of revalidating data that may not have been revalidated by default (via `match.shouldLoad`) @@ -14,9 +13,8 @@ - You should now return/throw a result from your `handlerOverride` instead of returning a `DataStrategyResult` - If you are aggregating the results of `match.resolve()` into a final results object you should not need to think about the `DataStrategyResult` type - If you are manually filling your results object from within your `handlerOverride`, then you will need to assign a `DataStrategyResult` as the value so React Router knows if it's a successful execution or an error. - - Preserve view transition through redirects ([#11925](https://github.com/remix-run/react-router/pull/11925)) -- Fix blocker usage when `blocker.proceed` is called quickly/syncronously ([#11930](https://github.com/remix-run/react-router/pull/11930)) +- Fix blocker usage when `blocker.proceed` is called quickly/synchronously ([#11930](https://github.com/remix-run/react-router/pull/11930)) - Preserve pending view transitions through a router revalidation call ([#11917](https://github.com/remix-run/react-router/pull/11917)) ## 1.19.1 diff --git a/packages/router/package.json b/packages/router/package.json index 354e579016..934e603bda 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/router", - "version": "1.19.2-pre.0", + "version": "1.19.2", "description": "Nested/Data-driven/Framework-agnostic Routing", "keywords": [ "remix",