From 49a13810ba67d43ffff95d5bfaaf5a50a749cd42 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Dec 2024 02:12:59 +0000 Subject: [PATCH] chore: Update version for release --- .changeset/blue-ears-tie.md | 5 ---- .changeset/curvy-readers-notice.md | 5 ---- .changeset/pre.json | 28 ------------------- .changeset/red-eagles-stare.md | 10 ------- packages/create-react-router/CHANGELOG.md | 2 +- packages/create-react-router/package.json | 2 +- packages/react-router-architect/CHANGELOG.md | 6 ++-- packages/react-router-architect/package.json | 2 +- packages/react-router-cloudflare/CHANGELOG.md | 4 +-- packages/react-router-cloudflare/package.json | 2 +- packages/react-router-dev/CHANGELOG.md | 15 +++++----- packages/react-router-dev/package.json | 2 +- packages/react-router-dom/CHANGELOG.md | 6 ++-- packages/react-router-dom/package.json | 2 +- packages/react-router-express/CHANGELOG.md | 8 +++--- packages/react-router-express/package.json | 2 +- packages/react-router-fs-routes/CHANGELOG.md | 4 +-- packages/react-router-fs-routes/package.json | 2 +- packages/react-router-node/CHANGELOG.md | 6 ++-- packages/react-router-node/package.json | 2 +- .../CHANGELOG.md | 4 +-- .../package.json | 2 +- packages/react-router-serve/CHANGELOG.md | 10 +++---- packages/react-router-serve/package.json | 2 +- packages/react-router/CHANGELOG.md | 8 +++--- packages/react-router/package.json | 2 +- 26 files changed, 48 insertions(+), 95 deletions(-) delete mode 100644 .changeset/blue-ears-tie.md delete mode 100644 .changeset/curvy-readers-notice.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/red-eagles-stare.md diff --git a/.changeset/blue-ears-tie.md b/.changeset/blue-ears-tie.md deleted file mode 100644 index 559fd06ef8..0000000000 --- a/.changeset/blue-ears-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@react-router/dev": patch ---- - -Support `moduleResolution` `Node16` and `NodeNext` diff --git a/.changeset/curvy-readers-notice.md b/.changeset/curvy-readers-notice.md deleted file mode 100644 index c789e7f72a..0000000000 --- a/.changeset/curvy-readers-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-router": patch ---- - -temporarily only use one build in export map so packages can have a peer dependency on react router diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index bba344bb3d..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "mode": "exit", - "tag": "pre", - "initialVersions": { - "integration": "0.0.0", - "integration-vite-cloudflare-template": "0.0.0", - "integration-vite-template": "0.0.0", - "create-react-router": "7.0.1", - "react-router": "7.0.1", - "@react-router/architect": "7.0.1", - "@react-router/cloudflare": "7.0.1", - "@react-router/dev": "7.0.1", - "react-router-dom": "7.0.1", - "@react-router/express": "7.0.1", - "@react-router/fs-routes": "7.0.1", - "@react-router/node": "7.0.1", - "@react-router/remix-routes-option-adapter": "7.0.1", - "@react-router/serve": "7.0.1", - "@playground/framework": "0.0.0", - "@playground/framework-express": "0.0.0", - "@playground/framework-spa": "0.0.0" - }, - "changesets": [ - "blue-ears-tie", - "curvy-readers-notice", - "red-eagles-stare" - ] -} diff --git a/.changeset/red-eagles-stare.md b/.changeset/red-eagles-stare.md deleted file mode 100644 index bc94d10f28..0000000000 --- a/.changeset/red-eagles-stare.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@react-router/dev": patch -"react-router": patch ---- - -Generate wide `matches` and `params` types for current route and child routes - -At runtime, `matches` includes child route matches and `params` include child route path parameters. -But previously, we only generated types for parent routes in `matches`; for `params`, we only considered the parent routes and the current route. -To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information. diff --git a/packages/create-react-router/CHANGELOG.md b/packages/create-react-router/CHANGELOG.md index fe9fc2147d..2189c373f3 100644 --- a/packages/create-react-router/CHANGELOG.md +++ b/packages/create-react-router/CHANGELOG.md @@ -1,6 +1,6 @@ # `create-react-router` -## 7.0.2-pre.0 +## 7.0.2 ## 7.0.1 diff --git a/packages/create-react-router/package.json b/packages/create-react-router/package.json index f2c99e2344..a0df799e60 100644 --- a/packages/create-react-router/package.json +++ b/packages/create-react-router/package.json @@ -1,6 +1,6 @@ { "name": "create-react-router", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Create a new React Router app", "homepage": "https://reactrouter.com", "bugs": { diff --git a/packages/react-router-architect/CHANGELOG.md b/packages/react-router-architect/CHANGELOG.md index 1b555cbe78..2d92446245 100644 --- a/packages/react-router-architect/CHANGELOG.md +++ b/packages/react-router-architect/CHANGELOG.md @@ -1,12 +1,12 @@ # `@react-router/architect` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` - - `@react-router/node@7.0.2-pre.0` + - `react-router@7.0.2` + - `@react-router/node@7.0.2` ## 7.0.1 diff --git a/packages/react-router-architect/package.json b/packages/react-router-architect/package.json index 571eae8ad2..ac1835ed45 100644 --- a/packages/react-router-architect/package.json +++ b/packages/react-router-architect/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/architect", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Architect server request handler for React Router", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-cloudflare/CHANGELOG.md b/packages/react-router-cloudflare/CHANGELOG.md index f51be85429..ade51459c0 100644 --- a/packages/react-router-cloudflare/CHANGELOG.md +++ b/packages/react-router-cloudflare/CHANGELOG.md @@ -1,11 +1,11 @@ # `@react-router/cloudflare` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` + - `react-router@7.0.2` ## 7.0.1 diff --git a/packages/react-router-cloudflare/package.json b/packages/react-router-cloudflare/package.json index 6efb554001..8af2f7aeff 100644 --- a/packages/react-router-cloudflare/package.json +++ b/packages/react-router-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/cloudflare", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Cloudflare platform abstractions for React Router", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-dev/CHANGELOG.md b/packages/react-router-dev/CHANGELOG.md index 0de96ff794..1820c67dfc 100644 --- a/packages/react-router-dev/CHANGELOG.md +++ b/packages/react-router-dev/CHANGELOG.md @@ -1,20 +1,21 @@ # `@react-router/dev` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Support `moduleResolution` `Node16` and `NodeNext` ([#12440](https://github.com/remix-run/react-router/pull/12440)) -- Generate wide `matches` and `params` types for child routes ([#12397](https://github.com/remix-run/react-router/pull/12397)) + +- Generate wide `matches` and `params` types for current route and child routes ([#12397](https://github.com/remix-run/react-router/pull/12397)) At runtime, `matches` includes child route matches and `params` include child route path parameters. - But previously, we only generated types for parent routes and the current route in `matches` and `params`. + But previously, we only generated types for parent routes in `matches`; for `params`, we only considered the parent routes and the current route. To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information. - Updated dependencies: - - `react-router@7.0.2-pre.0` - - `@react-router/node@7.0.2-pre.0` - - `@react-router/serve@7.0.2-pre.0` + - `react-router@7.0.2` + - `@react-router/node@7.0.2` + - `@react-router/serve@7.0.2` ## 7.0.1 @@ -43,7 +44,7 @@ +import { cloudflareDevProxy } from "@react-router/dev/vite/cloudflare"; ``` -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - update minimum node version to 18 ([#11690](https://github.com/remix-run/react-router/pull/11690)) diff --git a/packages/react-router-dev/package.json b/packages/react-router-dev/package.json index a3de023b7f..713b4de78b 100644 --- a/packages/react-router-dev/package.json +++ b/packages/react-router-dev/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/dev", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Dev tools and CLI for React Router", "homepage": "https://reactrouter.com", "bugs": { diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 8b66159eb4..5e0f94fbff 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,11 +1,11 @@ # react-router-dom -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` + - `react-router@7.0.2` ## 7.0.1 @@ -28,7 +28,7 @@ - Use `createRemixRouter`/`RouterProvider` in `entry.client` instead of `RemixBrowser` ([#11469](https://github.com/remix-run/react-router/pull/11469)) -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - Remove `future.v7_startTransition` flag ([#11696](https://github.com/remix-run/react-router/pull/11696)) diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 98f062a80b..9a79eb4a43 100644 --- a/packages/react-router-dom/package.json +++ b/packages/react-router-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Declarative routing for React web applications", "keywords": [ "react", diff --git a/packages/react-router-express/CHANGELOG.md b/packages/react-router-express/CHANGELOG.md index 92e21664d9..e56e26274f 100644 --- a/packages/react-router-express/CHANGELOG.md +++ b/packages/react-router-express/CHANGELOG.md @@ -1,12 +1,12 @@ # `@react-router/express` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` - - `@react-router/node@7.0.2-pre.0` + - `react-router@7.0.2` + - `@react-router/node@7.0.2` ## 7.0.1 @@ -20,7 +20,7 @@ ### Major Changes -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - update minimum node version to 18 ([#11690](https://github.com/remix-run/react-router/pull/11690)) - Add `exports` field to all packages ([#11675](https://github.com/remix-run/react-router/pull/11675)) - node package no longer re-exports from react-router ([#11702](https://github.com/remix-run/react-router/pull/11702)) diff --git a/packages/react-router-express/package.json b/packages/react-router-express/package.json index 5f37b35389..0789612576 100644 --- a/packages/react-router-express/package.json +++ b/packages/react-router-express/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/express", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Express server request handler for React Router", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-fs-routes/CHANGELOG.md b/packages/react-router-fs-routes/CHANGELOG.md index 19388df486..acbc9fc487 100644 --- a/packages/react-router-fs-routes/CHANGELOG.md +++ b/packages/react-router-fs-routes/CHANGELOG.md @@ -1,11 +1,11 @@ # `@react-router/fs-routes` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `@react-router/dev@7.0.2-pre.0` + - `@react-router/dev@7.0.2` ## 7.0.1 diff --git a/packages/react-router-fs-routes/package.json b/packages/react-router-fs-routes/package.json index 80038da58e..94860c31d1 100644 --- a/packages/react-router-fs-routes/package.json +++ b/packages/react-router-fs-routes/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/fs-routes", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "File system routing conventions for React Router, for use within routes.ts", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-node/CHANGELOG.md b/packages/react-router-node/CHANGELOG.md index b5127ec095..53e9a4c8a3 100644 --- a/packages/react-router-node/CHANGELOG.md +++ b/packages/react-router-node/CHANGELOG.md @@ -1,11 +1,11 @@ # `@react-router/node` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` + - `react-router@7.0.2` ## 7.0.1 @@ -18,7 +18,7 @@ ### Major Changes -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837)) diff --git a/packages/react-router-node/package.json b/packages/react-router-node/package.json index 95af9a0628..a3631656e1 100644 --- a/packages/react-router-node/package.json +++ b/packages/react-router-node/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/node", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Node.js platform abstractions for React Router", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-remix-routes-option-adapter/CHANGELOG.md b/packages/react-router-remix-routes-option-adapter/CHANGELOG.md index 391a007412..9bc7f8a278 100644 --- a/packages/react-router-remix-routes-option-adapter/CHANGELOG.md +++ b/packages/react-router-remix-routes-option-adapter/CHANGELOG.md @@ -1,11 +1,11 @@ # `@react-router/remix-config-routes-adapter` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `@react-router/dev@7.0.2-pre.0` + - `@react-router/dev@7.0.2` ## 7.0.1 diff --git a/packages/react-router-remix-routes-option-adapter/package.json b/packages/react-router-remix-routes-option-adapter/package.json index 730df100c4..88b0d08ff4 100644 --- a/packages/react-router-remix-routes-option-adapter/package.json +++ b/packages/react-router-remix-routes-option-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/remix-routes-option-adapter", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Adapter for Remix's \"routes\" config option, for use within routes.ts", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router-serve/CHANGELOG.md b/packages/react-router-serve/CHANGELOG.md index 91c6ae3915..701afd881b 100644 --- a/packages/react-router-serve/CHANGELOG.md +++ b/packages/react-router-serve/CHANGELOG.md @@ -1,13 +1,13 @@ # `@react-router/serve` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - Updated dependencies: - - `react-router@7.0.2-pre.0` - - `@react-router/node@7.0.2-pre.0` - - `@react-router/express@7.0.2-pre.0` + - `react-router@7.0.2` + - `@react-router/node@7.0.2` + - `@react-router/express@7.0.2` ## 7.0.1 @@ -22,7 +22,7 @@ ### Major Changes -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - update minimum node version to 18 ([#11690](https://github.com/remix-run/react-router/pull/11690)) - Add `exports` field to all packages ([#11675](https://github.com/remix-run/react-router/pull/11675)) - node package no longer re-exports from react-router ([#11702](https://github.com/remix-run/react-router/pull/11702)) diff --git a/packages/react-router-serve/package.json b/packages/react-router-serve/package.json index 9d0b7182d5..44cc56ab84 100644 --- a/packages/react-router-serve/package.json +++ b/packages/react-router-serve/package.json @@ -1,6 +1,6 @@ { "name": "@react-router/serve", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Production application server for React Router", "bugs": { "url": "https://github.com/remix-run/react-router/issues" diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index b1f9f5c03d..178f2a94c3 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,14 +1,14 @@ # `react-router` -## 7.0.2-pre.0 +## 7.0.2 ### Patch Changes - temporarily only use one build in export map so packages can have a peer dependency on react router ([#12437](https://github.com/remix-run/react-router/pull/12437)) -- Generate wide `matches` and `params` types for child routes ([#12397](https://github.com/remix-run/react-router/pull/12397)) +- Generate wide `matches` and `params` types for current route and child routes ([#12397](https://github.com/remix-run/react-router/pull/12397)) At runtime, `matches` includes child route matches and `params` include child route path parameters. - But previously, we only generated types for parent routes and the current route in `matches` and `params`. + But previously, we only generated types for parent routes in `matches`; for `params`, we only considered the parent routes and the current route. To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information. ## 7.0.1 @@ -30,7 +30,7 @@ - Collapse `@remix-run/server-runtime` into `react-router` - Collapse `@remix-run/testing` into `react-router` -- Remove single_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) +- Remove single\_fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522)) - Drop support for Node 16, React Router SSR now requires Node 18 or higher ([#11391](https://github.com/remix-run/react-router/pull/11391)) diff --git a/packages/react-router/package.json b/packages/react-router/package.json index b953b4e101..9dd600e103 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "7.0.2-pre.0", + "version": "7.0.2", "description": "Declarative routing for React", "keywords": [ "react",