Releases: babel/babel
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
10000
fix:
@babel/cli
generates duplicate inline source maps (@liuxingbaoyu)
- #17182
10000
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
v8.0.0-alpha.16
v8.0.0-alpha.16 (2025-02-14)
In addition to the changelog below, this release includes changes from v7.26.6 to v7.26.9.
๐ฅ Breaking Change
babel-types
- #17099 [babel 8] Remove legacy
.d.ts
for TypeScript <= 4.0 (@nicolo-ribaudo)
- #17099 [babel 8] Remove legacy
babel-generator
,babel-parser
,babel-plugin-transform-template-literals
,babel-traverse
,babel-types
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
babel-preset-env
- #17078 [babel 8] Remove bugfixes option (@nicolo-ribaudo)
babel-parser
babel-parser
,babel-plugin-transform-typescript
,babel-types
๐ Bug Fix
babel-generator
- #17131 [Babel 8] Add several TS type parentheses rules (@JLHwung)
- #17125 fix: Missing parentheses when printing a TS arrow function type in a union (@liuxingbaoyu)
babel-parser
๐ Internal
babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-pipeline-operator
- #17058 [babel 8] Remove remaining references to minimal/smart pipelines (@nicolo-ribaudo)
Committers: 7
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Jamie Kyle (@jamiebuilds-signal)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Tony Quetano (@tquetano-netflix)
- @branchseer
- @liuxingbaoyu
v7.26.9
v7.26.9 (2025-02-14)
๐ Bug Fix
babel-types
- #17103 fix: Definition for
TSPropertySignature.kind
(@liuxingbaoyu)
- #17103 fix: Definition for
babel-generator
,babel-types
- #17062 Print TypeScript optional/definite in ClassPrivateProperty (@jamiebuilds-signal)
๐ Internal
babel-types
- #17130 Use
.ts
files with explicit reexports to solve name conflicts (@nicolo-ribaudo)
- #17130 Use
babel-core
- #17127 Do not depend on
@types/gensync
in Babel 7 (@nicolo-ribaudo)
- #17127 Do not depend on
Committers: 5
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Jamie Kyle (@jamiebuilds-signal)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.26.8
v7.26.7
v7.26.7 (2025-01-24)
Thanks @branchseer and @tquetano-netflix for your first PRs!
๐ Bug Fix
babel-helpers
,babel-preset-env
,babel-runtime-corejs3
- #17086 Make "object without properties" helpers ES6-compatible (@tquetano-netflix)
babel-plugin-transform-typeof-symbol
- #17085 fix: Correctly handle
typeof
in arrow functions (@liuxingbaoyu)
- #17085 fix: Correctly handle
babel-parser
babel-core
- #17052 Do not try to parse .ts configs as JSON if natively supported (@nicolo-ribaudo)
babel-plugin-transform-typescript
- #17050 fix: correctly resolve references to non-constant enum members (@branchseer)
babel-plugin-transform-typescript
,babel-traverse
,babel-types
- #17025 fix: Remove type-only
import x = y.z
(@liuxingbaoyu)
- #17025 fix: Remove type-only
Committers: 6
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- Tony Quetano (@tquetano-netflix)
- @branchseer
- @liuxingbaoyu
v7.26.6
v7.26.6 (2025-01-13)
๐ Bug Fix
babel-plugin-transform-nullish-coalescing-operator
- #17061 fix: Chaining nullish coalescing operators output size regression (@liuxingbaoyu)
Committers: 1
v8.0.0-alpha.15
v8.0.0-alpha.15 (2025-01-10)
In addition to the changelog below, this release includes changes from v7.26.5.
๐ฅ Breaking Change
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
babel-parser
,babel-types
babel-generator
,babel-parser
,babel-types
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
babel-parser
๐ Internal
babel-generator
- #17057 [babel 8] Remove
DecimalLiteral
printing logic (@nicolo-ribaudo)
- #17057 [babel 8] Remove
Committers: 5
- Babel Bot (@babel-bot)
- Huรกng Jรนnliร ng (@JLHwung)
- Nicolรฒ Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- fisker Cheung (@fisker)