v7.25.0 (2024-07-26)
Thanks @davidtaylorhq for your first PR!
You can find the release blog post with some highlights at https://babeljs.io/blog/2024/07/26/7.25.0.
👓 Spec Compliance
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-runtime-corejs3
babel-plugin-transform-typescript
- #16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@liuxingbaoyu)
🚀 New Feature
babel-helper-create-class-features-plugin
,babel-helper-function-name
,babel-helper-plugin-utils
,babel-helper-wrap-function
,babel-plugin-bugfix-safari-class-field-initializer-scope
,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
,babel-plugin-transform-classes
,babel-plugin-transform-function-name
,babel-preset-env
,babel-traverse
,babel-types
- #16658 Move
ensureFunctionName
toNodePath.prototype
(@nicolo-ribaudo)
- #16658 Move
babel-helper-hoist-variables
,babel-helper-plugin-utils
,babel-plugin-proposal-async-do-expressions
,babel-plugin-transform-modules-systemjs
,babel-traverse
- #16644 Move
hoistVariables
toScope.prototype
(@nicolo-ribaudo)
- #16644 Move
babel-helper-create-class-features-plugin
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-split-export-declaration
,babel-plugin-transform-classes
,babel-traverse
,babel-types
- #16645 Move
splitExportDeclaration
toNodePath.prototype
(@nicolo-ribaudo)
- #16645 Move
babel-helper-create-class-features-plugin
,babel-helper-environment-visitor
,babel-helper-module-transforms
,babel-helper-plugin-utils
,babel-helper-remap-async-to-generator
,babel-helper-replace-supers
,babel-plugin-bugfix-firefox-class-in-computed-class-key
,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-classes
,babel-traverse
- #16649 Move
environment-visitor
helper into@babel/traverse
(@nicolo-ribaudo)
- #16649 Move
babel-core
,babel-parser
- #16480 Expose wether a module has TLA or not as
.extra.async
(@nicolo-ribaudo)
- #16480 Expose wether a module has TLA or not as
babel-compat-data
,babel-plugin-bugfix-safari-class-field-initializer-scope
,babel-preset-env
- #16569 Introduce
bugfix-safari-class-field-initializer-scope
(@davidtaylorhq)
- #16569 Introduce
babel-plugin-transform-block-scoping
,babel-traverse
,babel-types
babel-helper-import-to-platform-api
,babel-plugin-proposal-json-modules
- #16579 Add
uncheckedRequire
option for JSON imports to CJS (@nicolo-ribaudo)
- #16579 Add
babel-helper-transform-fixture-test-runner
,babel-node
- #16642 Allow using custom config in
babel-node --eval
(@slatereax)
- #16642 Allow using custom config in
babel-compat-data
,babel-helper-create-regexp-features-plugin
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-transform-duplicate-named-capturing-groups-regex
,babel-preset-env
,babel-standalone
🐛 Bug Fix
babel-generator
- #16678 Print parens around as expressions on the LHS (@nicolo-ribaudo)
babel-template
,babel-types
- #15286 fix: Props are lost when the template replaces the node (@liuxingbaoyu)
🏠 Internal
- Other
babel-generator
- #16651 Simplify the printing logic for
(
before ambiguous tokens (@nicolo-ribaudo)
- #16651 Simplify the printing logic for
babel-helper-function-name
,babel-plugin-transform-arrow-functions
,babel-plugin-transform-function-name
,babel-preset-env
,babel-traverse
- #16652 Simplify
helper-function-name
logic (@nicolo-ribaudo)
- #16652 Simplify
🏃♀️ Performance
babel-parser
,babel-plugin-proposal-pipeline-operator
- #16461 Some minor parser performance improvements for ts (@liuxingbaoyu)
🔬 Output optimization
babel-plugin-transform-classes
- #16670 Reduce redundant
assertThisInitialized
(@liuxingbaoyu)
- #16670 Reduce redundant
babel-helper-create-class-features-plugin
,babel-helper-replace-supers
,babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-transform-class-properties
,babel-plugin-transform-classes
,babel-plugin-transform-exponentiation-operator
,babel-plugin-transform-object-super
,babel-plugin-transform-private-methods
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16374 Improve
super.x
output (@liuxingbaoyu)
- #16374 Improve
babel-plugin-transform-class-properties
,babel-plugin-transform-classes
- #16656 Simplify output for anonymous classes with no methods (@nicolo-ribaudo)
Committers: 6
- Artem (@slatereax)
- Babel Bot (@babel-bot)
- David Taylor (@davidtaylorhq)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu