Bump canary versions to v19-canary (#28646)

This bumps the canary versions to v19 to communicate that the next
release will be a major. Once this lands, we can start merging breaking
changes into `main`.
This commit is contained in:
Andrew Clark 2024-03-26 15:31:57 -04:00 committed by GitHub
parent 738993da0b
commit 56efb2e227
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 44 additions and 45 deletions

View File

@ -7,18 +7,18 @@
//
// The @latest channel uses the version as-is, e.g.:
//
// 18.3.0
// 19.0.0
//
// The @canary channel appends additional information, with the scheme
// <version>-<label>-<commit_sha>, e.g.:
//
// 18.3.0-canary-a1c2d3e4
// 19.0.0-canary-a1c2d3e4
//
// The @experimental channel doesn't include a version, only a date and a sha, e.g.:
//
// 0.0.0-experimental-241c4467e-20200129
const ReactVersion = '18.3.0';
const ReactVersion = '19.0.0';
// The label used by the @canary channel. Represents the upcoming release's
// stability. Most of the time, this will be "canary", but we may temporarily
@ -29,20 +29,20 @@ const ReactVersion = '18.3.0';
const canaryChannelLabel = 'canary';
const stablePackages = {
'eslint-plugin-react-hooks': '5.0.0',
'jest-react': '0.15.0',
'eslint-plugin-react-hooks': '5.1.0',
'jest-react': '0.16.0',
react: ReactVersion,
'react-art': ReactVersion,
'react-dom': ReactVersion,
'react-server-dom-webpack': ReactVersion,
'react-server-dom-turbopack': ReactVersion,
'react-is': ReactVersion,
'react-reconciler': '0.30.0',
'react-refresh': '0.15.0',
'react-reconciler': '0.31.0',
'react-refresh': '0.16.0',
'react-test-renderer': ReactVersion,
'use-subscription': '1.9.0',
'use-sync-external-store': '1.3.0',
scheduler: '0.24.0',
'use-subscription': '1.10.0',
'use-sync-external-store': '1.4.0',
scheduler: '0.25.0',
};
// These packages do not exist in the @canary or @latest channel, only

View File

@ -5,9 +5,9 @@
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"babel-loader": "^8.1.0",
"react": "^18.2.0",
"react-art": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-art": "^19.0.0",
"react-dom": "^19.0.0",
"webpack": "^1.14.0"
},
"scripts": {

View File

@ -15,8 +15,8 @@
"concurrently": "^5.3.0",
"express": "^4.17.1",
"nodemon": "^2.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^3.1.3",
"resolve": "1.12.0",
"rimraf": "^3.0.2",

View File

@ -12,8 +12,8 @@
"ignore-styles": "^5.0.1",
"import-export": "^1.0.1",
"node-fetch": "^1.6.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"scripts": {
"predev": "cp -r ../../build/oss-experimental/* ./node_modules/",

View File

@ -15,8 +15,8 @@
"concurrently": "^5.3.0",
"express": "^4.17.1",
"nodemon": "^2.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^3.1.3",
"resolve": "1.12.0",
"rimraf": "^3.0.2",

View File

@ -20,8 +20,8 @@
"homepage": "https://react.dev/",
"peerDependencies": {
"jest": "^23.0.1 || ^24.0.0 || ^25.1.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0"
"react": "^19.0.0",
"react-test-renderer": "^19.0.0"
},
"files": [
"LICENSE",

View File

@ -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.2.0",
"version": "19.0.0",
"main": "index.js",
"repository": {
"type": "git",
@ -27,7 +27,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",

View File

@ -1,7 +1,7 @@
{
"name": "react-dom-bindings",
"description": "React implementation details for react-dom.",
"version": "18.2.0",
"version": "19.0.0",
"private": true,
"main": "index.js",
"repository": {
@ -18,6 +18,6 @@
},
"homepage": "https://react.dev/",
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "react-dom",
"version": "18.2.0",
"version": "19.0.0",
"description": "React package for working with the DOM.",
"main": "index.js",
"repository": {
@ -20,7 +20,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",

View File

@ -1,6 +1,6 @@
{
"name": "react-is",
"version": "18.2.0",
"version": "19.0.0",
"description": "Brand checking of React Elements.",
"main": "index.js",
"sideEffects": false,

View File

@ -26,7 +26,7 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"dependencies": {
"scheduler": "^0.23.0"

View File

@ -1,7 +1,7 @@
{
"name": "react-server-dom-esm",
"description": "React Server Components bindings for DOM using ESM. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
"version": "18.2.0",
"version": "19.0.0",
"keywords": [
"react"
],
@ -47,8 +47,8 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"acorn-loose": "^8.3.0"

View File

@ -1,7 +1,7 @@
{
"name": "react-server-dom-turbopack",
"description": "React Server Components bindings for DOM using Turbopack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
"version": "18.2.0",
"version": "19.0.0",
"keywords": [
"react"
],
@ -79,8 +79,8 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"dependencies": {
"acorn-loose": "^8.3.0",

View File

@ -1,7 +1,7 @@
{
"name": "react-server-dom-webpack",
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
"version": "18.2.0",
"version": "19.0.0",
"keywords": [
"react"
],
@ -79,8 +79,8 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"webpack": "^5.59.0"
},
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "react-test-renderer",
"version": "18.2.0",
"version": "19.0.0",
"description": "React package for snapshot testing.",
"main": "index.js",
"repository": {
@ -24,7 +24,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",

View File

@ -4,7 +4,7 @@
"keywords": [
"react"
],
"version": "18.2.0",
"version": "19.0.0",
"homepage": "https://react.dev/",
"bugs": "https://github.com/facebook/react/issues",
"license": "MIT",

View File

@ -7,10 +7,9 @@
// TODO: this is special because it gets imported during build.
//
// TODO: 18.0.0 has not been released to NPM;
// It exists as a placeholder so that DevTools can support work tag changes between releases.
// When we next publish a release, update the matching TODO in backend/renderer.js
// 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.2.0';
export default '19.0.0';

View File

@ -15,7 +15,7 @@
],
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"rxjs": "^5.5.6"

View File

@ -19,7 +19,7 @@
],
"license": "MIT",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"react-17": "npm:react@^17",