Skip to content

Commit

Permalink
Bump canary versions to v19-canary
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
acdlite committed Mar 26, 2024
1 parent 738993d commit bfe9275
Show file tree
Hide file tree
Showing 18 changed files with 43 additions and 44 deletions.
20 changes: 10 additions & 10 deletions ReactVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions fixtures/art/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions fixtures/fizz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions fixtures/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down
4 changes: 2 additions & 2 deletions fixtures/ssr2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-art/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -27,7 +27,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-dom-bindings/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -18,6 +18,6 @@
},
"homepage": "https://react.dev/",
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/react-dom/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -20,7 +20,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-is/package.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"node": ">=0.10.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"dependencies": {
"scheduler": "^0.23.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-server-dom-esm/package.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions packages/react-server-dom-turbopack/package.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-server-dom-webpack/package.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -24,7 +24,7 @@
"scheduler": "^0.23.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "^19.0.0"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/shared/ReactVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 1 addition & 1 deletion packages/use-subscription/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bfe9275

Please sign in to comment.