Releases: babel/babel
Releases · babel/babel
v7.26.7
v7.26.7 (2025-01-24)
Thanks @branchseer and @tquetano-netflix for your first PRs!
🐛 Bug Fix
babel-helpers
,babel-preset-env
,babel-runtime-corejs3
- #17086 Make "object without properties" helpers ES6-compatible (@tquetano-netflix)
babel-plugin-transform-typeof-symbol
- #17085 fix: Correctly handle
typeof
in arrow functions (@liuxingbaoyu)
- #17085 fix: Correctly handle
babel-parser
babel-core
- #17052 Do not try to parse .ts configs as JSON if natively supported (@nicolo-ribaudo)
babel-plugin-transform-typescript
- #17050 fix: correctly resolve references to non-constant enum members (@branchseer)
babel-plugin-transform-typescript
,babel-traverse
,babel-types
- #17025 fix: Remove type-only
import x = y.z
(@liuxingbaoyu)
- #17025 fix: Remove type-only
Committers: 6
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Tony Quetano (@tquetano-netflix)
- @branchseer
- @liuxingbaoyu
v7.26.6
v7.26.6 (2025-01-13)
🐛 Bug Fix
babel-plugin-transform-nullish-coalescing-operator
- #17061 fix: Chaining nullish coalescing operators output size regression (@liuxingbaoyu)
Committers: 1
v8.0.0-alpha.15
v8.0.0-alpha.15 (2025-01-10)
💥 Breaking Change
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
babel-parser
,babel-types
babel-generator
,babel-parser
,babel-types
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
babel-parser
🏠 Internal
babel-generator
- #17057 [babel 8] Remove
DecimalLiteral
printing logic (@nicolo-ribaudo)
- #17057 [babel 8] Remove
Committers: 5
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- fisker Cheung (@fisker)
v7.26.5
v7.26.5 (2025-01-10)
👓 Spec Compliance
babel-parser
- #17011 Allow the dynamic
import.defer()
form ofimport defer
(@babel-bot)
- #17011 Allow the dynamic
🐛 Bug Fix
babel-plugin-transform-block-scoped-functions
- #17024 chore: Avoid calling
isInStrictMode
in Babel 7 (@liuxingbaoyu)
- #17024 chore: Avoid calling
babel-plugin-transform-typescript
- #17026 fix: Correctly generate exported const enums in namespace (@liuxingbaoyu)
babel-parser
- #17045 [estree] Unify method type parameters handling (@JLHwung)
- #17013 fix: Correctly set position for
@(a.b)()
(@liuxingbaoyu) - #16996 [estree] Adjust the start loc of class methods with type params (@nicolo-ribaudo)
babel-generator
,babel-parser
,babel-plugin-transform-flow-strip-types
,babel-types
babel-compat-data
,babel-preset-env
- #17031 fix: More accurate
transform-typeof-symbol
compat data (@liuxingbaoyu)
- #17031 fix: More accurate
babel-generator
,babel-parser
,babel-types
🔬 Output optimization
babel-plugin-transform-nullish-coalescing-operator
- #16612 Improve nullish coalescing operator output (@liuxingbaoyu)
Committers: 5
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- fisker Cheung (@fisker)
v8.0.0-alpha.14
v8.0.0-alpha.14 (2024-12-06)
💥 Breaking Change
babel-generator
,babel-parser
,babel-types
- #17008 Rename
TSTypeReference.typeParameters
totypeArguments
(@JLHwung) - #16952 [Babel 8] Remove
TSModuleDeclaration.global
(@liuxingbaoyu)
- #17008 Rename
babel-generator
,babel-parser
,babel-plugin-transform-flow-comments
,babel-plugin-transform-typescript
,babel-types
- #16997 [babel 8] Rename
superTypeParameters
->superTypeArguments
(@nicolo-ribaudo)
- #16997 [babel 8] Rename
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-types
- #16982 [Babel 8] Use
TSQualifiedName
fornamespace X.Y {}
's name (@liuxingbaoyu)
- #16982 [Babel 8] Use
🐛 Bug Fix
- Other
babel-preset-react
,babel-standalone
- #16927 [react] Make
development
option default to the configured env (@nicolo-ribaudo)
- #16927 [react] Make
🏠 Internal
babel-cli
,babel-helper-transform-fixture-test-runner
Committers: 6
- Babel Bot (@babel-bot)
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- fisker Cheung (@fisker)
v7.26.4
v7.26.3
v7.26.3 (2024-12-04)
🐛 Bug Fix
babel-generator
- #16958 [preserveFormat] force semicolons when invalidating ASI (@nicolo-ribaudo)
🏠 Internal
babel-helper-builder-binary-assignment-operator-visitor
,babel-plugin-transform-exponentiation-operator
- #16895 Remove helper-builder-binary-assignment-operator-visitor (@nicolo-ribaudo)
🏃♀️ Performance
babel-generator
- #16959 perf: Reduce the use of temporary objects (@liuxingbaoyu)
babel-traverse
- #16923 perf: Improve scope information collection performance (@liuxingbaoyu)
- #16964 perf: Avoid repeated traversal when creating scope (@liuxingbaoyu)
babel-plugin-transform-modules-commonjs
- #16954 perf: Remove use of
simplifyAccess
(@liuxingbaoyu)
- #16954 perf: Remove use of
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.26.2
v7.26.2 (2024-10-30)
🐛 Bug Fix
babel-parser
- #16903 fix: Parse placeholder for TS namespace (@liuxingbaoyu)
- #16937 fix: Account for offsets when creating new Position instances (@DylanPiercey)
babel-generator
- #16948 Fix mapping of tokens with generated nodes in between (@nicolo-ribaudo)
Committers: 6
- Babel Bot (@babel-bot)
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- fisker Cheung (@fisker)
v8.0.0-alpha.13
v8.0.0-alpha.13 (2024-10-25)
In addition to the changelog below, this release includes changes from v7.25.1 to v7.26.0
💥 Breaking Change
babel-generator
,babel-parser
,babel-plugin-transform-typescript
,babel-traverse
,babel-types
- #16731 Add
TSClassImplements|TSInterfaceHeritage
and renameTsExpressionWithTypeArguments
in Babel 8 (@liuxingbaoyu)
- #16731 Add
babel-generator
,babel-parser
,babel-plugin-proposal-pipeline-operator
,babel-plugin-syntax-pipeline-operator
,babel-standalone
- #16801 [Babel 8] Remove
minimal,smart
option of Pipeline Operator (@liuxingbaoyu)
- #16801 [Babel 8] Remove
babel-parser
- #16813 [Flow] Drop support for annotations inside array patterns (@nicolo-ribaudo)
babel-plugin-transform-class-static-block
,babel-plugin-transform-destructuring
,babel-plugin-transform-spread
,babel-traverse
- #16705 [Babel 8] Remove some
Scope
methods (@liuxingbaoyu)
- #16705 [Babel 8] Remove some
babel-generator
,babel-parser
,babel-plugin-proposal-import-wasm-source
,babel-template
,babel-types
- #16770 Remove
importAssertions
parser plugin (@nicolo-ribaudo)
- #16770 Remove
babel-generator
,babel-parser
,babel-standalone
- #16808 Remove
importReflection
parser plugin (@nicolo-ribaudo)
- #16808 Remove
babel-generator
,babel-traverse
,babel-types
- #16807 [Babel 8] Remove
DecimalLiteral
AST (@liuxingbaoyu)
- #16807 [Babel 8] Remove
babel-generator
,babel-parser
,babel-plugin-proposal-destructuring-private
,babel-plugin-syntax-decimal
,babel-standalone
- #16741 [Babel 8] Remove
decimal
from parser (@liuxingbaoyu)
- #16741 [Babel 8] Remove
babel-generator
,babel-parser
,babel-types
- #16733 [Babel 8] Split
typeParameter
ofTSMappedType
(@liuxingbaoyu)
- #16733 [Babel 8] Split
babel-plugin-proposal-async-do-expressions
,babel-traverse
- #16655 Remove some
NodePath
methods (@liuxingbaoyu)
- #16655 Remove some
🚀 New Feature
babel-parser
,babel-plugin-syntax-flow
,babel-preset-typescript
- #16792 [Babel 8] Remove
enums
option of flow plugin (@liuxingbaoyu)
- #16792 [Babel 8] Remove
🐛 Bug Fix
babel-core
- #16925 Only parse # as comment in .babelignore at line start (@nicolo-ribaudo)
babel-template
,babel-types
- #16830 fix: ObjectPattern used as id inside for-of (@coderaiser)
babel-plugin-transform-async-generator-functions
,babel-plugin-transform-block-scoped-functions
,babel-plugin-transform-block-scoping
- #16398 Refactor
transform-block-scoped-function
(@liuxingbaoyu)
- #16398 Refactor
babel-helper-transform-fixture-test-runner
,babel-node
- #16706 [babel 8] Align
@babel/node
args parsing to Node.js (@nicolo-ribaudo)
- #16706 [babel 8] Align
babel-parser
- #16668 [Babel 8] Fix spelling of error code (@liuxingbaoyu)
💅 Polish
babel-core
- #16836 [Babel 8] fix: Throwing exceptions synchronously (@liuxingbaoyu)
🏠 Internal
babel-generator
,babel-helper-create-class-features-plugin
,babel-helper-module-transforms
,babel-plugin-proposal-destructuring-private
,babel-plugin-transform-destructuring
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-parameters
,babel-traverse
,babel-types
- #16817 Remove
BABEL_TYPES_8_BREAKING
flag and enable it by default (@liuxingbaoyu)
- #16817 Remove
- Every package
- #16800 [babel 8] Require Node.js
^18.20.0 || ^20.17.0 || >=22.8.0
(@nicolo-ribaudo)
- #16800 [babel 8] Require Node.js
babel-generator
,babel-parser
,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
,babel-plugin-syntax-typescript
,babel-plugin-transform-class-properties
,babel-plugin-transform-modules-commonjs
,babel-plugin-transform-private-methods
,babel-plugin-transform-unicode-sets-regex
,babel-traverse
- #16572 Clean all always enabled parser plugins (@liuxingbaoyu)
Committers: 13
- Adrian (@nerodesu017)
- Babel Bot (@babel-bot)
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Timofei Iatsenko (@timofei-iatsenko)
- Viktar Vaŭčkievič (@victorenator)
- @j4k0xb
- @keiseiTi
- @liuxingbaoyu
- coderaiser (@coderaiser)
- fisker Cheung (@fisker)
- hwook (@YuHyeonWook)
v7.26.1
v7.26.1 (2024-10-25)
🐛 Bug Fix
babel-parser
- #16936 fix(parser): offset internal index locations by startIndex (@DylanPiercey)
Committers: 3
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu