Releases: babel/babel
Releases · babel/babel
v7.24.6
v7.24.6 (2024-05-24)
Thanks @amjed-98, @blakewilson, @coelhucas, and @SukkaW for your first PRs!
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
- #16514 Fix source maps for private member expressions (@nicolo-ribaudo)
babel-core
,babel-generator
,babel-plugin-transform-modules-commonjs
- #16515 Fix source maps for template literals (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs3
babel-parser
,babel-plugin-transform-typescript
- #16476 fix: Correctly parse
cls.fn<C> = x
(@liuxingbaoyu)
- #16476 fix: Correctly parse
🏠 Internal
babel-core
,babel-helpers
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16501 Generate helper metadata at build time (@nicolo-ribaudo)
babel-helpers
- #16499 Add
tsconfig.json
for@babel/helpers/src/helpers
(@nicolo-ribaudo)
- #16499 Add
babel-cli
,babel-helpers
,babel-plugin-external-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16495 Move all runtime helpers to individual files (@nicolo-ribaudo)
babel-parser
,babel-traverse
- #16482 Statically generate boilerplate for bitfield accessors (@nicolo-ribaudo)
- Other
Committers: 9
- Amjad Yahia Robeen Hassan (@amjed-98)
- Babel Bot (@babel-bot)
- Blake Wilson (@blakewilson)
- Huáng Jùnliàng (@JLHwung)
- Lucas Coelho (@coelhucas)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Sukka (@SukkaW)
- Zzzen (@Zzzen)
- @liuxingbaoyu
v7.24.5
v7.24.5 (2024-04-29)
Thanks @romgrk and @sossost for your first PRs!
🐛 Bug Fix
babel-plugin-transform-classes
,babel-traverse
- #16377 fix: TypeScript annotation affects output (@liuxingbaoyu)
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs3
💅 Polish
🏠 Internal
- Other
- #16414 Relax ESLint peerDependency constraint to allow v9 (@liuxingbaoyu)
babel-parser
- #16425 Improve
@babel/parser
AST types (@nicolo-ribaudo) - #16417 Always pass type argument to
.startNode
(@nicolo-ribaudo)
- #16425 Improve
babel-helper-create-class-features-plugin
,babel-helper-member-expression-to-functions
,babel-helper-module-transforms
,babel-helper-split-export-declaration
,babel-helper-wrap-function
,babel-helpers
,babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-transform-block-scoping
,babel-plugin-transform-destructuring
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-parameters
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-react-jsx-self
,babel-plugin-transform-typeof-symbol
,babel-plugin-transform-typescript
,babel-traverse
- #16439 Make
NodePath<T | U>
distributive (@nicolo-ribaudo)
- #16439 Make
babel-plugin-proposal-partial-application
,babel-types
- #16421 Remove
JSXNamespacedName
from validCallExpression
args (@nicolo-ribaudo)
- #16421 Remove
babel-plugin-transform-class-properties
,babel-preset-env
- #16406 Do not load unnecessary Babel 7 syntax plugins in Babel 8 (@nicolo-ribaudo)
🏃♀️ Performance
babel-helpers
,babel-preset-env
,babel-runtime-corejs3
Committers: 6
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Rom Grk (@romgrk)
- @liuxingbaoyu
- ynnsuis (@sossost)
v8.0.0-alpha.8
v8.0.0-alpha.8 (2024-04-04)
In addition to the changelog below, this release includes changes from v7.24.1, v7.24.2, v7.24.3, and v7.24.4.
💥 Breaking Change
babel-plugin-transform-runtime
,babel-runtime-corejs3
- #16347 Remove core-js and regenerator entrypoints from
@babel/runtime-*
(@nicolo-ribaudo)
- #16347 Remove core-js and regenerator entrypoints from
babel-plugin-transform-runtime
- #16346 Remove
./helpers/esm
exports from@babel/runtime
and drop Node.js 13.0-13.1 (@nicolo-ribaudo)
- #16346 Remove
babel-plugin-transform-runtime
,babel-plugin-transform-typeof-symbol
,babel-runtime-corejs2
- #16311 [babel 8] Cleanup
plugin-transform-runtime
options (@nicolo-ribaudo)
- #16311 [babel 8] Cleanup
💅 Polish
babel-plugin-transform-typescript
- #16396 [babel 8] Turn
const enum
s intoconst
variables (@samualtnorman)
- #16396 [babel 8] Turn
🏠 Internal
babel-core
- #16365 [babel 8] Remove
import_
fallback (@nicolo-ribaudo)
- #16365 [babel 8] Remove
babel-helpers
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
- #16323 Allow separate helpers to be excluded in Babel 8 (@liuxingbaoyu)
babel-helper-plugin-test-runner
- #16330 Add missing
"type": "module"
to helper-plugin-test-runner (@nicolo-ribaudo)
- #16330 Add missing
babel-compat-data
,babel-plugin-transform-object-rest-spread
,babel-preset-env
- #16318 [babel 8] Fix
@babel/compat-data
package.json (@nicolo-ribaudo)
- #16318 [babel 8] Fix
Committers: 8
- Babel Bot (@babel-bot)
- Dunqing (@Dunqing)
- Huáng Jùnliàng (@JLHwung)
- Luís Reis (@luiscubal)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Samual Norman (@samualtnorman)
- Yosuke Ota (@ota-meshi)
- @liuxingbaoyu
v7.24.4
v7.24.4 (2024-04-03)
Thanks @Dunqing, @luiscubal, and @samualtnorman for your first PRs!
👓 Spec Compliance
babel-parser
babel-helpers
,babel-plugin-proposal-decorators
,babel-runtime-corejs3
🐛 Bug Fix
babel-generator
- #16402 fix: Correctly prints
{ [key in Bar]? }
(@liuxingbaoyu) - #16394 fix: Correctly generate
TSMappedType
(@liuxingbaoyu)
- #16402 fix: Correctly prints
babel-compat-data
,babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-preset-env
- #16390 Create bugfix plugin for classes in computed keys in Firefox (@nicolo-ribaudo)
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
- #16387 fix: support mutated outer decorated class binding (@JLHwung)
- #16385 fix: Decorators when
super()
exists andprotoInit
is not needed (@liuxingbaoyu)
babel-plugin-transform-block-scoping
- #16384 fix: Transform scoping for
for X
in loop (@liuxingbaoyu) - #16368 fix: Capture
let
when thefor
body is not a block (@liuxingbaoyu)
- #16384 fix: Transform scoping for
babel-core
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
- #16363 Fix incorrect function hoisting in some case statements (@luiscubal)
Committers: 7
- Babel Bot (@babel-bot)
- Dunqing (@Dunqing)
- Huáng Jùnliàng (@JLHwung)
- Luís Reis (@luiscubal)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Samual Norman (@samualtnorman)
- @liuxingbaoyu
v7.24.3
v7.24.3 (2024-03-20)
Thanks @ota-meshi for your first PR!
🐛 Bug Fix
babel-helper-module-imports
- #16370 fix: do not inject the same imported identifier multiple times (@ota-meshi)
Committers: 2
- Nicolò Ribaudo (@nicolo-ribaudo)
- Yosuke Ota (@ota-meshi)
v7.24.2
v7.24.2 (2024-03-19)
🐛 Bug Fix
babel-code-frame
,babel-highlight
- #16362 Restore previous
FORCE_COLOR=0
behavior (@nicolo-ribaudo)
- #16362 Restore previous
Committers: 1
- Nicolò Ribaudo (@nicolo-ribaudo)
v7.24.1
v7.24.1 (2024-03-19)
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
babel-plugin-proposal-decorators
,babel-plugin-proposal-json-modules
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-preset-env
- #16329 Respect
moduleName
for@babel/runtime/regenerator
imports (@nicolo-ribaudo)
- #16329 Respect
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-class-properties
babel-helper-create-class-features-plugin
,babel-helper-replace-supers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
📝 Documentation
- #16319 Update SECURITY.md (@nicolo-ribaudo)
🏠 Internal
babel-code-frame
,babel-highlight
- #16359 Replace
chalk
withpicocolors
(@nicolo-ribaudo)
- #16359 Replace
babel-helper-fixtures
,babel-helpers
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-proposal-pipeline-operator
,babel-plugin-transform-unicode-sets-regex
,babel-preset-env
,babel-preset-flow
babel-helper-module-imports
,babel-plugin-proposal-import-wasm-source
,babel-plugin-proposal-json-modules
,babel-plugin-proposal-record-and-tuple
,babel-plugin-transform-react-jsx-development
,babel-plugin-transform-react-jsx
- #16349 Support merging imports in import injector (@nicolo-ribaudo)
- Other
- #16332 Test Babel 7 plugins compatibility with Babel 8 core (@nicolo-ribaudo)
🔬 Output optimization
babel-helper-replace-supers
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-parameters
,babel-plugin-transform-runtime
- #16345 Optimize the use of
assertThisInitialized
aftersuper()
(@liuxingbaoyu)
- #16345 Optimize the use of
babel-plugin-transform-class-properties
,babel-plugin-transform-classes
- #16343 Use simpler
assertThisInitialized
more often (@liuxingbaoyu)
- #16343 Use simpler
babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-object-rest-spread
,babel-traverse
- #16342 Consider well-known and registered symbols as literals (@nicolo-ribaudo)
babel-core
,babel-plugin-external-helpers
,babel-plugin-proposal-decorators
,babel-plugin-proposal-function-bind
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-function-name
,babel-plugin-transform-modules-systemjs
,babel-plugin-transform-parameters
,babel-plugin-transform-private-property-in-object
,babel-plugin-transform-react-jsx
,babel-plugin-transform-runtime
,babel-plugin-transform-spread
,babel-plugin-transform-typescript
,babel-preset-env
- #16326 Reduce the use of class names (@liuxingbaoyu)
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v8.0.0-alpha.7
v8.0.0-alpha.7 (2024-02-28)
In addition to the changelog below, this release includes changes from v7.23.10 and v7.24.0.
🏠 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)