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-standalonebabel-core,babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-class-properties- #16267 Implement
noUninitializedPrivateFieldAccessassumption (@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-runtimebabel-preset-flow- #16309 [babel 7] Allow setting
ignoreExtensionsin Flow preset (@nicolo-ribaudo) - #16284 Add
experimental_useHermesParseroption 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
moduleNameoption 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-traversebabel-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
argumentsin privateget/setmethod (@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
staticon 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
argumentsin 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.getfor public setter decorators (@nicolo-ribaudo)
💅 Polish
babel-core,babel-helper-create-class-features-plugin,babel-preset-env- #12428 Suggest using
BABEL_SHOW_CONFIG_FORfor config problems (@nicolo-ribaudo)
- #12428 Suggest using
🏠 Internal
babel-helper-transform-fixture-test-runner- #16278 Continue writing
output.jswhenexec.jsthrows (@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-propertiesbabel-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)