From 2cfb4741fdf2f9e3a843930d95ee6965fab44b8f Mon Sep 17 00:00:00 2001 From: Andrew Clark Date: Mon, 15 Apr 2024 12:41:23 -0400 Subject: [PATCH] Bump version from 18.2 to 18.3 We're going to use this branch to release a minor 18.3 release based off the published 18.2 release revision. This will include some additional warnings to assist in upgrading to React 19, but no behavior changes compared to 18.2. I bumped the React version to 18.3 and all the other packages by a patch revision (since we're not going to update anything in those). --- .circleci/config.yml | 33 ++++++++++++----------- ReactVersions.js | 16 +++++------ packages/jest-react/package.json | 4 +-- packages/react-art/package.json | 4 +-- packages/react-dom/package.json | 4 +-- packages/react-is/package.json | 2 +- packages/react-reconciler/package.json | 2 +- packages/react-test-renderer/package.json | 6 ++--- packages/react/package.json | 2 +- packages/shared/ReactVersion.js | 2 +- 10 files changed, 39 insertions(+), 36 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2a259a76a5cd9..c9f9789d0db62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -529,21 +529,24 @@ workflows: # - "-r=www-modern --env=production --variant=true" # TODO: Test more persistent configurations? - - download_base_build_for_sizebot: - filters: - branches: - ignore: - - main - requires: - - setup - - sizebot: - filters: - branches: - ignore: - - main - requires: - - download_base_build_for_sizebot - - yarn_build_combined + + # Sizebot is disabled because the base revision of this 18.3 branch is + # too old + # - download_base_build_for_sizebot: + # filters: + # branches: + # ignore: + # - main + # requires: + # - setup + # - sizebot: + # filters: + # branches: + # ignore: + # - main + # requires: + # - download_base_build_for_sizebot + # - yarn_build_combined - yarn_lint_build: requires: - yarn_build_combined diff --git a/ReactVersions.js b/ReactVersions.js index 7bf673d451541..c66cb5875705f 100644 --- a/ReactVersions.js +++ b/ReactVersions.js @@ -18,25 +18,25 @@ // // 0.0.0-experimental-241c4467e-20200129 -const ReactVersion = '18.2.0'; +const ReactVersion = '18.3.0'; // The label used by the @next channel. Represents the upcoming release's // stability. Could be "alpha", "beta", "rc", etc. const nextChannelLabel = 'next'; const stablePackages = { - 'eslint-plugin-react-hooks': '4.6.0', - 'jest-react': '0.14.0', + 'eslint-plugin-react-hooks': '4.6.1', + 'jest-react': '0.14.1', react: ReactVersion, 'react-art': ReactVersion, 'react-dom': ReactVersion, 'react-is': ReactVersion, - 'react-reconciler': '0.29.0', - 'react-refresh': '0.14.0', + 'react-reconciler': '0.29.1', + 'react-refresh': '0.14.1', 'react-test-renderer': ReactVersion, - 'use-subscription': '1.8.0', - 'use-sync-external-store': '1.2.0', - scheduler: '0.23.0', + 'use-subscription': '1.8.1', + 'use-sync-external-store': '1.2.1', + scheduler: '0.23.1', }; // These packages do not exist in the @next or @latest channel, only diff --git a/packages/jest-react/package.json b/packages/jest-react/package.json index 38953825d10eb..5ae2115f97e9a 100644 --- a/packages/jest-react/package.json +++ b/packages/jest-react/package.json @@ -20,8 +20,8 @@ "homepage": "https://reactjs.org/", "peerDependencies": { "jest": "^23.0.1 || ^24.0.0 || ^25.1.0", - "react": "^18.1.0", - "react-test-renderer": "^18.1.0" + "react": "^18.3.0", + "react-test-renderer": "^18.3.0" }, "files": [ "LICENSE", diff --git a/packages/react-art/package.json b/packages/react-art/package.json index 338bd862f0e69..f215aef6915ab 100644 --- a/packages/react-art/package.json +++ b/packages/react-art/package.json @@ -1,7 +1,7 @@ { "name": "react-art", "description": "React ART is a JavaScript library for drawing vector graphics using React. It provides declarative and reactive bindings to the ART library. Using the same declarative API you can render the output to either Canvas, SVG or VML (IE8).", - "version": "18.1.0", + "version": "18.3.0", "main": "index.js", "repository": { "type": "git", @@ -28,7 +28,7 @@ "scheduler": "^0.22.0" }, "peerDependencies": { - "react": "^18.1.0" + "react": "^18.3.0" }, "files": [ "LICENSE", diff --git a/packages/react-dom/package.json b/packages/react-dom/package.json index 4904cdb423717..6936a460ecc2f 100644 --- a/packages/react-dom/package.json +++ b/packages/react-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-dom", - "version": "18.1.0", + "version": "18.3.0", "description": "React package for working with the DOM.", "main": "index.js", "repository": { @@ -21,7 +21,7 @@ "scheduler": "^0.22.0" }, "peerDependencies": { - "react": "^18.1.0" + "react": "^18.3.0" }, "files": [ "LICENSE", diff --git a/packages/react-is/package.json b/packages/react-is/package.json index d618efa682df1..4f0784a288b62 100644 --- a/packages/react-is/package.json +++ b/packages/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "18.1.0", + "version": "18.3.0", "description": "Brand checking of React Elements.", "main": "index.js", "repository": { diff --git a/packages/react-reconciler/package.json b/packages/react-reconciler/package.json index 497f001765bc3..1cf19b8326252 100644 --- a/packages/react-reconciler/package.json +++ b/packages/react-reconciler/package.json @@ -26,7 +26,7 @@ "node": ">=0.10.0" }, "peerDependencies": { - "react": "^18.1.0" + "react": "^18.3.0" }, "dependencies": { "loose-envify": "^1.1.0", diff --git a/packages/react-test-renderer/package.json b/packages/react-test-renderer/package.json index b28596e192381..e151dbf0f8614 100644 --- a/packages/react-test-renderer/package.json +++ b/packages/react-test-renderer/package.json @@ -1,6 +1,6 @@ { "name": "react-test-renderer", - "version": "18.1.0", + "version": "18.3.0", "description": "React package for snapshot testing.", "main": "index.js", "repository": { @@ -19,12 +19,12 @@ }, "homepage": "https://reactjs.org/", "dependencies": { - "react-is": "^18.1.0", + "react-is": "^18.3.0", "react-shallow-renderer": "^16.15.0", "scheduler": "^0.22.0" }, "peerDependencies": { - "react": "^18.1.0" + "react": "^18.3.0" }, "files": [ "LICENSE", diff --git a/packages/react/package.json b/packages/react/package.json index 70c9dc2fe4b30..47d6d4b0575a9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -4,7 +4,7 @@ "keywords": [ "react" ], - "version": "18.1.0", + "version": "18.3.0", "homepage": "https://reactjs.org/", "bugs": "https://github.com/facebook/react/issues", "license": "MIT", diff --git a/packages/shared/ReactVersion.js b/packages/shared/ReactVersion.js index 73bd1b56e65f5..e9a81e8331269 100644 --- a/packages/shared/ReactVersion.js +++ b/packages/shared/ReactVersion.js @@ -13,4 +13,4 @@ // TODO: This module is used both by the release scripts and to expose a version // at runtime. We should instead inject the version number as part of the build // process, and use the ReactVersions.js module as the single source of truth. -export default '18.1.0'; +export default '18.3.0';