X Tutup
Skip to content

[babel 8] Update default @babel/runtime version#17512

Merged
JLHwung merged 2 commits intobabel:mainfrom
nicolo-ribaudo:issue-17510
Sep 17, 2025
Merged

[babel 8] Update default @babel/runtime version#17512
JLHwung merged 2 commits intobabel:mainfrom
nicolo-ribaudo:issue-17510

Conversation

@nicolo-ribaudo
Copy link
Member

Q                       A
Fixed Issues? Fixes #17510
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

@nicolo-ribaudo nicolo-ribaudo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Sep 12, 2025
@nicolo-ribaudo nicolo-ribaudo changed the title Add wrong test [babel 8] Update default @babel/runtime version Sep 12, 2025
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/59947

@liuxingbaoyu liuxingbaoyu added PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release and removed PR: Bug Fix 🐛 A type of pull request used for our changelog categories labels Sep 12, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 12, 2025

Open in StackBlitz

commit: b886411

const {
version: runtimeVersion = "7.0.0-beta.0",
version: runtimeVersion = process.env.BABEL_8_BREAKING
? "8.0.0-beta.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we bump the default in every beta version and stable it to 8.0.0 in the official release? So we can still add new runtime in the beta stage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that for local development api.version is 7.28.4 even with BABEL_8_BREAKING=true, which makes it a bit complex.

I'm thinking of keeping it like this and bump it to 8.0.0 for the Babel 8.0.0 release?

@JLHwung JLHwung merged commit 3fc8d05 into babel:main Sep 17, 2025
86 of 87 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the issue-17510 branch October 19, 2025 10:32
This was referenced Nov 27, 2025
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jan 19, 2026
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix (next major) 🐛 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

transform-runtime inlines too many helpers in Babel 8

4 participants

X Tutup