[babel 8] Update default @babel/runtime version#17512
Merged
JLHwung merged 2 commits intobabel:mainfrom Sep 17, 2025
Merged
Conversation
Member
nicolo-ribaudo
commented
Sep 12, 2025
| 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 |
@babel/runtime version
Collaborator
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/59947 |
liuxingbaoyu
approved these changes
Sep 12, 2025
|
commit: |
JLHwung
approved these changes
Sep 12, 2025
| const { | ||
| version: runtimeVersion = "7.0.0-beta.0", | ||
| version: runtimeVersion = process.env.BABEL_8_BREAKING | ||
| ? "8.0.0-beta.0" |
Contributor
There was a problem hiding this comment.
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.
Member
Author
There was a problem hiding this comment.
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?
This was referenced Oct 23, 2025
This was referenced Nov 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.