Releases: babel/babel
Releases ยท babel/babel
v7.27.6
v7.27.6 (2025-06-05)
๐ Bug Fix
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
- #17366 fix:
finally
causes unexpected return value (@liuxingbaoyu)
- #17366 fix:
babel-generator
,babel-parser
,babel-types
Committers: 3
- Huรกng Jรนnliร ng (@JLHwung)
- Ingvar Stepanyan (@RReverser)
- @liuxingbaoyu
v7.27.5
v7.27.5 (2025-06-03)
Thanks @NullVoxPopuli for your first PR!
๐ Bug Fix
babel-plugin-transform-regenerator
- #17359 fix: Unexpected infinite loop with
regenerator
fortry
(@liuxingbaoyu)
- #17359 fix: Unexpected infinite loop with
- Other
๐ Polish
Committers: 4
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- @NullVoxPopuli
- @liuxingbaoyu
v8.0.0-beta.0
v8.0.0-beta.0 (2025-05-30)
This release also includes all changes from v7.27.0, v7.27.1, v7.27.2, v7.27.3, and v7.27.4.
๐ฅ Breaking Change
babel-helpers
,babel-plugin-transform-regenerator
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #17237 [babel 8] Do not replace global
regeneratorRuntime
references in regenerator transform (@nicolo-ribaudo)
- #17237 [babel 8] Do not replace global
babel-compat-data
,babel-helper-compilation-targets
,babel-preset-env
- #17267 [Babel 8] Directly export the JSON files from
@babel/compat-data
(@nicolo-ribaudo)
- #17267 [Babel 8] Directly export the JSON files from
babel-parser
- #17265 [babel 8] Drop CJS support from
@babel/parser
(@nicolo-ribaudo)
- #17265 [babel 8] Drop CJS support from
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-record-and-tuple
,babel-standalone
,babel-traverse
babel-traverse
,babel-types
- All packages
babel-helper-compilation-targets
,babel-preset-env
๐ข Deprecation
babel-types
- #17133 [babel 8] Deprecate uppercase builders (@nicolo-ribaudo)
๐ Internal
babel-traverse
- #16624 [Babel 8] Change
scope.{references,uids}
toSet
(@liuxingbaoyu)
- #16624 [Babel 8] Change
babel-core
- #17261 [babel 8] Remove unnecessary CJS ESM wrapper (@nicolo-ribaudo)
babel-helpers
,babel-plugin-transform-react-jsx
,babel-preset-env
babel-plugin-transform-block-scoping
,babel-traverse
,babel-types
- #17148 [Babel 8] Remove
BLOCK_SCOPED_SYMBOL
andNOT_LOCAL_BINDING
(@liuxingbaoyu)
- #17148 [Babel 8] Remove
babel-plugin-transform-regenerator
,babel-plugin-transform-typeof-symbol
๐โโ๏ธ Performance
babel-traverse
- #16965 [Babel 8] perf: Improve traverse performance (@liuxingbaoyu)
Committers: 12
- Aryan Bharti (@woaitsAryan)
- Babel Bot (@babel-bot)
- Frolov Roman (@Lacsw)
- Huรกng Jรนnliร ng (@JLHwung)
- Ish Chhabra (@ishchhabra)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Vik R (@vikr01)
- Vladimir Timofeev (@vovkasm)
- @liuxingbaoyu
- @magic-akari
- _Kerman (@kermanx)
- fisker Cheung (@fisker)
v7.27.4
v7.27.4 (2025-05-30)
๐ Spec Compliance
babel-parser
,babel-plugin-proposal-explicit-resource-management
๐ Polish
๐ฌ Output optimization
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-destructuring
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #17287 Reduce
regenerator
size more (@liuxingbaoyu)
- #17287 Reduce
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-destructuring
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
- #17334 Use shorter method names for regenerator context (@nicolo-ribaudo)
- #17268 Reduce
regenerator
helper size (@liuxingbaoyu)
babel-core
,babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-async-to-generator
,babel-plugin-transform-block-scoping
,babel-plugin-transform-classes
,babel-plugin-transform-destructuring
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
- #17238 Split
regeneratorRuntime
into multiple helpers (@nicolo-ribaudo)
- #17238 Split
Committers: 4
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.27.3
v7.27.3 (2025-05-27)
๐ Bug Fix
babel-generator
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
- #17328 Correctly set
.displayName
onGeneratorFunction
(@nicolo-ribaudo)
- #17328 Correctly set
babel-plugin-proposal-explicit-resource-management
babel-plugin-proposal-decorators
,babel-types
- #17321 fix(converter): Remove
abstract
modifiers in class declaration to expression conversion (@magic-akari)
- #17321 fix(converter): Remove
babel-helper-module-transforms
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
babel-parser
- #17312 fix(parser): properly handle optional markers in generator class methods (@magic-akari)
- #17307 fix(parser): Terminate modifier parsing at newline (@magic-akari)
babel-generator
,babel-parser
Committers: 7
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Vik R (@vikr01)
- @liuxingbaoyu
- @magic-akari
- fisker Cheung (@fisker)
v7.27.2
v7.27.2 (2025-05-06)
๐ Bug Fix
babel-parser
- #17289 fix:
@babel/parser/bin/index.js
containsnode:
protocol require (@liuxingbaoyu) - #17291 fix: Private class method not found when TS and estree (@liuxingbaoyu)
- #17289 fix:
babel-plugin-transform-object-rest-spread
babel-plugin-transform-modules-commonjs
,babel-template
- #17284 fix(babel-template): Properly handle empty string replacements (@magic-akari)
๐โโ๏ธ Performance
Committers: 5
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- @magic-akari
v7.27.1
v7.27.1 (2025-04-30)
Thanks @kermanx and @woaitsAryan for your first PRs!
๐ Spec Compliance
babel-parser
babel-parser
,babel-types
๐ Bug Fix
babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-traverse
babel-helper-wrap-function
,babel-plugin-transform-async-to-generator
- #17251 Fix: propagate argument evaluation errors through async promise chain (@magic-akari)
babel-helper-remap-async-to-generator
,babel-plugin-transform-async-to-generator
babel-helper-fixtures
,babel-parser
babel-generator
,babel-parser
babel-parser
babel-compat-data
,babel-preset-env
babel-traverse
- #17156 fix: Objects and arrays with multiple references should not be evaluated (@liuxingbaoyu)
babel-generator
๐ Polish
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-decorators
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-destructuring
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-traverse
- #17221 Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
๐ Internal
babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #17263 Remove unused
regenerator-runtime
dep in@babel/runtime
(@nicolo-ribaudo)
- #17263 Remove unused
babel-compat-data
,babel-preset-env
babel-compat-data
,babel-standalone
babel-register
- #16844 Migrate
@babel/register
to cts (@liuxingbaoyu)
- #16844 Migrate
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
- #17205 Inline regenerator in the relevant packages (@nicolo-ribaudo)
- All packages
๐ฌ Output optimization
babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-runtime-corejs3
- #16538 Reduce
interopRequireWildcard
size (@liuxingbaoyu)
- #16538 Reduce
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-preset-env
,babel-runtime-corejs3
- #17213 Reduce
regeneratorRuntime
size (@liuxingbaoyu)
- #17213 Reduce
Committers: 9
- Aryan Bharti (@woaitsAryan)
- Babel Bot (@babel-bot)
- Frolov Roman (@Lacsw)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- @magic-akari
- _Kerman (@kermanx)
- fisker Cheung (@fisker)
v7.27.0
v7.27.0 (2025-03-24)
Thanks @ishchhabra and @vovkasm for your first PRs!
๐ Spec Compliance
๐ New Feature
babel-helper-create-class-features-plugin
,babel-traverse
,babel-types
- #17169 Allow
traverseFast
to exit early (@liuxingbaoyu)
- #17169 Allow
babel-parser
,babel-types
babel-generator
babel-parser
,babel-template
- #17149 Add
allowYieldOutsideFunction
to parser (@liuxingbaoyu)
- #17149 Add
babel-plugin-transform-typescript
,babel-traverse
- #17102 feat: Add
upToScope
parameter tohasBinding
(@liuxingbaoyu)
- #17102 feat: Add
babel-parser
babel-types
- #17162 feat(babel-types): Add support for BigInt literal conversion in valueToNode (@ishchhabra)
๐ Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
- #16816 fix: Class reference in type throws error (@liuxingbaoyu)
babel-traverse
- #17170 fix: Reset child scopes when
scope.crawl()
(@liuxingbaoyu)
- #17170 fix: Reset child scopes when
babel-helpers
,babel-preset-typescript
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-cli
- #17182 fix:
@babel/cli
generates duplicate inline source maps (@liuxingbaoyu)
- #17182 fix:
babel-plugin-transform-named-capturing-groups-regex
,babel-types
๐โโ๏ธ Performance
babel-types
- #16870 perf: Improve builders of
@babel/types
(@liuxingbaoyu)
- #16870 perf: Improve builders of
babel-helper-create-regexp-features-plugin
Committers: 5
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Ish Chhabra (@ishchhabra)
- Vladimir Timofeev (@vovkasm)
- @liuxingbaoyu
v8.0.0-alpha.17
v8.0.0-alpha.17 (2025-03-11)
This release also includes all changes from v7.26.10.
This release includes a fix for GHSA-968p-4wvh-cqc8, a security vulnerability which affects the .replace
method of transpiled regular expressions that use named capturing groups.
๐ฅ Breaking Change
babel-parser
,babel-types
Committers: 6
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Yunyoung Jordan Choi (@jordan-choi)
- @liuxingbaoyu
- @mmmsssttt404
v7.26.10
v7.26.10 (2025-03-11)
Thanks @jordan-choi and @mmmsssttt404 for your first PRs!
This release includes a fix for GHSA-968p-4wvh-cqc8, a security vulnerability which affects the .replace
method of transpiled regular expressions that use named capturing groups.
๐ Spec Compliance
๐ Bug Fix
babel-parser
,babel-template
babel-core
- #17142 fix: "Map maximum size exceeded" in deepClone (@liuxingbaoyu)
babel-parser
,babel-plugin-transform-typescript
babel-traverse
- #17151 fix: Should not evaluate vars in child scope (@liuxingbaoyu)
babel-generator
- #17153 fix: Correctly generate
abstract override
(@liuxingbaoyu)
- #17153 fix: Correctly generate
babel-parser
babel-helpers
,babel-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
- #17173 Fix processing of replacement pattern with named capture groups (@mmmsssttt404)
๐ Polish
babel-standalone
- #17158 Avoid warnings when re-bundling @babel/standalone with webpack (@liuxingbaoyu)
๐ Internal
Committers: 6
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Yunyoung Jordan Choi (@jordan-choi)
- @liuxingbaoyu
- @mmmsssttt404