Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade React from eb3ad065-20240822 to f65ac7bd-20240826 #69356

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/.react-version

This file was deleted.

3 changes: 1 addition & 2 deletions .github/labeler.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"packages/next-swc/**",
"packages/next/**",
"packages/react-refresh-utils/**"
],
"type: react-sync": [".github/.react-version"]
]
}
}
15 changes: 14 additions & 1 deletion .github/workflows/update_react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:

env:
NODE_LTS_VERSION: 20
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

jobs:
create-pull-request:
Expand All @@ -27,6 +28,11 @@ jobs:
# See: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}

- name: Set Git author
run: |
git config user.name "vercel-release-bot"
git config user.email "[email protected]"

- name: Setup node
uses: actions/setup-node@v4
with:
Expand All @@ -37,4 +43,11 @@ jobs:

- name: Install dependencies
shell: bash
run: pnpm i
# Just need scripts/ but those dependencies are listed in the workspace root.
run: pnpm install --filter .

- name: Create Pull Request
shell: bash
run: pnpm sync-react --actor "${{ github.actor }}" --version "${{ inputs.version }}" --create-pull
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
4 changes: 2 additions & 2 deletions examples/reproduction-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"dependencies": {
"next": "canary",
"react": "19.0.0-rc-eb3ad065-20240822",
"react-dom": "19.0.0-rc-eb3ad065-20240822"
"react": "19.0.0-rc-f65ac7bd-20240826",
"react-dom": "19.0.0-rc-f65ac7bd-20240826"
},
"devDependencies": {
"@types/node": "20.12.12",
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,19 +206,19 @@
"pretty-bytes": "5.3.0",
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "19.0.0-rc-eb3ad065-20240822",
"react": "19.0.0-rc-f65ac7bd-20240826",
"react-17": "npm:[email protected]",
"react-builtin": "npm:[email protected]eb3ad065-20240822",
"react-dom": "19.0.0-rc-eb3ad065-20240822",
"react-builtin": "npm:[email protected]f65ac7bd-20240826",
"react-dom": "19.0.0-rc-f65ac7bd-20240826",
"react-dom-17": "npm:[email protected]",
"react-dom-builtin": "npm:[email protected]eb3ad065-20240822",
"react-dom-experimental-builtin": "npm:[email protected]eb3ad065-20240822",
"react-experimental-builtin": "npm:[email protected]eb3ad065-20240822",
"react-is-builtin": "npm:[email protected]eb3ad065-20240822",
"react-server-dom-turbopack": "19.0.0-rc-eb3ad065-20240822",
"react-server-dom-turbopack-experimental": "npm:[email protected]eb3ad065-20240822",
"react-server-dom-webpack": "19.0.0-rc-eb3ad065-20240822",
"react-server-dom-webpack-experimental": "npm:[email protected]eb3ad065-20240822",
"react-dom-builtin": "npm:[email protected]f65ac7bd-20240826",
"react-dom-experimental-builtin": "npm:[email protected]f65ac7bd-20240826",
"react-experimental-builtin": "npm:[email protected]f65ac7bd-20240826",
"react-is-builtin": "npm:[email protected]f65ac7bd-20240826",
"react-server-dom-turbopack": "19.0.0-rc-f65ac7bd-20240826",
"react-server-dom-turbopack-experimental": "npm:[email protected]f65ac7bd-20240826",
"react-server-dom-webpack": "19.0.0-rc-f65ac7bd-20240826",
"react-server-dom-webpack-experimental": "npm:[email protected]f65ac7bd-20240826",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
Expand All @@ -228,8 +228,8 @@
"resolve-from": "5.0.0",
"sass": "1.54.0",
"satori": "0.10.9",
"scheduler-builtin": "npm:[email protected]eb3ad065-20240822",
"scheduler-experimental-builtin": "npm:[email protected]eb3ad065-20240822",
"scheduler-builtin": "npm:[email protected]f65ac7bd-20240826",
"scheduler-experimental-builtin": "npm:[email protected]f65ac7bd-20240826",
"seedrandom": "3.0.5",
"semver": "7.3.7",
"shell-quote": "1.7.3",
Expand Down Expand Up @@ -269,10 +269,10 @@
"@babel/traverse": "7.22.5",
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"react": "19.0.0-rc-eb3ad065-20240822",
"react-dom": "19.0.0-rc-eb3ad065-20240822",
"react-is": "19.0.0-rc-eb3ad065-20240822",
"scheduler": "0.25.0-rc-eb3ad065-20240822"
"react": "19.0.0-rc-f65ac7bd-20240826",
"react-dom": "19.0.0-rc-f65ac7bd-20240826",
"react-is": "19.0.0-rc-f65ac7bd-20240826",
"scheduler": "0.25.0-rc-f65ac7bd-20240826"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-next-app/templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types";

// Do not rename or format. sync-react script relies on this line.
// prettier-ignore
const nextjsReactPeerVersion = "19.0.0-rc-eb3ad065-20240822";
const nextjsReactPeerVersion = "19.0.0-rc-f65ac7bd-20240826";

/**
* Get the file path for a given file in a template, e.g. "next.config.js".
Expand Down
4 changes: 2 additions & 2 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
"@opentelemetry/api": "^1.1.0",
"@playwright/test": "^1.41.2",
"babel-plugin-react-compiler": "*",
"react": "19.0.0-rc-eb3ad065-20240822",
"react-dom": "19.0.0-rc-eb3ad065-20240822",
"react": "19.0.0-rc-f65ac7bd-20240826",
"react-dom": "19.0.0-rc-f65ac7bd-20240826",
"sass": "^1.3.0"
},
"peerDependenciesMeta": {
Expand Down
Loading
Loading