Releases: babel/babel
Releases · babel/babel
v7.23.9
v7.23.9 (2024-01-25)
🐛 Bug Fix
babel-helper-transform-fixture-test-runner
,babel-plugin-transform-function-name
,babel-plugin-transform-modules-systemjs
,babel-preset-env
- #16225 fix:
systemjs
re-traverses helpers (@liuxingbaoyu)
- #16225 fix:
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-plugin-proposal-decorators
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-runtime
,babel-preset-env
- #16224 Properly sort
core-js@3
imports (@nicolo-ribaudo)
- #16224 Properly sort
babel-traverse
- #15383 fix: Don't throw in
getTypeAnnotation
when using TS+inference (@liuxingbaoyu)
- #15383 fix: Don't throw in
- Other
- #16210 [eslint] Fix
no-use-before-define
for class ref in fields (@nicolo-ribaudo)
- #16210 [eslint] Fix
🏠 Internal
babel-core
,babel-parser
,babel-template
- #16222 Migrate
eslint-parser
to cts (@liuxingbaoyu)
- #16222 Migrate
babel-types
- #16213 Remove
@babel/types
props that are not produced by the parser (@liuxingbaoyu)
- #16213 Remove
🏃♀️ Performance
babel-parser
- #16072 perf: Improve parser performance for typescript (@liuxingbaoyu)
🔬 Output optimization
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-new-target
,babel-plugin-transform-parameters
,babel-plugin-transform-private-methods
,babel-preset-env
- #16218 Improve temporary variables for decorators (@liuxingbaoyu)
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #15959 Improve output of
using
(@liuxingbaoyu)
- #15959 Improve output of
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.23.8
v7.23.8 (2024-01-08)
🐛 Bug Fix
babel-preset-env
- #16181 fix:
preset-env
throws exception forexport * as x
(@liuxingbaoyu)
- #16181 fix:
babel-helpers
,babel-plugin-proposal-decorators
- #16201 fix: decorator binds
getter/setter
toctx.access
for public fields (@liuxingbaoyu) - #16199 fix: Class decorator correctly passes return value (@liuxingbaoyu)
- #16201 fix: decorator binds
↩️ Revert
🔬 Output optimization
babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-plugin-transform-parameters
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16194 Improve output of
super()
(@liuxingbaoyu)
- #16194 Improve output of
Committers: 3
- Huáng Jùnliàng (@JLHwung)
- @liuxingbaoyu
- coderaiser (@coderaiser)
v7.23.7
v7.23.7 (2023-12-29)
🐛 Bug Fix
babel-traverse
- #16191 fix: Crash when removing without
Program
(@liuxingbaoyu)
- #16191 fix: Crash when removing without
babel-helpers
,babel-plugin-proposal-decorators
- #16180 fix: Class decorator
ctx.kind
is wrong (@liuxingbaoyu)
- #16180 fix: Class decorator
babel-plugin-proposal-decorators
babel-core
- #16167 Avoid unpreventable
unhandledRejection
events (@nicolo-ribaudo)
- #16167 Avoid unpreventable
🏠 Internal
babel-helper-create-class-features-plugin
- #16186 chore: Update deps (@liuxingbaoyu)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v8.0.0-alpha.5
v8.0.0-alpha.5 (2023-12-11)
This release also includes all changes from v7.23.3, v7.23.4, v7.23.5, and v7.23.6.
💥 Breaking Change
babel-plugin-transform-runtime
- #16141 [babel 8] Remove
useESModules
option (@nicolo-ribaudo) - #16063 [babel 8] Remove core-js@2 & regenerator from transform-runtime (@nicolo-ribaudo)
- #16141 [babel 8] Remove
babel-helper-create-class-features-plugin
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-preset-env
- #16043 [babel 8] Remove
loose
andspec
options frompreset-env
(@nicolo-ribaudo)
- #16043 [babel 8] Remove
babel-core
,babel-generator
,babel-types
- #16126 [babel 8] Remove
CodeGenerator
from@babel/generator
(@liuxingbaoyu)
- #16126 [babel 8] Remove
babel-parser
babel-traverse
,babel-types
- #16057 [babel 8] Inline
toSequenceExpression
into@babel/traverse
(@nicolo-ribaudo)
- #16057 [babel 8] Inline
babel-preset-env
- #15989 [babel 8] Remove
getModulesPluginNames
(@nicolo-ribaudo)
- #15989 [babel 8] Remove
babel-core
,babel-preset-env
- #15838 [babel 8] Remove core-js 2 and regenerator from preset-env (@nicolo-ribaudo)
💅 Polish
babel-helper-validator-option
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-runtime
,babel-preset-env
,babel-standalone
- #16095 [babel 8] Enforce specifying proper core-js version (@liuxingbaoyu)
🏠 Internal
babel-core
, all plugins and presets- #15955 Require exact Babel 8 version in
assertVersion
(@nicolo-ribaudo)
- #15955 Require exact Babel 8 version in
Committers: 12
- Babel Bot (@babel-bot)
- Colin (@colinaaa)
- Hugo Martinez (@martinez-hugo)
- Huáng Jùnliàng (@JLHwung)
- Mateusz Burzyński (@Andarist)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Odin Hørthe-Omdal Urdland (@odinho)
- @aryehb
- @liuxingbaoyu
- @magic-akari
- @yepitschunked
- fisker Cheung (@fisker)
v7.23.6
v7.23.6 (2023-12-11)
Thanks @martinez-hugo and @odinho for your first pull requests!
👓 Spec Compliance
babel-generator
,babel-parser
,babel-types
babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-types
🐛 Bug Fix
babel-generator
- #16166 fix: Correctly indenting when
retainLines
is enabled (@liuxingbaoyu)
- #16166 fix: Correctly indenting when
babel-helpers
,babel-plugin-proposal-explicit-resource-management
babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
babel-plugin-transform-for-of
,babel-preset-env
- #16011 fix:
for of
withiterableIsArray
and shadowing variable (@liuxingbaoyu)
- #16011 fix:
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-plugin-transform-typescript
- #16137 Fix references to enum values with merging (@nicolo-ribaudo)
🔬 Output optimization
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
babel-helpers
,babel-plugin-proposal-decorators
- #16160 Optimize decorator helper size (@liuxingbaoyu)
Committers: 7
- Babel Bot (@babel-bot)
- Hugo Martinez (@martinez-hugo)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Odin Hørthe-Omdal Urdland (@odinho)
- @liuxingbaoyu
- fisker Cheung (@fisker)
v7.23.5
v7.23.5 (2023-11-29)
👓 Spec Compliance
babel-plugin-proposal-decorators
- #16138 Class binding is in TDZ during decorators initialization (@nicolo-ribaudo)
babel-helpers
,babel-plugin-proposal-decorators
🐛 Bug Fix
babel-traverse
,babel-types
- #16131 Do not remove bindings when removing assignment expression path (@nicolo-ribaudo)
babel-plugin-transform-classes
- #16135 Require class properties transform when compiling class with private fields (@nicolo-ribaudo)
babel-generator
- #16122 fix: Missing parentheses after line break (@liuxingbaoyu)
babel-helpers
- #16130 Fix helpers internal fns names conflict resolution (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
,babel-plugin-transform-typescript
- #16123 Simplify class fields injetion after
super()
(@nicolo-ribaudo)
- #16123 Simplify class fields injetion after
babel-generator
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-parameters
,babel-plugin-transform-typescript
,babel-traverse
- #16110 fix: Unexpected duplication of comments (@liuxingbaoyu)
babel-eslint-plugin
- #16023 Add
@babel/eslint-plugin/no-undef
to fixno-undef
with accessor props (@nicolo-ribaudo)
- #16023 Add
🔬 Output optimization
babel-helpers
- #16129 Optimize
decorator
helper size (@liuxingbaoyu)
- #16129 Optimize
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.23.4
v7.23.4 (2023-11-20)
🐛 Bug Fix
babel-generator
- #16104 fix: Pure comments missing parentheses (@liuxingbaoyu)
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.23.3
v7.23.3 (2023-11-09)
🐛 Bug Fix
babel-plugin-transform-typescript
babel-generator
- #16078 Fix indentation when generating comments with
concise: true
(@liuxingbaoyu)
- #16078 Fix indentation when generating comments with
babel-compat-data
,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly
,babel-preset-env
- #14295 Add a bugfix plugin for https://crbug.com/v8/12421 (@nicolo-ribaudo)
babel-plugin-transform-object-super
- #15948 fix:
super.x
in a loop (@liuxingbaoyu)
- #15948 fix:
babel-helper-module-transforms
,babel-plugin-transform-modules-amd
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-umd
- #16015 fix: handle
__proto__
exports name in CJS/AMD/UMD (@magic-akari)
- #16015 fix: handle
📝 Documentation
🏠 Internal
babel-core
,babel-preset-env
- #15988 Refactor handling of modules plugins in
preset-env
(@nicolo-ribaudo)
- #15988 Refactor handling of modules plugins in
🏃♀️ Performance
babel-generator
- #16061 perf: Improve
@babel/generator
performance (@liuxingbaoyu)
- #16061 perf: Improve
babel-traverse
- #16060 Avoid dynamic dispatch when calling wrapCheck (@yepitschunked)
🔬 Output optimization
babel-plugin-transform-computed-properties
Committers: 9
- Babel Bot (@babel-bot)
- Colin (@colinaaa)
- Huáng Jùnliàng (@JLHwung)
- Mateusz Burzyński (@Andarist)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @aryehb
- @liuxingbaoyu
- @magic-akari
- @yepitschunked
v8.0.0-alpha.4
v8.0.0-alpha.4 (2023-10-11)
This release does not include any changes specific to Babel 8, but it ports all the recent Babel 7 commits to Babel 8.
v7.23.2
v7.23.2 (2023-10-11)
NOTE: This release also re-publishes @babel/core
, even if it does not appear in the linked release commit.
Thanks @jimmydief for your first PR!
🐛 Bug Fix
babel-traverse
- #16033 Only evaluate own String/Number/Math methods (@nicolo-ribaudo)
babel-preset-typescript
- #16022 Rewrite
.tsx
extension when usingrewriteImportExtensions
(@jimmydief)
- #16022 Rewrite
babel-helpers
babel-helpers
,babel-plugin-transform-modules-commonjs
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16025 Avoid override mistake in namespace imports (@nicolo-ribaudo)
Committers: 5
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- James Diefenderfer (@jimmydief)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu