Releases: babel/babel
Releases · babel/babel
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
v7.26.0
v7.26.0 (2024-10-25)
Thanks @timofei-iatsenko for your first PR!
You can find the release blog post with some highlights at https://babeljs.io/blog/2024/10/25/7.26.0.
🚀 New Feature
babel-core
,babel-generator
,babel-parser
,babel-plugin-syntax-import-assertions
,babel-plugin-syntax-import-attributes
,babel-preset-env
,babel-standalone
,babel-types
- #16850 Enable import attributes parsing by default (@nicolo-ribaudo)
babel-core
- #16862 feat: support async plugin's pre/post (@timofei-iatsenko)
babel-compat-data
,babel-plugin-proposal-regexp-modifiers
,babel-plugin-transform-regexp-modifiers
,babel-preset-env
,babel-standalone
babel-parser
- #16849 feat: add
startIndex
parser option (@DylanPiercey)
- #16849 feat: add
babel-generator
,babel-parser
,babel-plugin-syntax-flow
- #16841 Always enable parsing of Flow enums (@nicolo-ribaudo)
babel-helpers
,babel-preset-typescript
,babel-runtime-corejs3
- #16794 Support
import()
inrewriteImportExtensions
(@liuxingbaoyu)
- #16794 Support
babel-generator
,babel-parser
- #16708 Add experimental format-preserving mode to
@babel/generator
(@nicolo-ribaudo)
- #16708 Add experimental format-preserving mode to
🐛 Bug Fix
babel-core
- #16928 Workaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)
- #16926 Fix loading of modules with TLA in Node.js 23 (@nicolo-ribaudo)
💅 Polish
babel-plugin-proposal-json-modules
,babel-plugin-transform-json-modules
,babel-standalone
- #16924 Rename
proposal-json-modules
totransform-json-modules
(@nicolo-ribaudo)
- #16924 Rename
🏠 Internal
babel-code-frame
,babel-highlight
- #16896 Inline
@babel/highlight
in@babel/code-frame
(@nicolo-ribaudo)
- #16896 Inline
babel-generator
,babel-parser
,babel-types
- #16732 Add
kind
toTSModuleDeclaration
(@liuxingbaoyu)
- #16732 Add
🏃♀️ Performance
babel-helper-module-transforms
,babel-plugin-transform-modules-commonjs
- #16882 perf: Improve module transforms (@liuxingbaoyu)
Committers: 5
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- Timofei Iatsenko (@timofei-iatsenko)
- @liuxingbaoyu
v7.25.9
v7.25.9 (2024-10-22)
Thanks @victorenator for your first PR!
🐛 Bug Fix
babel-parser
,babel-template
,babel-types
- #16905 fix: Keep type annotations in
syntacticPlaceholders
mode (@liuxingbaoyu)
- #16905 fix: Keep type annotations in
babel-helper-compilation-targets
,babel-preset-env
- Other
- #16884 Analyze
ClassAccessorProperty
to prevent theno-undef
rule (@victorenator)
- #16884 Analyze
🏠 Internal
babel-helper-transform-fixture-test-runner
- Every package
- #16917 fix: Accidentally published
tsconfig
files (@liuxingbaoyu)
- #16917 fix: Accidentally published
🏃♀️ Performance
babel-parser
,babel-types
- #16918 perf: Make
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)
- #16918 perf: Make
Committers: 4
- Babel Bot (@babel-bot)
- Huáng Jùnliàng (@JLHwung)
- Viktar Vaŭčkievič (@victorenator)
- @liuxingbaoyu
v7.25.8
v7.25.8 (2024-10-10)
🐛 Bug Fix
babel-core
- #16888 Restore public API of
resolvePlugin
/resolvePreset
(@nicolo-ribaudo)
- #16888 Restore public API of
🏠 Internal
babel-parser
,babel-plugin-proposal-async-do-expressions
,babel-plugin-proposal-destructuring-private
,babel-plugin-proposal-do-expressions
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-proposal-export-default-from
,babel-plugin-proposal-function-bind
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-import-defer
,babel-plugin-proposal-partial-application
,babel-plugin-proposal-throw-expressions
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-class-static-block
,babel-plugin-transform-dynamic-import
,babel-plugin-transform-export-namespace-from
,babel-plugin-transform-json-strings
,babel-plugin-transform-logical-assignment-operators
,babel-plugin-transform-nullish-coalescing-operator
,babel-plugin-transform-numeric-separator
,babel-plugin-transform-object-rest-spread
,babel-plugin-transform-optional-catch-binding
,babel-plugin-transform-optional-chaining
,babel-plugin-transform-private-property-in-object
,babel-preset-env
- #16824 Inline one-line syntax plugins (@nicolo-ribaudo)
Committers: 3
- Babel Bot (@babel-bot)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
v7.25.7
v7.25.7 (2024-10-02)
Thanks @DylanPiercey and @YuHyeonWook for your first PRs!
🐛 Bug Fix
babel-helper-validator-identifier
babel-traverse
- #16814 fix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classes
- #16797 Use an inclusion rather than exclusion list for
super()
check (@nicolo-ribaudo)
- #16797 Use an inclusion rather than exclusion list for
babel-generator
- #16788 Fix printing of TS
infer
in compact mode (@nicolo-ribaudo) - #16785 Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
- #16778 Respect
[no LineTerminator here]
after nodes (@nicolo-ribaudo)
- #16788 Fix printing of TS
💅 Polish
babel-types
- #16852 Add deprecated JSDOC for fields (@liuxingbaoyu)
🏠 Internal
babel-core
- #16820 Allow sync loading of ESM when
--experimental-require-module
(@nicolo-ribaudo)
- #16820 Allow sync loading of ESM when
babel-helper-compilation-targets
,babel-helper-plugin-utils
,babel-preset-env
babel-plugin-proposal-destructuring-private
,babel-plugin-syntax-decimal
,babel-plugin-syntax-import-reflection
,babel-standalone
- #16809 Archive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
babel-generator
- #16779 Simplify logic for
[no LineTerminator here]
before nodes (@nicolo-ribaudo)
- #16779 Simplify logic for
🏃♀️ Performance
babel-plugin-transform-typescript
- #16875 perf: Avoid extra cloning of namespaces (@liuxingbaoyu)
babel-types
- #16842 perf: Improve @babel/types builders (@liuxingbaoyu)
- #16828 Only access
BABEL_TYPES_8_BREAKING
at startup (@nicolo-ribaudo)
Committers: 8
- Babel Bot (@babel-bot)
- Dylan Piercey (@DylanPiercey)
- Huáng Jùnliàng (@JLHwung)
- Nicolò Ribaudo (@nicolo-ribaudo)
- @liuxingbaoyu
- coderaiser (@coderaiser)
- fisker Cheung (@fisker)
- hwook (@YuHyeonWook)