From 3e46ce8fa5cd2e877f3aa80bec7ee438850eafdd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 26 Jan 2023 17:51:15 +0000 Subject: [PATCH 1/4] chore: Update version for release --- .changeset/afraid-ducks-know.md | 6 ----- .changeset/chilly-stingrays-rhyme.md | 6 ----- .changeset/little-taxis-bake.md | 5 ---- .changeset/orange-insects-complain.md | 5 ---- .changeset/pre.json | 23 ------------------- .changeset/silver-snails-destroy.md | 5 ---- .changeset/six-tigers-fold.md | 6 ----- .changeset/small-squids-wash.md | 5 ---- .changeset/spotty-cheetahs-live.md | 5 ---- .changeset/sweet-swans-cry.md | 5 ---- .changeset/sweet-trains-call.md | 11 --------- .changeset/twenty-badgers-notice.md | 5 ---- .../react-router-dom-v5-compat/CHANGELOG.md | 9 ++++++++ .../react-router-dom-v5-compat/package.json | 4 ++-- packages/react-router-dom/CHANGELOG.md | 22 ++++++++++++++++++ packages/react-router-dom/package.json | 6 ++--- packages/react-router-native/CHANGELOG.md | 8 +++++++ packages/react-router-native/package.json | 4 ++-- packages/react-router/CHANGELOG.md | 7 ++++++ packages/react-router/package.json | 4 ++-- packages/router/CHANGELOG.md | 12 ++++++++++ packages/router/package.json | 2 +- 22 files changed, 68 insertions(+), 97 deletions(-) delete mode 100644 .changeset/afraid-ducks-know.md delete mode 100644 .changeset/chilly-stingrays-rhyme.md delete mode 100644 .changeset/little-taxis-bake.md delete mode 100644 .changeset/orange-insects-complain.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/silver-snails-destroy.md delete mode 100644 .changeset/six-tigers-fold.md delete mode 100644 .changeset/small-squids-wash.md delete mode 100644 .changeset/spotty-cheetahs-live.md delete mode 100644 .changeset/sweet-swans-cry.md delete mode 100644 .changeset/sweet-trains-call.md delete mode 100644 .changeset/twenty-badgers-notice.md diff --git a/.changeset/afraid-ducks-know.md b/.changeset/afraid-ducks-know.md deleted file mode 100644 index 6c004a0cb6..0000000000 --- a/.changeset/afraid-ducks-know.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"react-router-dom": patch -"react-router-native": patch ---- - -Fix bug with search params removal diff --git a/.changeset/chilly-stingrays-rhyme.md b/.changeset/chilly-stingrays-rhyme.md deleted file mode 100644 index 0e1473ae18..0000000000 --- a/.changeset/chilly-stingrays-rhyme.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@remix-run/router": patch -"react-router-dom": patch ---- - -Respect `preventScrollReset` on `fetcher.Form` diff --git a/.changeset/little-taxis-bake.md b/.changeset/little-taxis-bake.md deleted file mode 100644 index bdf08a4233..0000000000 --- a/.changeset/little-taxis-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Fix revalidating fetcher `shouldRevalidate` params diff --git a/.changeset/orange-insects-complain.md b/.changeset/orange-insects-complain.md deleted file mode 100644 index 048ea8d393..0000000000 --- a/.changeset/orange-insects-complain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Do not short circuit on hash change only mutation submissions diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 05996b1e09..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "react-router": "6.7.0", - "react-router-dom": "6.7.0", - "react-router-dom-v5-compat": "6.7.0", - "react-router-native": "6.7.0", - "@remix-run/router": "1.3.0" - }, - "changesets": [ - "afraid-ducks-know", - "chilly-stingrays-rhyme", - "little-taxis-bake", - "orange-insects-complain", - "silver-snails-destroy", - "small-squids-wash", - "spotty-cheetahs-live", - "sweet-swans-cry", - "sweet-trains-call", - "twenty-badgers-notice" - ] -} diff --git a/.changeset/silver-snails-destroy.md b/.changeset/silver-snails-destroy.md deleted file mode 100644 index fcf5951f4a..0000000000 --- a/.changeset/silver-snails-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Remove `instanceof` check from `isRouteErrorResponse` to avoid bundling issues on the server diff --git a/.changeset/six-tigers-fold.md b/.changeset/six-tigers-fold.md deleted file mode 100644 index 1745f45816..0000000000 --- a/.changeset/six-tigers-fold.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"react-router-dom": patch -"@remix-run/router": patch ---- - -Fix navigation for hash routers on manual URL changes diff --git a/.changeset/small-squids-wash.md b/.changeset/small-squids-wash.md deleted file mode 100644 index 8530430d1f..0000000000 --- a/.changeset/small-squids-wash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-router-dom": patch ---- - -Use `pagehide` instead of `beforeunload` for ``. This has better cross-browser support, specifically on Mobile Safari. diff --git a/.changeset/spotty-cheetahs-live.md b/.changeset/spotty-cheetahs-live.md deleted file mode 100644 index 78ba92ab24..0000000000 --- a/.changeset/spotty-cheetahs-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Detect no lazy data and remove abort controller for `defer` diff --git a/.changeset/sweet-swans-cry.md b/.changeset/sweet-swans-cry.md deleted file mode 100644 index 4edf3c911b..0000000000 --- a/.changeset/sweet-swans-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@remix-run/router": patch ---- - -Send the name as the value when url-encoding `File` `FormData` entries diff --git a/.changeset/sweet-trains-call.md b/.changeset/sweet-trains-call.md deleted file mode 100644 index e15cd9abcb..0000000000 --- a/.changeset/sweet-trains-call.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"react-router-dom": minor ---- - -Support absolute URLs in ``. 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 - - - -``` diff --git a/.changeset/twenty-badgers-notice.md b/.changeset/twenty-badgers-notice.md deleted file mode 100644 index 9cd0961f85..0000000000 --- a/.changeset/twenty-badgers-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-router-dom-v5-compat": patch ---- - -Fix SSR `useLayoutEffect` `console.error` when using `CompatRouter` ([#9820](https://github.com/remix-run/react-router/pull/9820)) diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index f39f023cb9..e3234c0568 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -1,5 +1,14 @@ # `react-router-dom-v5-compat` +## 6.8.0 + +### Patch Changes + +- Fix SSR `useLayoutEffect` `console.error` when using `CompatRouter` ([#9820](https://github.com/remix-run/react-router/pull/9820)) ([#9975](https://github.com/remix-run/react-router/pull/9975)) +- Updated dependencies: + - `react-router-dom@6.8.0` + - `react-router@6.8.0` + ## 6.8.0-pre.1 ### Patch Changes diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index fd582eb233..bb87bf6acf 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.8.0-pre.1", + "version": "6.8.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.8.0-pre.1" + "react-router": "6.8.0" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index a88df88d16..721058310f 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,5 +1,27 @@ # `react-router-dom` +## 6.8.0 + +### Minor Changes + +- Support absolute URLs in ``. 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)) ([`94d3660d`](https://github.com/remix-run/react-router/commit/94d3660d916cebac341b80ee011c897ccc99c933)) + + ```tsx + + + + ``` + +### 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 navigation for hash routers on manual URL changes ([#9980](https://github.com/remix-run/react-router/pull/9980)) +- Use `pagehide` instead of `beforeunload` for ``. 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` + - `react-router@6.8.0` + ## 6.8.0-pre.1 ### Minor Changes diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 126245a148..9a5afad056 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.8.0-pre.1", + "version": "6.8.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.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", diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index 1089f87000..7a2bfc6ece 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,5 +1,13 @@ # `react-router-native` +## 6.8.0 + +### Patch Changes + +- Fix bug with search params removal ([#9969](https://github.com/remix-run/react-router/pull/9969)) +- Updated dependencies: + - `react-router@6.8.0` + ## 6.8.0-pre.1 ### Patch Changes diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index 7d44d69891..ba40aaa6c9 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.8.0-pre.1", + "version": "6.8.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.8.0-pre.1" + "react-router": "6.8.0" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 840d3fea16..5258d74b2b 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,5 +1,12 @@ # `react-router` +## 6.8.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/router@1.3.1` + ## 6.8.0-pre.1 ## 6.7.1-pre.0 diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 15d394ce52..ad47fe7339 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.8.0-pre.1", + "version": "6.8.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.3.1-pre.0" + "@remix-run/router": "1.3.1" }, "devDependencies": { "react": "^18.2.0" diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 287e0a749a..95bd3b672a 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,17 @@ # `@remix-run/router` +## 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)) +- 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)) +- Fix navigation for hash routers on manual URL changes ([#9980](https://github.com/remix-run/react-router/pull/9980)) +- 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.1-pre.0 ### Patch Changes diff --git a/packages/router/package.json b/packages/router/package.json index 9f98a7305a..882e8d81b0 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -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", From 637021a60c970e2ea249afa8af9414c24a544391 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 26 Jan 2023 13:15:27 -0500 Subject: [PATCH 2/4] Update changelogs --- .../react-router-dom-v5-compat/CHANGELOG.md | 19 +---------- packages/react-router-dom/CHANGELOG.md | 33 ++----------------- packages/react-router-native/CHANGELOG.md | 15 --------- packages/react-router/CHANGELOG.md | 2 -- packages/router/CHANGELOG.md | 19 +++-------- 5 files changed, 8 insertions(+), 80 deletions(-) diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index e3234c0568..facca4c058 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -4,28 +4,11 @@ ### Patch Changes -- Fix SSR `useLayoutEffect` `console.error` when using `CompatRouter` ([#9820](https://github.com/remix-run/react-router/pull/9820)) ([#9975](https://github.com/remix-run/react-router/pull/9975)) +- Fix SSR `useLayoutEffect` `console.error` when using `CompatRouter` ([#9820](https://github.com/remix-run/react-router/pull/9820)) - Updated dependencies: - `react-router-dom@6.8.0` - `react-router@6.8.0` -## 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 - -### 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 diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 721058310f..60f201ebf5 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -4,7 +4,7 @@ ### Minor Changes -- Support absolute URLs in ``. 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)) ([`94d3660d`](https://github.com/remix-run/react-router/commit/94d3660d916cebac341b80ee011c897ccc99c933)) +- Support absolute URLs in ``. 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 @@ -15,42 +15,13 @@ ### 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)) +- Respect `preventScrollReset` on `` ([#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 ``. 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` - `react-router@6.8.0` -## 6.8.0-pre.1 - -### Minor Changes - -- Support absolute URLs in ``. 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 - - - - ``` - -### 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)) -- Use `pagehide` instead of `beforeunload` for ``. 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` - ## 6.7.0 ### Minor Changes diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index 7a2bfc6ece..423780ef19 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -8,21 +8,6 @@ - Updated dependencies: - `react-router@6.8.0` -## 6.8.0-pre.1 - -### 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)) -- Updated dependencies: - - `react-router@6.7.1-pre.0` - ## 6.7.0 ### Patch Changes diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 5258d74b2b..a05c033376 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -7,8 +7,6 @@ - Updated dependencies: - `@remix-run/router@1.3.1` -## 6.8.0-pre.1 - ## 6.7.1-pre.0 ### Patch Changes diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 95bd3b672a..87ac4a1e91 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -4,23 +4,14 @@ ### 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 `` ([#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)) - Fix navigation for hash routers on manual URL changes ([#9980](https://github.com/remix-run/react-router/pull/9980)) -- 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.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)) +- 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 From 0fe4984c69cbcd63235f1d27771cbcfb7d7ab9c6 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 26 Jan 2023 13:17:33 -0500 Subject: [PATCH 3/4] Update changelog --- packages/react-router-dom/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 60f201ebf5..9215a0ef23 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -7,9 +7,9 @@ - Support absolute URLs in ``. 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 - - - + {/* Document request */} + {/* Document request */} + {/* Client-side navigation */} ``` ### Patch Changes From fdc9349104679c7c01a48251bbbf71d14b9d3fc4 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Thu, 26 Jan 2023 13:19:16 -0500 Subject: [PATCH 4/4] Update changelog --- packages/react-router-dom/CHANGELOG.md | 2 +- packages/react-router-native/CHANGELOG.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 9215a0ef23..9a2dbd1ee4 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -14,7 +14,7 @@ ### Patch Changes -- Fix bug with search params removal ([#9969](https://github.com/remix-run/react-router/pull/9969)) +- Fix bug with search params removal via `useSearchParams` ([#9969](https://github.com/remix-run/react-router/pull/9969)) - Respect `preventScrollReset` on `` ([#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 ``. This has better cross-browser support, specifically on Mobile Safari. ([#9945](https://github.com/remix-run/react-router/pull/9945)) diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index 423780ef19..7d729aea58 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -4,7 +4,7 @@ ### Patch Changes -- Fix bug with search params removal ([#9969](https://github.com/remix-run/react-router/pull/9969)) +- 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`