From f806fa4693d2f55f56f3e8decb715b91d0d25aae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:26:26 -0400 Subject: [PATCH] chore: Update version for release (pre) (#11889) --- .changeset/pre.json | 5 ++++- .changeset/silver-coats-work.md | 2 +- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- packages/react-router-dom-v5-compat/CHANGELOG.md | 9 +++++++++ packages/react-router-dom-v5-compat/package.json | 2 +- packages/react-router-dom/CHANGELOG.md | 9 +++++++++ packages/react-router-dom/package.json | 2 +- packages/react-router-native/CHANGELOG.md | 7 +++++++ packages/react-router-native/package.json | 2 +- packages/react-router/CHANGELOG.md | 8 ++++++++ packages/react-router/package.json | 2 +- packages/router/CHANGELOG.md | 10 ++++++++++ packages/router/package.json | 2 +- 14 files changed, 66 insertions(+), 8 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index c5ab891b93..acd97249ce 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -8,5 +8,8 @@ "react-router-native": "6.26.0", "@remix-run/router": "1.19.0" }, - "changesets": [] + "changesets": [ + "cyan-bobcats-notice", + "silver-coats-work" + ] } diff --git a/.changeset/silver-coats-work.md b/.changeset/silver-coats-work.md index 6fd814c3f7..9eb1416062 100644 --- a/.changeset/silver-coats-work.md +++ b/.changeset/silver-coats-work.md @@ -4,4 +4,4 @@ "@remix-run/router": patch --- -Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` because it will now be called on the first navigation to paths matching splat/param routes in case there exists a higher-scoring route match not yet discovered +Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` to match new behavior diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b4451730d..8957fe7539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -203,6 +203,18 @@ Date: YYYY-MM-DD **Full Changelog**: [`v6.X.Y...v6.X.Y`](https://github.com/remix-run/react-router/compare/react-router@6.X.Y...react-router@6.X.Y) --> +## v6.26.1 + +Date: 2024-08-15 + +### Patch Changes + +- Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` to match new behavior ([#11888](https://github.com/remix-run/react-router/pull/11888)) +- Update `unstable_patchRoutesOnNavigation` logic so that we call the method when we match routes with dynamic param or splat segments in case there exists a higher-scoring static route that we've not yet discovered ([#11883](https://github.com/remix-run/react-router/pull/11883)) + - We also now leverage an internal FIFO queue of previous paths we've already called `unstable_patchRoutesOnNavigation` against so that we don't re-call on subsequent navigations to the same path + +**Full Changelog**: [`v6.26.0...v6.26.1`](https://github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1) + ## v6.26.0 Date: 2024-08-01 diff --git a/package.json b/package.json index 4bf46e006f..b20fc13c0a 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "none": "17.3 kB" }, "packages/react-router-dom/dist/umd/react-router-dom.production.min.js": { - "none": "23.7 kB" + "none": "23.8 kB" } }, "pnpm": { diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index 51677f954e..0c1bb88ce5 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.26.1-pre.0 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/router@1.19.1-pre.0` + - `react-router-dom@6.26.1-pre.0` + - `react-router@6.26.1-pre.0` + ## 6.26.0 ### Patch Changes diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index 5bb981bb10..a623ea30a3 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.0", + "version": "6.26.1-pre.0", "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 152d358a9b..35454adc05 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,5 +1,14 @@ # `react-router-dom` +## 6.26.1-pre.0 + +### Patch Changes + +- Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` because it will now be called on the first navigation to paths matching splat/param routes in case there exists a higher-scoring route match not yet discovered ([#11888](https://github.com/remix-run/react-router/pull/11888)) +- Updated dependencies: + - `@remix-run/router@1.19.1-pre.0` + - `react-router@6.26.1-pre.0` + ## 6.26.0 ### Minor Changes diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 54ed162217..a7f33944e8 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.0", + "version": "6.26.1-pre.0", "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 7f7b3d6108..7f425b0e44 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,5 +1,12 @@ # `react-router-native` +## 6.26.1-pre.0 + +### Patch Changes + +- Updated dependencies: + - `react-router@6.26.1-pre.0` + ## 6.26.0 ### Patch Changes diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index c6833d0c15..207668fa9c 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.0", + "version": "6.26.1-pre.0", "description": "Declarative routing for React Native applications", "keywords": [ "react", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index 083bdb9b16..c84a749401 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,5 +1,13 @@ # `react-router` +## 6.26.1-pre.0 + +### Patch Changes + +- Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` because it will now be called on the first navigation to paths matching splat/param routes in case there exists a higher-scoring route match not yet discovered ([#11888](https://github.com/remix-run/react-router/pull/11888)) +- Updated dependencies: + - `@remix-run/router@1.19.1-pre.0` + ## 6.26.0 ### Minor Changes diff --git a/packages/react-router/package.json b/packages/react-router/package.json index be90f5b3e5..1a5a31f2fa 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.26.0", + "version": "6.26.1-pre.0", "description": "Declarative routing for React", "keywords": [ "react", diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index d250f4ab2d..b17bd83e77 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,15 @@ # `@remix-run/router` +## 1.19.1-pre.0 + +### Patch Changes + +- Fog of War: Update `unstable_patchRoutesOnMiss` logic so that we call the method when we match routes with dynamic param or splat segments in case there exists a higher-scoring static route that we've not yet discovered. ([#11883](https://github.com/remix-run/react-router/pull/11883)) + + - We also now leverage an internal FIFO queue of previous paths we've already called `unstable_patchRouteOnMiss` against so that we don't re-call on subsequent navigations to the same path + +- Rename `unstable_patchRoutesOnMiss` to `unstable_patchRoutesOnNavigation` because it will now be called on the first navigation to paths matching splat/param routes in case there exists a higher-scoring route match not yet discovered ([#11888](https://github.com/remix-run/react-router/pull/11888)) + ## 1.19.0 ### Minor Changes diff --git a/packages/router/package.json b/packages/router/package.json index 2369d2ade1..a54499cb4f 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/router", - "version": "1.19.0", + "version": "1.19.1-pre.0", "description": "Nested/Data-driven/Framework-agnostic Routing", "keywords": [ "remix",