Skip to content

chore(deps): upgrade Babel to v8 - #8505

Merged
joshblack merged 2 commits into
mainfrom
chore/update-babel-v8-2
Oct 15, 2026
Merged

joshblack merged 2 commits into
mainfrom
chore/update-babel-v8-2

Conversation

@joshblack

@joshblack joshblack commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

No linked issue.

This PR upgrades our remaining Babel tooling to the latest v8 releases. It builds on the preceding Oxc compiler refactor in this stack, so React Compiler no longer needs a Babel 7 compatibility layer.

Changelog

New

  • Declare the Babel generator and AST types used by our metadata tooling directly.

Changed

  • Update Babel core, CLI, parser, ESLint parser, presets, and transforms to v8.
  • Replace deprecated proposal plugins with their transform equivalents and remove obsolete parser options.
  • Preserve TypeScript import-removal behavior and migrate metadata generation to Babel 8's named exports.
  • Update development Node.js minimums to 22.18 or 24.11.

Removed

  • Remove obsolete Babel 7 type dependencies, the unused Babel bridge, and the unused Babel 6 polyfill.

Rollout strategy

  • No changes needed in github/github-ui
  • Needs changes in github/github-ui
  • Ships with feature flag(s)
  • Not sure
  • None

This is a change to our internal tooling around babel

@joshblack joshblack added the skip changeset This change does not need a changelog label Oct 6, 2026
@changeset-bot

changeset-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ecb2ed0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@joshblack
joshblack added this pull request to stack #8506 October 6, 2026 16:45
@github-actions github-actions Bot added staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, this pull request contains changes to the source code that github/github-ui depends on. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from fc1fb36 to 80269c6 Compare October 6, 2026 16:54
@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 6, 2026 17:01 Inactive
@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 6, 2026 17:10 Inactive
@joshblack
joshblack marked this pull request as ready for review October 6, 2026 17:24
@joshblack
joshblack requested a review from a team as a code owner October 6, 2026 17:24
@joshblack
joshblack requested review from jonrohan and a balanced review from Copilot and removed request for Copilot October 6, 2026 17:24
@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 6, 2026 17:31 Inactive
@github-actions github-actions Bot added integration-tests: failing Changes in this PR cause breaking changes in gh/gh and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Oct 6, 2026
@primer-integration

Copy link
Copy Markdown

Integration test results from github/github-ui PR:

Passed  Changes   Passed
Passed  CI   Passed
Passed  VRT   Passed
Passed  Projects   Passed

All checks passed!

@joshblack joshblack added integration-tests: passing Changes in this PR do NOT cause breaking changes in gh/gh and removed integration-tests: failing Changes in this PR cause breaking changes in gh/gh labels Oct 6, 2026
Copilot AI balanced review requested due to automatic review settings October 6, 2026 20:07
@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from 370c3f0 to 45470f0 Compare October 6, 2026 20:07
@github-actions github-actions Bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

1 similar comment
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from 569c393 to e0d683e Compare October 12, 2026 16:15
@github-actions github-actions Bot added integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Oct 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 12, 2026 16:25 Inactive
@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from e0d683e to e0712c3 Compare October 14, 2026 16:05
@joshblack joshblack added the integration-tests: skipped manually Changes in this PR do not require an integration test label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from e0712c3 to 6a3eea8 Compare October 14, 2026 16:10
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 14, 2026 16:15 Inactive
@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from 6a3eea8 to adc2a77 Compare October 14, 2026 16:17
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions
github-actions Bot requested a deployment to storybook-preview-8505 October 14, 2026 16:21 Abandoned
Upgraded Babel tooling to v8 and renamed proposal plugins to transform plugins. Preserved TypeScript import behavior while aligning package builds and tests. Raised minimum Node.js versions to 22.18 and 24.11.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ddab995d-de45-447e-b27d-6daf28652357
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>\n\nCopilot-Session: ddab995d-de45-447e-b27d-6daf28652357
@joshblack
joshblack force-pushed the chore/update-babel-v8-2 branch from adc2a77 to ecb2ed0 Compare October 14, 2026 16:31
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Action required

👋 Hi, there are new commits since the last successful integration test. If you are GitHub staff, test these changes with github/github-ui using the integration workflow. Check the integration testing docs for step-by-step instructions. Or, apply the integration-tests: skipped manually label to skip these checks.

@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 14, 2026 16:41 Inactive
@github-actions
github-actions Bot temporarily deployed to storybook-preview-8505 October 14, 2026 16:51 Inactive
@joshblack
joshblack added this pull request to the merge queue Oct 15, 2026
Merged via the queue into main with commit a0f87d9 Oct 15, 2026
54 checks passed
@joshblack
joshblack deleted the chore/update-babel-v8-2 branch October 15, 2026 16:32

This branch was successfully deployed

1 active and 1 inactive deployments
storybook-preview-8505 — ecb2ed0e Deployed Oct 14, 2026 by github-actions[bot]
github-pages — ecb2ed0e Deployed Oct 14, 2026 by joshblack via deploy-preview #33690
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: passing Changes in this PR do NOT cause breaking changes in gh/gh integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm integration-tests: skipped manually Changes in this PR do not require an integration test skip changeset This change does not need a changelog staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants