Releases: babel/babel
Releases · babel/babel
v7.24.7
v7.24.7 (2024-06-05)
🐛 Bug Fix
babel-node
- #16554 Allow extra flags in babel-node (@nicolo-ribaudo)
babel-traverse
- #16522 fix: incorrect
constantViolations
with destructuring (@liuxingbaoyu)
- #16522 fix: incorrect
babel-helper-transform-fixture-test-runner
,babel-plugin-proposal-explicit-resource-management
- #16524 fix: Transform
using
inswitch
correctly (@liuxingbaoyu)
- #16524 fix: Transform
🏠 Internal
babel-helpers
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
- #16525 Delete unused array helpers (@blakewilson)
Committers: 7
- Amjad Yahia Robeen Hassan (@amjed-98)
- Babel Bot (@babel-bot)
- Blake Wilson (@blakewilson)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Sukka (@SukkaW)
- @liuxingbaoyu
v8.0.0-alpha.10
v8.0.0-alpha.9
v8.0.0-alpha.9 (2024-06-03)
In addition to the changelog below, this release includes changes from v7.24.5 and v7.24.6.
💥 Breaking Change
babel-parser
,babel-traverse
- #16521 [Babel 8] Remove
extra.shorthand
(@liuxingbaoyu)
- #16521 [Babel 8] Remove
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-record-and-tuple
,babel-plugin-syntax-record-and-tuple
,babel-standalone
,babel-traverse
- Every package
🚀 New Feature
- Every package
- #16416 [babel 8] Publish
.d.ts
files for every package (@nicolo-ribaudo)
- #16416 [babel 8] Publish
🏠 Internal
- Every package
- #16494 Only import types from declared dependencies (@nicolo-ribaudo)
babel-cli
,babel-node
babel-cli
,babel-helper-transform-fixture-test-runner
babel-cli
Committers: 11
- 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)
- Rom Grk (@romgrk)
- Sukka (@SukkaW)
- Zzzen (@Zzzen)
- @liuxingbaoyu
- ynnsuis / 장윤수 (@sossost)
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