Releases: babel/babel
Releases · babel/babel
v8.0.0-alpha.7
v8.0.0-alpha.7 (2024-02-28)
🏠 Internal
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-core
,babel-helper-fixtures
,babel-helper-plugin-utils
,babel-helper-transform-fixture-test-runner
,babel-parser
,babel-plugin-transform-runtime
,babel-preset-env
,babel-standalone
,babel-template
,babel-traverse
,babel-types
- #16248 Use
Object.hasOwn
when available (@nicolo-ribaudo)
- #16248 Use
babel-core
,babel-plugin-transform-object-rest-spread
- #16209 chore: Helper changes for Babel 8 (@liuxingbaoyu)
Committers: 7
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- SUZUKI Sosuke (@sosukesuzuki)
- Yarden Shoham (@yardenshoham)
- @liuxingbaoyu
- flyafly (@ajihyf)
v7.24.0
v7.24.0 (2024-02-28)
Thanks @ajihyf for your first PR!
Release post with summary and highlights: https://babeljs.io/7.24.0
🚀 New Feature
babel-standalone
babel-core
,babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-transform-class-properties
- #16267 Implement
noUninitializedPrivateFieldAccess
assumption (@nicolo-ribaudo)
- #16267 Implement
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-decorators
,babel-plugin-transform-class-properties
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
babel-preset-flow
- #16309 [babel 7] Allow setting
ignoreExtensions
in Flow preset (@nicolo-ribaudo) - #16284 Add
experimental_useHermesParser
option inpreset-flow
(@liuxingbaoyu)
- #16309 [babel 7] Allow setting
babel-helper-import-to-platform-api
,babel-plugin-proposal-import-wasm-source
,babel-plugin-proposal-json-modules
,babel-standalone
- #16172 Add transform support for JSON modules imports (@nicolo-ribaudo)
babel-plugin-transform-runtime
- #16241 Add back
moduleName
option to@babel/plugin-transform-runtime
(@nicolo-ribaudo)
- #16241 Add back
babel-parser
,babel-types
- #16277 Allow import attributes for
TSImportType
(@sosukesuzuki)
- #16277 Allow import attributes for
🐛 Bug Fix
babel-plugin-proposal-do-expressions
,babel-traverse
babel-helper-create-class-features-plugin
,babel-plugin-transform-private-methods
,babel-plugin-transform-private-property-in-object
- #16312 Fix class private properties when
privateFieldsAsSymbols
(@liuxingbaoyu)
- #16312 Fix class private properties when
babel-helper-create-class-features-plugin
,babel-plugin-transform-private-methods
- #16307 Fix the support of
arguments
in privateget/set
method (@liuxingbaoyu)
- #16307 Fix the support of
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
- #16287 Reduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
- #16281 Fix evaluation order of decorators with cached receiver (@nicolo-ribaudo)
- #16279 Fix decorator this memoization (@JLHwung)
- #16266 Preserve
static
on decorated privateaccessor
(@nicolo-ribaudo) - #16258 fix: handle decorated async private method and generator (@JLHwung)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-private-methods
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-typescript
,babel-preset-env
- #16275 Fix class private properties when
privateFieldsAsProperties
(@liuxingbaoyu)
- #16275 Fix class private properties when
babel-helpers
- #16268 Do not consider
arguments
in a helper as a global reference (@nicolo-ribaudo)
- #16268 Do not consider
babel-helpers
,babel-plugin-proposal-decorators
- #16270 Handle symbol key class elements decoration (@JLHwung)
- #16265 Do not define
access.get
for public setter decorators (@nicolo-ribaudo)
💅 Polish
babel-core
,babel-helper-create-class-features-plugin
,babel-preset-env
- #12428 Suggest using
BABEL_SHOW_CONFIG_FOR
for config problems (@nicolo-ribaudo)
- #12428 Suggest using
🏠 Internal
babel-helper-transform-fixture-test-runner
- #16278 Continue writing
output.js
whenexec.js
throws (@liuxingbaoyu)
- #16278 Continue writing
🔬 Output optimization
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
- #16306 Avoid intermediate functions for private accessors with decs (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
- #16294 More aggressively inline decorators in the static block (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-transform-private-methods
- #16283 Do not use
classPrivateMethodGet
(@liuxingbaoyu)
- #16283 Do not use
babel-helper-create-class-features-plugin
,babel-helpers
,babel-plugin-proposal-decorators
- #16287 Reduce decorator static property size (@liuxingbaoyu)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
babel-helper-create-class-features-plugin
,babel-helper-fixtures
,babel-helpers
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-optional-chaining-assign
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-private-methods
,babel-plugin-transform-private-property-in-object
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16261 Do not use descriptors for private class elements (@nicolo-ribaudo)
babel-helpers
,babel-plugin-proposal-decorators
- #16263 Reduce helper size for decorator 2023-11 (@liuxingbaoyu)
Committers: 7
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- SUZUKI Sosuke (@sosukesuzuki)
- Yarden Shoham (@yardenshoham)
- @liuxingbaoyu
- flyafly (@ajihyf)
v7.23.10
v7.23.10 (2024-01-31)
🐛 Bug Fix
- Other
- #16240 [eslint] Include field decorators in scope analysis (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
Committers: 3
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
v8.0.0-alpha.6
v8.0.0-alpha.6 (2024-01-26)
In addition to the changelog below, this release includes changes from v7.23.7, v7.23.8, and v7.23.9.
💅 Polish
babel-register
- #16005 Use
@cspotcode/source-map-support
in@babel/register
(@liuxingbaoyu)
- #16005 Use
Committers: 5
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- coderaiser (@coderaiser)
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