mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
140 KiB
140 KiB
Changelog
Tags:
- đĨ [Breaking Change]
- đ [Spec Compliance]
- đ [New Feature]
- đ [Bug Fix]
- đ [Documentation]
- đ [Internal]
- đ [Polish]
Note: Gaps between patch versions are faulty, broken or test releases.
This file contains the changelog starting frm v7.15.0.
- See CHANGELOG - v7.0.0 to v7.14.9 for v7.0.0 to v7.14.9 changes.
- See CHANGELOG - v7 prereleases for v7.0.0-alpha.1 to v7.0.0-rc.4 changes.
- See CHANGELOG - v4, CHANGELOG - v5, and CHANGELOG - v6 for v4.x-v6.x changes.
- See CHANGELOG - 6to5 for the pre-4.0.0 version changelog.
- See Babylon's CHANGELOG for the Babylon pre-7.0.0-beta.29 version changelog.
- See
babel-eslint's releases for the changelog before@babel/eslint-parser7.8.0. - See
eslint-plugin-babel's releases for the changelog before@babel/eslint-plugin7.8.0.
v7.22.9 (2023-07-12)
đ Bug Fix
babel-plugin-transform-typescript- #15774 fix:
Infinityin enums (@liuxingbaoyu)
- #15774 fix:
đ Polish
babel-generator- #15757
recordAndTupleSyntaxTypedefaults to"hash"(@coderaiser)
- #15757
đ Internal
- #15748 Migrate to
eslint.config.js(@JLHwung) - #15758 Use Prettier 3 stable (@nicolo-ribaudo)
v7.22.8 (2023-07-06)
âŠī¸ Revert
babel-core,babel-traverse- #15754 Revert "Use
NodePath#hubas part of the paths cache key" (@nicolo-ribaudo)
- #15754 Revert "Use
v7.22.7 (2023-07-06)
đ Bug Fix
babel-generator- #15719 fix: Avoid internally generating negative source maps columns (@liuxingbaoyu)
babel-core,babel-traverse- #15725 Use
NodePath#hubas part of the paths cache key (@nicolo-ribaudo)
- #15725 Use
- Other
đ Internal
babel-core,babel-traverse- #15702 Refactor visitors merging (@nullableVoidPtr)
v7.22.6 (2023-07-04)
đ Bug Fix
babel-compat-data,babel-helper-compilation-targets,babel-preset-envbabel-plugin-transform-optional-chaining- #15739 Fix transform of
delete a?.bin function params (@nicolo-ribaudo)
- #15739 Fix transform of
babel-helper-split-export-declaration,babel-plugin-transform-modules-commonjs- #15736 fix: Default export for duplicate names (@liuxingbaoyu)
babel-compat-data,babel-preset-envbabel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3,babel-runtime- #15705 Fix handling of sync error in
@@asyncDispose(@nicolo-ribaudo)
- #15705 Fix handling of sync error in
babel-standalone- #15707 fix: Support transforming Explicit Resource Management in
stage-2(@liuxingbaoyu)
- #15707 fix: Support transforming Explicit Resource Management in
babel-core- #15626 fix: Works correctly with
--frozen-intrinsics(@liuxingbaoyu)
- #15626 fix: Works correctly with
đ Internal
babel-helper-create-class-features-plugin,babel-plugin-transform-classes
đŦ Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-transform-class-properties,babel-plugin-transform-optional-chaining,babel-plugin-transform-typescript- #15740 Compress output for optional chain with multiple
?.(@nicolo-ribaudo)
- #15740 Compress output for optional chain with multiple
babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-property-in-object,babel-traverse- #15741 Inject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)
v7.22.5 (2023-06-08)
đ Bug Fix
babel-preset-env,babel-standalone- #15675 Fix using
syntax-unicode-sets-regexin standalone (@nicolo-ribaudo)
- #15675 Fix using
đ Polish
babel-core- #15683 Suggest
-transform-when resolving missing plugins (@nicolo-ribaudo)
- #15683 Suggest
v7.22.4 (2023-05-29)
đ Bug Fix
babel-traverse- #15649 Set
shorthand: falsewhen renaming an identifier inside an object property (@coderaiser)
- #15649 Set
đ Internal
babel-types- #15666 Add missing
attributes/assertionstoVISITOR_KEYS(@nicolo-ribaudo)
- #15666 Add missing
babel-parser- #15667 Mark
assertattributes withextra.deprecatedAssertSyntax(@nicolo-ribaudo)
- #15667 Mark
v7.22.3 (2023-05-27)
- Re-publish all the package published in 7.22.0 that hadn't been republished yet. We accidentally published them with a
package.jsonfile containing"type": "script"instead of"type": "commonjs"(#15664).
v7.22.2 (2023-05-26)
đ Bug Fix
babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2- #15660 Fix importing symbol polyfill in
@babel/runtime-corejs2(@nicolo-ribaudo)
- #15660 Fix importing symbol polyfill in
v7.22.1 (2023-05-26)
đ Bug Fix
babel-preset-env- #15658 Workaround for broken babel-preset-react-app (@nicolo-ribaudo)
v7.22.0 (2023-05-26)
đ New Feature
babel-parser,babel-plugin-transform-typescript- #15497 [ts] Support
import ... =andexport =in scripts (@nicolo-ribaudo)
- #15497 [ts] Support
babel-compat-data,babel-core,babel-plugin-proposal-unicode-sets-regex,babel-plugin-transform-unicode-sets-regex,babel-preset-env,babel-standalonebabel-helpers,babel-plugin-proposal-explicit-resource-management,babel-plugin-transform-runtime,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone- #15633 Implement transform support for
usingdeclarations (@nicolo-ribaudo)
- #15633 Implement transform support for
babel-plugin-proposal-import-attributes-to-assertions- #15620 Create
@babel/plugin-proposal-import-attributes-to-assertions(@nicolo-ribaudo)
- #15620 Create
babel-core,babel-generator,babel-parser,babel-plugin-syntax-import-attributes,babel-preset-env,babel-standalone,babel-types- #15536 Add support for the updated import attributes proposal (@nicolo-ribaudo)
babel-generator,babel-parser,babel-traverse,babel-typesbabel-core,babel-helper-create-regexp-features-plugin,babel-parserbabel-helpers,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15570 Add decorators version
2023-05(@nicolo-ribaudo)
- #15570 Add decorators version
đ Polish
babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-jsx,babel-traverse,babel-types- #15549 Improve type definitions for validators (@liuxingbaoyu)
đ Internal
babel-parser- #15630 Unify parsing of import/export modifiers (type/typeof/module) (@nicolo-ribaudo)
babel-compat-data,babel-helper-transform-fixture-test-runner,babel-node,babel-plugin-proposal-decorators,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-transform-async-generator-functions,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs3- #15531 Allow polyfill providers to specify custom
@babel/runtimepkg (@nicolo-ribaudo)
- #15531 Allow polyfill providers to specify custom
babel-core,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-dynamic-import,babel-plugin-proposal-export-namespace-from,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-nullish-coalescing-operator,babel-plugin-proposal-numeric-separator,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-catch-binding,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-unicode-property-regex,babel-preset-env,babel-standalone- #15614 Rename
-proposal-s that became standard to-transform-(@nicolo-ribaudo)
- #15614 Rename
v7.21.9 (2023-05-22)
đ Bug Fix
babel-parserbabel-generator- #15569 Fix indentation when
retainLinesistrue(@liuxingbaoyu)
- #15569 Fix indentation when
babel-template- #15534 fix: Template
export { x }stuck in infinite loop (@liuxingbaoyu)
- #15534 fix: Template
babel-compat-data,babel-preset-env- #15606 fix: enable transform-block-scoping with generators feature (#12806) (@IlyaSemenov)
v7.21.8 (2023-05-02)
đ Spec Compliance
đ Bug Fix
babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin- #15605 Fix backward compat for semver checks in class®exp feat plugins (@nicolo-ribaudo)
v7.21.6 (2023-04-29)
đ Bug Fix
babel-compat-data- #15598 fix: Not found
corejs3-shipped-proposals.json(@liuxingbaoyu)
- #15598 fix: Not found
v7.21.5 (2023-04-28)
đ Spec Compliance
babel-generator,babel-parser,babel-types- #15539 fix: Remove
mixinsandimplementsforDeclareInterfaceandInterfaceDeclaration(@liuxingbaoyu)
- #15539 fix: Remove
đ Bug Fix
babel-core,babel-generator,babel-plugin-transform-modules-commonjs,babel-plugin-transform-react-jsx- #15515 fix:
)position withcreateParenthesizedExpressions(@liuxingbaoyu)
- #15515 fix:
babel-preset-env
đ Polish
babel-types- #15546 Improve the layout of generated validators (@liuxingbaoyu)
babel-core- #15535 Use
ltinstead oflteto check TS version for .cts config (@nicolo-ribaudo)
- #15535 Use
đ Internal
babel-core- #15575 Use synchronous
import.meta.resolve(@nicolo-ribaudo)
- #15575 Use synchronous
babel-helper-fixtures,babel-preset-typescriptbabel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin- #15548 Use
semverpackage to compare versions (@nicolo-ribaudo)
- #15548 Use
v7.21.4 (2023-03-31)
đ Bug Fix
babel-core,babel-helper-module-imports,babel-preset-typescript- #15478 Fix support for
import/exportin.ctsfiles (@liuxingbaoyu)
- #15478 Fix support for
babel-generator
đ Polish
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-transform-typescript,babel-traverse- #15427 Fix moving comments of removed nodes (@nicolo-ribaudo)
đ Internal
- Other
babel-parserbabel-code-frame,babel-highlight
v7.21.3 (2023-03-14)
đ Spec Compliance
đ Bug Fix
babel-parserbabel-plugin-transform-typescript- #15489 Register
vardecls generated byimport ... =TS transform (@amoeller) - #15494 fix: Consider
export { type foo }as type-only usage (@magic-akari)
- #15489 Register
đ Polish
babel-traverse,babel-types- #15484 Skip node deprecation warnings when used by an old
@babelpackage (@nicolo-ribaudo)
- #15484 Skip node deprecation warnings when used by an old
babel-generator- #15480 chore: Improve
jsonCompatibleStringsdeprecation (@liuxingbaoyu)
- #15480 chore: Improve
đ Internal
đŦ Output optimization
babel-plugin-transform-typescript,babel-preset-typescript- #15467 Optimize TS enums output (@liuxingbaoyu)
v7.21.2 (2023-02-23)
đ Spec Compliance
babel-parser- #15439 fix: Throws on
new foo?.bar!()(@liuxingbaoyu)
- #15439 fix: Throws on
đ Polish
babel-traverse,babel-types- #15448 Reduce warnings for deprecated node aliases (@nicolo-ribaudo)
đ Internal
đŦ Output optimization
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #15449 Avoid unnecessary code for unused lazy imports (@nicolo-ribaudo)
v7.21.1 (2023-02-20)
đ Bug Fix
babel-core,babel-parser- #15440 Fix problems found while publishing 7.21.0 (@nicolo-ribaudo)
babel-generator- #15445 fix: Handling source maps without
sourcesContent(@liuxingbaoyu)
- #15445 fix: Handling source maps without
đ Internal
- #15443 Use native GitHub markdown
Noteadmonition (@yardenshoham)
v7.21.0 (2023-02-20)
đ New Feature
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-objectbabel-helper-create-regexp-features-plugin,babel-plugin-proposal-regexp-modifiers,babel-standalone- #15226 feat: Support regexp modifiers proposal (@liuxingbaoyu)
babel-cli,babel-core,babel-generator,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-plugin-transform-react-jsx,babel-traverse- #15022 feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
babel-parser,babel-types- #15384 [ts] Support
constmodifier in type parameters (@nicolo-ribaudo)
- #15384 [ts] Support
babel-generator,babel-helpers,babel-parser,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15405 Implement decorators as presented at
2023-01TC39 meeting (@nicolo-ribaudo)
- #15405 Implement decorators as presented at
babel-parser- #15114 Parser option to allow
new.targetoutside functions (@overlookmotel) - #15320 Add
annexb: falseparser option to disable Annex B (@nicolo-ribaudo)
- #15114 Parser option to allow
babel-core- #15283 feat: Support
.ctsas configuration file (@liuxingbaoyu)
- #15283 feat: Support
babel-generator,babel-parser,babel-plugin-transform-typescript- #15381 [ts] Support
export type * from(@nicolo-ribaudo)
- #15381 [ts] Support
đ Bug Fix
babel-plugin-transform-typescript- #15379 [ts5.0] Better inlining of constants in enums (@liuxingbaoyu)
babel-core- #15366 handling circular/shared structures in deep-clone (@azizghuloum)
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-private-methods,babel-plugin-transform-classes,babel-plugin-transform-new-targetbabel-parser,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-types- #15414 [ts] Fix restrictions for optional parameters (@nicolo-ribaudo)
đ Polish
đ Internal
babel-core- #15137 Improve CJS compat with ESM-based
@babel/core(@nicolo-ribaudo)
- #15137 Improve CJS compat with ESM-based
đŦ Output optimization
babel-plugin-transform-typescript- #15418 [ts] Handle exponentiation operator in constant folding (@ehoogeveen-medweb)
v7.20.15 (2023-02-02)
đ Spec Compliance
babel-parserbabel-generator,babel-parser,babel-plugin-proposal-export-namespace-from
đ Bug Fix
babel-plugin-transform-block-scoping- #15398 fix: Loop was converted wrong (@liuxingbaoyu)
babel-parser- #15377 fix:
new (foo?.bar)()incorrectly throws exceptionOptionalChainingNoNew(@liuxingbaoyu)
- #15377 fix:
v7.20.14 (2023-01-27)
đ Bug Fix
babel-plugin-transform-block-scoping- #15361 fix: Identifiers in the loop are not renamed (@liuxingbaoyu)
babel-cli,babel-core,babel-generator,babel-helper-transform-fixture-test-runner,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-plugin-transform-react-jsx,babel-traverse- #15365 fix: Properly generate source maps for manually added multi-line content (@liuxingbaoyu)
v7.20.13 (2023-01-21)
đ Bug Fix
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimebabel-plugin-transform-typescript- #15349 fix: Preserve
import {type T} from 'x'whenonlyRemoveTypeImports:true(@liuxingbaoyu) - #15344 fix: Properties that are
abstractshould not be initialized. (@liuxingbaoyu)
- #15349 fix: Preserve
babel-parser
âŠī¸ Revert
babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx
v7.20.12 (2023-01-04)
đ Bug Fix
babel-traversebabel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties- #15312 fix:
delete thisin static class properties initialization (@SuperSodaSea)
- #15312 fix:
đ Polish
v7.20.11 (2022-12-23)
đ Spec Compliance
babel-helper-module-transforms,babel-plugin-proposal-dynamic-import,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs- #15290 Return rejected promise when stringify import specifier throws (@SuperSodaSea)
đ Bug Fix
babel-plugin-transform-block-scoping- #15309 Fix for binding shadowing outer var with loop closure (@nicolo-ribaudo)
v7.20.10 (2022-12-23)
đ Bug Fix
babel-traverse- #15305 fix:
guessExecutionStatusRelativeToexception (@liuxingbaoyu)
- #15305 fix:
v7.20.9 (2022-12-23)
đ Bug Fix
babel-plugin-transform-block-scoping- #15303 fix: Do not throw exceptions when scope information is corrupted (@liuxingbaoyu)
v7.20.8 (2022-12-22)
đ Bug Fix
babel-plugin-transform-block-scoping- #15301 fix:
transform-block-scopingaccesses properties ofnull(@liuxingbaoyu)
- #15301 fix:
babel-plugin-proposal-class-properties,babel-traverse
v7.20.7 (2022-12-22)
đ Spec Compliance
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes- #15223 fix: Deleting super property should throw (@SuperSodaSea)
babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes,babel-plugin-transform-object-super- #15241 fix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)
đ Bug Fix
babel-parser,babel-plugin-transform-typescript- #15209 fix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)
babel-traverse- #15287 Fix
.parentPathafter rename inSwitchCase(@nicolo-ribaudo)
- #15287 Fix
babel-plugin-transform-typescript,babel-traverse- #15284 fix: Ts import type and func with duplicate name (@liuxingbaoyu)
babel-plugin-transform-block-scoping- #15278 Fix tdz analysis for reassigned captured for bindings (@nicolo-ribaudo)
babel-plugin-proposal-async-generator-functions,babel-preset-env- #15235 fix: Transform
for awaitwith shadowed variables (@liuxingbaoyu)
- #15235 fix: Transform
babel-generator,babel-plugin-proposal-optional-chaining- #15258 fix: Correctly generate
(a ?? b) as T(@liuxingbaoyu)
- #15258 fix: Correctly generate
babel-plugin-transform-react-jsx,babel-types- #15233 fix: Emit correct sourcemap ranges for
JSXText(@liuxingbaoyu)
- #15233 fix: Emit correct sourcemap ranges for
babel-core,babel-helpers,babel-plugin-transform-computed-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15232 fix: Computed properties should keep original definition order (@SuperSodaSea)
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes- #15223 fix: Deleting super property should throw (@SuperSodaSea)
babel-generator- #15216 fix: Print newlines for leading Comments of
TSEnumMember(@liuxingbaoyu)
- #15216 fix: Print newlines for leading Comments of
đ Polish
babel-plugin-transform-block-scoping,babel-traverse- #15275 Improve relative execution tracking in fn exprs (@nicolo-ribaudo)
đ Internal
babel-helper-define-map,babel-plugin-transform-property-mutators- #15274 Inline & simplify
@babel/helper-define-map(@nicolo-ribaudo)
- #15274 Inline & simplify
babel-core,babel-plugin-proposal-class-properties,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-destructuring,babel-plugin-transform-parameters,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-traverse- #15200 Rewrite
transform-block-scopingplugin (@nicolo-ribaudo)
- #15200 Rewrite
đââī¸ Performance
babel-helper-compilation-targets- #15228 perf: Speed up
getTargets(@liuxingbaoyu)
- #15228 perf: Speed up
v7.20.6 (2022-11-28)
đ Bug Fix
babel-helpers- #15231 Update
checkInRHShelper min version (@nicolo-ribaudo)
- #15231 Update
v7.20.5 (2022-11-28)
đ Spec Compliance
babel-helpers,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-traverse- #15183 Improve array destructuring spec compliance (@SuperSodaSea)
babel-cli,babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-transform-classes,babel-plugin-transform-runtime,babel-preset-envbabel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
đ Bug Fix
babel-parserbabel-helper-wrap-function,babel-preset-env,babel-traverse- #15181 fix: Edge cases for async functions and
noNewArrowassumption (@liuxingbaoyu)
- #15181 fix: Edge cases for async functions and
babel-plugin-transform-arrow-functions,babel-plugin-transform-parameters,babel-traverse- #15163 fix: Throw error when compiling
super()in arrow functions with default / rest parameters (@SuperSodaSea)
- #15163 fix: Throw error when compiling
babel-helpers,babel-node,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-regenerator,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15194 fix: Bump
regeneratorand add tests (@SuperSodaSea)
- #15194 fix: Bump
babel-helper-create-regexp-features-plugin- #15192 fix: Update
regjsparserfor@babel/standalone(@liuxingbaoyu)
- #15192 fix: Update
babel-parser,babel-types- #15109 fix: Babel 8 types (@liuxingbaoyu)
babel-generator- #15143 Don't print inner comments as leading when wrapping in
(``)(@nicolo-ribaudo)
- #15143 Don't print inner comments as leading when wrapping in
babel-plugin-transform-block-scoping,babel-traverse- #15167 Register
switch'sdiscriminantin the outer scope (@nicolo-ribaudo)
- #15167 Register
đ Polish
babel-generator- #15173 Improve generator behavior when
comments:false(@liuxingbaoyu)
- #15173 Improve generator behavior when
babel-plugin-transform-block-scoping- #15164 Only extract IDs for TDZ checks in assign when necessary (@nicolo-ribaudo)
đ Internal
v7.20.4 (2022-11-08)
đ Bug Fix
babel-generator- #15160 Fix printing of comments before
=>(@nicolo-ribaudo)
- #15160 Fix printing of comments before
babel-generator,babel-plugin-transform-typescript- #15144 Falback to printing inner comments as trailing (@nicolo-ribaudo)
v7.20.3 (2022-11-07)
đ Bug Fix
babel-generator- #15135 Don't convert line comments containing
*/to block comments (@liuxingbaoyu)
- #15135 Don't convert line comments containing
babel-plugin-transform-parameters- #15146 Fix compilation of parameters in async generators (@nicolo-ribaudo)
babel-parser
v7.20.2 (2022-11-04)
đ Bug Fix
babel-core,babel-helper-create-class-features-plugin,babel-helper-module-transforms,babel-helper-plugin-utils,babel-helper-simple-access,babel-node,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-react-constant-elements,babel-preset-env,babel-standalone,babel-types- #15124 fix:
@babel/noderepl and enableno-use-before-definerule (@liuxingbaoyu)
- #15124 fix:
babel-plugin-transform-typescript- #15121 fix:
tsSatisfiesExpressioncheck with different duplicated@babel/typesversions (@liuxingbaoyu)
- #15121 fix:
babel-parser- #15094 fix:
parsertypings for plugins (@liuxingbaoyu)
- #15094 fix:
babel-generator- #15118 Improve printing of [no LineTerminator here] with comments (@nicolo-ribaudo)
babel-plugin-proposal-decorators,babel-plugin-proposal-object-rest-spread,babel-plugin-transform-jscriptbabel-plugin-transform-destructuring- #15104 fix: Destructuring exceptions
for ( let { } = 0 ; 0 ; )(@liuxingbaoyu)
- #15104 fix: Destructuring exceptions
v7.20.1 (2022-11-01)
đ Bug Fix
babel-plugin-proposal-async-generator-functions- #15103 fix: Compile re-declare var in
initandbodyoffor await(@liuxingbaoyu)
- #15103 fix: Compile re-declare var in
babel-plugin-proposal-class-properties,babel-traverse- #15106 Do not mark
inandinstanceofas constant expressions (@nicolo-ribaudo)
- #15106 Do not mark
babel-helpers,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regexbabel-parser- #15102 fix: Parse re-declare var in class static body (@liuxingbaoyu)
- #15096 fix:
a satisfies bas lval (@liuxingbaoyu)
babel-helpers,babel-plugin-proposal-duplicate-named-capturing-groups-regexbabel-plugin-transform-async-to-generator,babel-plugin-transform-parameters,babel-preset-env- #15081 Move the generator body to a gen IIFE when compiling its params (@nicolo-ribaudo)
đ Internal
babel-generator- #15080 Automatically print inner comments (@nicolo-ribaudo)
v7.20.0 (2022-10-27)
đ New Feature
babel-compat-data,babel-helper-compilation-targets,babel-preset-envbabel-plugin-syntax-typescript- #14923 Expose
dtsoption in@babel/plugin-syntax-typescript(@oceandrama)
- #14923 Expose
babel-generator,babel-parser,babel-plugin-syntax-explicit-resource-management,babel-plugin-transform-block-scoping,babel-plugin-transform-destructuring,babel-standalone,babel-traverse,babel-typesbabel-generator,babel-parser,babel-plugin-syntax-import-reflection,babel-standalone,babel-typesbabel-generator,babel-helper-skip-transparent-expression-wrappers,babel-parser,babel-plugin-transform-typescript,babel-traverse,babel-types- #14211 [ts] Add support for
expr satisfies Typeexpressions (@nicolo-ribaudo)
- #14211 [ts] Add support for
đ Bug Fix
babel-generator,babel-parser- #15032 Fix handling of comments with decorators before
export(@nicolo-ribaudo)
- #15032 Fix handling of comments with decorators before
babel-generator
đ Internal
babel-helpers,babel-node,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-regenerator,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15078 Update
regenerator-runtime(@nicolo-ribaudo)
- #15078 Update
v7.19.6 (2022-10-20)
đ Spec Compliance
babel-plugin-proposal-decorators
đ Bug Fix
babel-parser- #15062 Fix parsing of block comments nested in flow comments (@nicolo-ribaudo)
- #15052 fix: improve module block program location tracking (@JLHwung)
babel-plugin-transform-runtime,babel-runtime-corejs2,babel-runtime-corejs3babel-preset-env,babel-traverse- #15043 fix: preserve this for
super.*template tags (@liuxingbaoyu)
- #15043 fix: preserve this for
đ Polish
babel-generator,babel-plugin-transform-flow-comments- #15037 Improve generation of comments without location (@liuxingbaoyu)
đ Documentation
đ Internal
babel-parser- #15056 Use
startLoc.indexinstead of carrying aroundstart(@nicolo-ribaudo)
- #15056 Use
- Other
- #15035 chore: Update yarn 3.2.4 (@liuxingbaoyu)
đââī¸ Performance
babel-core,babel-standalone- #15023 Don't bundle unnecessary plugins in
@babel/standalone(@nicolo-ribaudo)
- #15023 Don't bundle unnecessary plugins in
v7.19.5 (2022-10-10)
đ Bug Fix
babel-generator- #15031 Fix "Cannot read properties of undefined" regression (@farewell-zy)
v7.19.4 (2022-10-10)
đ Spec Compliance
babel-plugin-transform-block-scoping- #15019 fix: check constant violation inside loops (@nicolo-ribaudo)
babel-helpers,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-object-rest-spread,babel-plugin-transform-destructuring- #14985 Disallow rest object destructuring of null/undefined (@nicolo-ribaudo)
đ Bug Fix
babel-plugin-transform-react-jsx-development,babel-plugin-transform-typescript,babel-types- #14109 Fix: properly scope variables in TSModuleBlock (@The-x-Theorist)
babel-plugin-transform-destructuring,babel-plugin-transform-react-constant-elements,babel-traverse- #15027 fix: mark
vardeclarations in loops as not constant (@nicolo-ribaudo)
- #15027 fix: mark
babel-helper-string-parser,babel-parser,babel-types- #14964 Never throw for invalid escapes in tagged templates (@nicolo-ribaudo)
babel-generator,babel-parserbabel-plugin-transform-destructuring- #14984 Fix holes handling in optimized array destructuring (@nicolo-ribaudo)
đ Polish
babel-cli,babel-core,babel-generator,babel-helper-create-class-features-plugin,babel-helper-fixtures,babel-helper-simple-access,babel-helper-transform-fixture-test-runner,babel-helpers,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-proposal-dynamic-import,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-nullish-coalescing-operator,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-syntax-typescript,babel-plugin-transform-arrow-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-duplicate-keys,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-function-name,babel-plugin-transform-jscript,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-new-target,babel-plugin-transform-object-super,babel-plugin-transform-parameters,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx-self,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-plugin-transform-shorthand-properties,babel-plugin-transform-spread,babel-plugin-transform-strict-mode,babel-plugin-transform-template-literals,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-plugin-transform-unicode-escapes,babel-preset-env,babel-preset-react,babel-preset-typescript,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-traverse- #14979 Improve comments generation (@liuxingbaoyu)
babel-cli,babel-core,babel-generator,babel-helper-fixtures,babel-helper-transform-fixture-test-runner,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-traverse- #14967 Improve source map generation (@liuxingbaoyu)
đ Internal
- Other
- #15001 Run test262 again (@nicolo-ribaudo)
babel-compat-data,babel-preset-env- #14976 Internally rename
proposal-*totransform-*in preset-env (@nicolo-ribaudo)
- #14976 Internally rename
v7.19.3 (2022-09-27)
đ Bug Fix
babel-plugin-proposal-decorators- #8566 Correctly update bindings of decorated class declarations (@nicolo-ribaudo)
babel-parser- #14974 fix: Normal parsing of
JSXTextfollowingJSXSpreadChild(@liuxingbaoyu) - #14941 fix: Support local exports in TS
declare modules (@liuxingbaoyu) - #14940 fix: allow ts redeclaration with
import =andvar(@liuxingbaoyu)
- #14974 fix: Normal parsing of
babel-generator- #14962 Fix printing of Flow internal slot functions (@liuxingbaoyu)
babel-cli- #14950 Emit
@babel/clisource maps based on configuration files (@liuxingbaoyu)
- #14950 Emit
babel-plugin-transform-typescript- #14946 fix: ts exported vars are shadowed by
declare(@liuxingbaoyu)
- #14946 fix: ts exported vars are shadowed by
đ Polish
babel-core- #14954 Optional filename when preset uses fn test/include/exclude (@nicolo-ribaudo)
đ Internal
babel-helper-compilation-targets,babel-helper-transform-fixture-test-runner,babel-parser,babel-preset-env,babel-traverse- #14961 chore: use
c8for coverage testing (@liuxingbaoyu)
- #14961 chore: use
đŦ Output optimization
babel-plugin-transform-typescript- #14952 [ts] remove nested
declare namespace(@liuxingbaoyu)
- #14952 [ts] remove nested
v7.19.2 (2022-09-15)
đ Bug Fix
v7.19.1 (2022-09-14)
đ Bug Fix
babel-core- #14930 Avoid fancy stack traces size computation (@nicolo-ribaudo)
babel-traverse- Other
babel-parser- #14920 [estree] attach comments after directives at the end of file (@hegemonic)
- #14900 [ts] allow redeclaring a var/type with the same name as import (@liuxingbaoyu)
babel-plugin-transform-typescript
v7.19.0 (2022-09-05)
đ Spec Compliance
babel-parserbabel-helpers,babel-plugin-proposal-async-generator-functions,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #14877 Remove one promise tick in yield* (tc39/ecma262#2819) (@nicolo-ribaudo)
đ New Feature
babel-generator,babel-helpers,babel-parser,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #14836 Add 2022-03 decorators version (stage 3) (@nicolo-ribaudo)
babel-parser- #14695 [parser] Make
decoratorsBeforeExportdefault tofalse(@nicolo-ribaudo)
- #14695 [parser] Make
babel-generator,babel-parser- #14744 Default to hash syntax for Record&Tuple (@nicolo-ribaudo)
babel-standalonebabel-helper-create-regexp-features-plugin,babel-helpers,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-standalone- #14805 Add support for the duplicate named capturing groups proposal (@nicolo-ribaudo)
đ Bug Fix
babel-helper-function-name,babel-helper-wrap-function,babel-plugin-transform-classesbabel-plugin-transform-typescript- #14890 fix: TS plugin shouldn't remove
#privateField!(@liuxingbaoyu)
- #14890 fix: TS plugin shouldn't remove
babel-parserbabel-helper-builder-react-jsx
đ Polish
babel-core- #11612 Make error message prefixes more descriptive (@eps1lon)
- #11554 Hide internal
@babel/corefunctions in config errors (@nicolo-ribaudo)
đ Documentation
đ Internal
babel-standalonebabel-core,babel-parser,babel-traverse
v7.18.13 (2022-08-22)
đ Bug Fix
babel-generator- #14869 fix: jsx with
retainLines(@liuxingbaoyu)
- #14869 fix: jsx with
babel-corebabel-plugin-transform-destructuring- #14841 fix: Destructuring exceptions in nested
forexpressions (@liuxingbaoyu)
- #14841 fix: Destructuring exceptions in nested
đ Polish
babel-traverse
đ Internal
- #14846 fix: Print build logs correctly (@liuxingbaoyu)
v7.18.12 (2022-08-05)
đ Bug Fix
babel-plugin-transform-react-constant-elementsbabel-generator- #14810 fix: Certain comments cause
generatorexceptions (@liuxingbaoyu)
- #14810 fix: Certain comments cause
babel-plugin-transform-typescript
v7.18.11 (2022-08-04)
đ Bug Fix
đ Internal
babel-traversebabel-parser
v7.18.10 (2022-08-01)
đ New Feature
babel-helper-string-parser,babel-types- #14757 feat: Automatically generate
cookedfortemplateElement(@liuxingbaoyu)
- #14757 feat: Automatically generate
đ Bug Fix
babel-parser- #14817 fix(parser): allow TS declare readonly fields with initializers (@Josh-Cena)
babel-helper-string-parser,babel-parser- #14798 Fix position of errors in template literals after newlines (@nicolo-ribaudo)
babel-plugin-transform-typescript- #14774 fix: TS
declare classin namespace should be removed (@yimingjfe)
- #14774 fix: TS
babel-plugin-transform-react-jsxbabel-generator- #14762 fix: Types containing comments generate invalid code (@liuxingbaoyu)
babel-helper-wrap-function,babel-plugin-transform-async-to-generator,babel-traverse- #14752 Fix compiling async arrows in uncompiled class fields (@nicolo-ribaudo)
đ Internal
- Other
- #14800 chore: Remove
.yarnrcfile (@liuxingbaoyu) - #14802 chore: Fix coverage test (@liuxingbaoyu)
- #14671 feat: Make most
makecommands cross-platform (@liuxingbaoyu) - #14790 enable typescript incremental builds (@zxbodya)
- #14800 chore: Remove
babel-traversebabel-cli- #14779 chore: expand prettier-e2e test and update typings/deps (@liuxingbaoyu)
babel-parserbabel-core,babel-parserbabel-cli,babel-core,babel-parser,babel-plugin-transform-unicode-escapes,babel-preset-env,babel-template,babel-traversebabel-helper-string-parser,babel-parser- #14772 Extract string parsing to a separate package (@nicolo-ribaudo)
babel-cli,babel-node- #14765 Enforce type checking on
babel-{cli,node}(@liuxingbaoyu)
- #14765 Enforce type checking on
đŦ Output optimization
babel-plugin-proposal-export-default-from- #14768 optimize: Simplify the
export-default-fromtransform (@magic-akari)
- #14768 optimize: Simplify the
v7.18.9 (2022-07-18)
đ Bug Fix
babel-plugin-transform-modules-systemjs,babel-typesbabel-generator- #14758 fix:
returnTypewith comments generates incorrect code (@liuxingbaoyu)
- #14758 fix:
đ Polish
babel-cli- #14748 Print a message when the watcher of
babel-cliis ready. (@liuxingbaoyu)
- #14748 Print a message when the watcher of
đ Internal
babel-core,babel-helper-remap-async-to-generator,babel-helpers,babel-parser,babel-plugin-transform-block-scoping,babel-preset-env- #13414 Prepare for compiling Babel to native ESM (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-wrap-function,babel-helpers,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-decorators,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-traverse,babel-types
đââī¸ Performance
babel-generator- #14701 perf: Improve generator perf (@liuxingbaoyu)
v7.18.8 (2022-07-08)
đ Spec Compliance
đ Bug Fix
babel-plugin-transform-parameters- #14736 Inject IIFE when variables shadow binding in rest param (@nicolo-ribaudo)
babel-plugin-transform-classesbabel-plugin-transform-for-of,babel-plugin-transform-spread,babel-traverse,babel-typesbabel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #14708 Unshadow
cjsexports when transforming mutations (@nicolo-ribaudo)
- #14708 Unshadow
đ Documentation
- #14486 Fix test debugging instructions for contributors (@conartist6)
đ Internal
babel-types- Other
babel-helper-fixtures,babel-parser
đŦ Output optimization
babel-plugin-transform-typescript- #14723 [optimizeConstEnums] Inline const enum if only exported as type (@nicolo-ribaudo)
v7.18.7 (2022-06-28)
đ Bug Fix
babel-types- #14706 fix:
@babel/typesexception in typescript project. (@liuxingbaoyu)
- #14706 fix:
v7.18.6 (2022-06-27)
đ Spec Compliance
babel-parser- #14650 [ts] Disallow property access after instantiation expression (@nicolo-ribaudo)
- #14636 [ts] Allow
...<...>followed by newline or binary operator (@nicolo-ribaudo)
babel-generator,babel-parser,babel-preset-env,babel-template
đ Bug Fix
babel-helper-remap-async-to-generator,babel-plugin-proposal-async-generator-functions- #14391 Transform
awaitin computed class keys (@Yokubjon-J)
- #14391 Transform
babel-plugin-transform-parameters- #14694 fix: preserve function params type if possible (@magic-akari)
babel-core- #14583 fix: Memory leak when deep cloning in
babel-core(@liuxingbaoyu)
- #14583 fix: Memory leak when deep cloning in
babel-core,babel-helper-check-duplicate-nodes,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining,babel-plugin-transform-runtime- #14663 Fix
import { types } from "@babel/core"with native ESM (@nicolo-ribaudo)
- #14663 Fix
đ Internal
babel-standalone- #14697 Add
proposal-unicode-sets-regexto@babel/standalone(@nicolo-ribaudo)
- #14697 Add
- Other
- #14687 chore: Update bench baselines (@liuxingbaoyu)
babel-generator,babel-typesbabel-code-frame,babel-core,babel-generator,babel-helper-annotate-as-pure,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-builder-react-jsx,babel-helper-check-duplicate-nodes,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-define-map,babel-helper-explode-assignable-expression,babel-helper-fixtures,babel-helper-function-name,babel-helper-hoist-variables,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-optimise-call-expression,babel-helper-plugin-test-runner,babel-helper-plugin-utils,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-simple-access,babel-helper-split-export-declaration,babel-helper-transform-fixture-test-runner,babel-helper-validator-option,babel-helper-wrap-function,babel-helpers,babel-highlight,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-syntax-typescript,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-duplicate-keys,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-function-name,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-object-super,babel-plugin-transform-parameters,babel-plugin-transform-property-mutators,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-display-name,babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-compat,babel-plugin-transform-react-jsx-source,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-plugin-transform-unicode-escapes,babel-preset-env,babel-preset-typescript,babel-standalone,babel-template,babel-traverse,babel-typesbabel-core,babel-helper-transform-fixture-test-runner,babel-plugin-transform-destructuring- #14659 Run Babel asynchronously in fixtures (@nicolo-ribaudo)
v7.18.5 (2022-06-13)
đ Bug Fix
babel-plugin-transform-new-target- #14611 fix:
new.targetwith shadowed class name (@liuxingbaoyu)
- #14611 fix:
babel-plugin-transform-modules-systemjs
đ Documentation
- #14332 docs: eslint-parser requireConfigFile behaviour (@JLHwung)
- #14619 Move v7 prereleases changelog to a separate file (@nicolo-ribaudo)
đ Internal
babel-traverse- #14649 Rely on the call stack to clean up cache in
_guessExecutionStatusRelativeTo(@nicolo-ribaudo)
- #14649 Rely on the call stack to clean up cache in
babel-core- Other
- #14627 Speedup e2e test on github (@liuxingbaoyu)
- #14248 chore: automate compat-data update (@tony-go)
babel-parser- #14592 feat: Automatically generate test results that do not exist (@liuxingbaoyu)
đââī¸ Performance
babel-traverse- #14617 Fix
_guessExecutionStatusRelativeToDifferentFunctionsperf (@liuxingbaoyu)
- #14617 Fix
v7.18.4 (2022-05-29)
đ Spec Compliance
đ Bug Fix
babel-plugin-transform-typescript- #14610 Fix
@babel/transform-typescriptcompatibility with Next.js (@nicolo-ribaudo)
- #14610 Fix
babel-parser- #14604 [ts] FIx parsing of nested
extendstype in arrow type (@nicolo-ribaudo)
- #14604 [ts] FIx parsing of nested
babel-helper-check-duplicate-nodes,babel-parser- #14595 fix:
loc.indexof some nodes is wrongly enumerable. (@liuxingbaoyu)
- #14595 fix:
đ Internal
babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-modules-systemjs
v7.18.3 (2022-05-25)
đ Bug Fix
babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
v7.18.2 (2022-05-25)
đ Bug Fix
babel-plugin-transform-template-literalsbabel-helpers- #14537 Support frozen built-ins in
@babel/runtime(@Jack-Works)
- #14537 Support frozen built-ins in
babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #14581 Define the global
regeneratorRuntimein@babel/runtime/regenerator(@nicolo-ribaudo)
- #14581 Define the global
babel-helper-environment-visitor,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-traverse,babel-types
đ Documentation
đ Internal
- #14541 Fix synchronization between main thread and worker (@liuxingbaoyu)
v7.18.1 (2022-05-19)
đ Bug Fix
babel-plugin-transform-typescript- #14566 Fix TypeScript plugin compat with
@babel/typesversions (@nicolo-ribaudo)
- #14566 Fix TypeScript plugin compat with
babel-plugin-transform-for-of- #14564 fix: Duplicate declaration in transformed for...of (@liuxingbaoyu)
v7.18.0 (2022-05-19)
đ New Feature
babel-preset-envbabel-helper-create-class-features-plugin,babel-helper-define-map,babel-plugin-proposal-class-static-block,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-object-rest-spread,babel-plugin-syntax-destructuring-private,babel-plugin-transform-destructuring,babel-plugin-transform-proto-to-assign,babel-plugin-transform-typescript,babel-standalone,babel-traverse,babel-typesbabel-generator,babel-parser,babel-types- #14359 [ts 4.7] Support optional variance annotations (@magic-akari)
babel-generator,babel-parser- #14476 [ts 4.7] Support
extendsconstraints forinfer(@sosukesuzuki)
- #14476 [ts 4.7] Support
babel-generator,babel-parser,babel-plugin-transform-typescript,babel-traverse,babel-types- #14457 [ts] Add support for instantiation expressions (@nicolo-ribaudo)
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd- #14456 Pass filename to
importInteropmethod (@NickHeiner)
- #14456 Pass filename to
đ Bug Fix
babel-types- #14551 Do not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
babel-parserbabel-plugin-transform-react-pure-annotations
đ Polish
babel-core,babel-helper-transform-fixture-test-runner,babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone- #14538 Inline
regeneratorRuntimeas a normal helper (@nicolo-ribaudo)
- #14538 Inline
đ Internal
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-modules-systemjs
v7.17.12 (2022-05-16)
đ Bug Fix
babel-plugin-transform-react-constant-elements- #14536 Never hoist JSX elts referencing vars from the current scope (@nicolo-ribaudo)
babel-generatorbabel-plugin-transform-destructuringbabel-parserbabel-parser,babel-plugin-transform-destructuring,babel-types- #14500 Fix parsing ts type casts and nested patterns in destructuring (@nicolo-ribaudo)
đ Internal
babel-plugin-proposal-decorators,babel-typesbabel-corebabel-core,babel-generator,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-module-transforms,babel-helper-plugin-utils,babel-parser,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-export-default-from,babel-plugin-proposal-export-namespace-from,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-nullish-coalescing-operator,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-proposal-unicode-property-regex,babel-plugin-syntax-decorators,babel-plugin-syntax-destructuring-private,babel-plugin-syntax-flow,babel-plugin-syntax-import-assertions,babel-plugin-syntax-pipeline-operator,babel-plugin-syntax-record-and-tuple,babel-plugin-syntax-typescript,babel-plugin-transform-arrow-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-duplicate-keys,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-instanceof,babel-plugin-transform-jscript,babel-plugin-transform-literals,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-new-target,babel-plugin-transform-parameters,babel-plugin-transform-property-mutators,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-jsx,babel-plugin-transform-reserved-words,babel-plugin-transform-runtime,babel-plugin-transform-spread,babel-plugin-transform-template-literals,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-preset-env,babel-preset-flow,babel-preset-react,babel-preset-typescript,babel-traverse,babel-types
v7.17.11 (2022-04-29)
đ Bug Fix
v7.17.10 (2022-04-29)
đ Bug Fix
babel-cli,babel-core,babel-generator,babel-helper-transform-fixture-test-runner- #14479 [cli] Avoid
SourceMapGeneratorfor simple map concatenation (@jridgewell)
- #14479 [cli] Avoid
đ Polish
babel-cli,babel-core,babel-generator,babel-helper-fixtures,babel-helper-transform-fixture-test-runner- #14506 Do not add sourcemap markings for indentation (@jridgewell)
babel-plugin-proposal-pipeline-operator,babel-traverse
đ Internal
babel-core- #14493 Remove git.io shortlinks from repo (@Andoryuuta)
- Other
- #14462 fix: build standalone on windows (@liuxingbaoyu)
đââī¸ Performance
babel-cli,babel-core,babel-generator- #14497 Switch to
@jridgewell/gen-mappingfor sourcemap generation (@jridgewell)
- #14497 Switch to
v7.17.9 (2022-04-06)
đ Bug Fix
babel-parser,babel-standalone- #14427 Restore numeric seaprators support in
@babel/standalone(@nicolo-ribaudo)
- #14427 Restore numeric seaprators support in
babel-traversebabel-plugin-proposal-decorators- #14396 [2021-12] Support class decorators in export declarations (@nicolo-ribaudo)
- #14387 fix: forward accessor proxy getter results (@JLHwung)
babel-parserbabel-generator,babel-parserbabel-plugin-transform-classes,babel-plugin-transform-modules-commonjs,babel-preset-env- #14366 Align named imports behavior in
.mjsand.jsfiles (@nicolo-ribaudo)
- #14366 Align named imports behavior in
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties- #14351 [setPublicClassFields] Use define for static
name/length(@nicolo-ribaudo)
- #14351 [setPublicClassFields] Use define for static
đ Polish
babel-plugin-proposal-decorators- #14398 Add missing semicolons in 2021-12 decorators output (@nicolo-ribaudo)
đ Documentation
- #14397 Mention how to report vulns in Babel dependencies (@nicolo-ribaudo)
đ Internal
- Other
- #14419 Use
jest-light-runnerfrom npm (@nicolo-ribaudo)
- #14419 Use
babel-clibabel-helper-function-name,babel-helper-get-function-arity- #14389 Inline
@babel/helper-get-function-aritypackage (@nicolo-ribaudo)
- #14389 Inline
babel-helpers- #14343 Remove unused
@babel/helperscode (@nicolo-ribaudo)
- #14343 Remove unused
babel-core,babel-highlight,babel-parser- #14377 refactor: replace deprecated String.prototype.substr() (@CommanderRoot)
v7.17.8 (2022-03-18)
đ Spec Compliance
babel-helpers,babel-plugin-proposal-decorators
đ Bug Fix
babel-plugin-transform-modules-systemjs- #14057 [systemjs] Fix nested
let/constshadowing imported bindings (@The-x-Theorist)
- #14057 [systemjs] Fix nested
babel-parser- #14362 Allow keywords in TS qualified types (@nicolo-ribaudo)
âŠī¸ Revert
babel-parser- #14367 Defer
<T>() => {}TSX error to Babel 8 (@nicolo-ribaudo)
- #14367 Defer
v7.17.7 (2022-03-14)
đ Spec Compliance
babel-generator,babel-parser- #14135 [tsx] raise error on single arrow type argument without comma (@ozanhonamlioglu)
đ Bug Fix
babel-helper-compilation-targets- #14294 Avoid
resolveTargetscall ifbrowsersis an empty array (@dev-itsheng)
- #14294 Avoid
babel-helper-module-transforms,babel-helper-simple-access,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd- #14341 Fix update expression for exported bigints (@magic-akari)
babel-parser- #14344 Allow variable and function with the same name in static blocks (@Yokubjon-J)
- #14327 Remove length restriction from JSX entities, and ignore
Object.prototype(@nicolo-ribaudo) - #14293 fix(ts): skip func-type param start on parsing (@JLHwung)
babel-helpers,babel-plugin-proposal-decoratorsbabel-generator- #14309 Fix
import type/typeofprinting with no specifiers (@The-x-Theorist)
- #14309 Fix
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #14313 Fix duplicate exports initialization with many exports (@nicolo-ribaudo)
babel-helper-member-expression-to-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-methods,babel-plugin-transform-classes,babel-plugin-transform-object-super- #14311 fix: support bigints in update expressions for private fields (@magic-akari)
babel-register
đ Polish
babel-parser- #14338 Report single error for invalid num seps in unicode escapes (@nicolo-ribaudo)
đ Internal
babel-generator,babel-parserbabel-plugin-transform-destructuring- Other
- #14180 Convert ESLint plugins to CommonJS (@nicolo-ribaudo)
v7.17.6 (2022-02-21)
đ Spec Compliance
babel-helper-module-transforms
đ Bug Fix
đŦ Output optimization
babel-plugin-transform-react-constant-elements- #12975
allowMutablePropsOnTags: cache JSX constant elements with function props (@nicolo-ribaudo)
- #12975
babel-plugin-proposal-pipeline-operator,babel-standalone- #14278 [hack pipes] Inline topic token when possible (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-preset-env- #14275 Avoid IIFE for single-expression class static blocks (@nicolo-ribaudo)
v7.17.5 (2022-02-17)
đ Bug Fix
babel-core- #14283 Make source maps plain objects for use with
t.valueToNode(@thebanjomatic) - #14282 Fix merging sourcemaps on Windows (@jridgewell)
- #14283 Make source maps plain objects for use with
v7.17.4 (2022-02-15)
đ Bug Fix
babel-core- #14274 Fix infinite recursion when merge sourcemaps (@jridgewell)
v7.17.3 (2022-02-15)
đ Bug Fix
babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsxbabel-plugin-transform-destructuring- #14240 Fix destructuring with holes in assign pattern (@magic-akari)
đ Internal
babel-cli,babel-core,babel-generator,babel-helper-transform-fixture-test-runner- #14253 Convert all SourceMapConsumers to TraceMaps (@jridgewell)
đŦ Output optimization
babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-transform-new-target,babel-plugin-transform-parameters,babel-traverse- #14268 Skip unnecessary temp vars in
path.insertAfter(@nicolo-ribaudo)
- #14268 Skip unnecessary temp vars in
v7.17.2 (2022-02-08)
đ Bug Fix
babel-helpers,babel-plugin-proposal-decoratorsbabel-core- #14241 Fix reinstantiation of inherited plugins (@nicolo-ribaudo)
- #14246 Merge multi-source output sourcemaps (@jridgewell)
v7.17.1 (2022-02-03)
đ Bug Fix
babel-helper-create-class-features-plugin- #14231 Restore class fields transform compat with old
@babel/types(@nicolo-ribaudo)
- #14231 Restore class fields transform compat with old
v7.17.0 (2022-02-02)
đ New Feature
babel-cli,babel-core- #14065 Allow plugins/presets to indicate external dependencies (@nicolo-ribaudo)
babel-core,babel-parser,babel-traversebabel-generator,babel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorbabel-traversebabel-generator,babel-parser,babel-plugin-syntax-destructuring-private,babel-standalonebabel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone,babel-typesbabel-generator,babel-parser,babel-traverse,babel-typesbabel-core,babel-helper-create-regexp-features-plugin,babel-plugin-proposal-unicode-sets-regex,babel-plugin-syntax-unicode-sets-regex,babel-plugin-transform-dotall-regex- #14125 Add transform support for the "regexp unicode sets" proposal (@nicolo-ribaudo)
babel-parser- #14086 Add parser support for the "regexp unicode sets" proposal (@nicolo-ribaudo)
babel-register- #14087 Expose
@babel/register/experimental-worker(@nicolo-ribaudo)
- #14087 Expose
đ Bug Fix
babel-parserbabel-plugin-transform-runtime
đ Documentation
- #14223 Remove Babel 6 from SECURITY.md (@nicolo-ribaudo)
đ Internal
babel-helper-fixtures,babel-parserbabel-compat-data- Other
đââī¸ Performance
babel-cli,babel-core- #14209 Switch to
@ampproject/remappingto merge source maps (@jridgewell)
- #14209 Switch to
v7.16.12 (2022-01-22)
đ Bug Fix
babel-core- #14192 Avoid dynamic import when it's not needed (@nicolo-ribaudo)
babel-parser
v7.16.10 (2022-01-19)
đ Bug Fix
babel-highlightbabel-traverse- #14164 Handle logical assignment in super property transforms (@magic-akari)
- #14162 Fix the transform of
super.foo--/super[foo]--(and prefix) (@magic-akari)
babel-core- #14110 Respect
package.json#exportswhen resolving plugins (@nicolo-ribaudo) - #14153 Disable "Reentrant plugin detected" error in async mode (@nicolo-ribaudo)
- #14110 Respect
đ Internal
babel-plugin-transform-runtime- #14157 Remove workaround for
_typeofin runtime build script (@nicolo-ribaudo)
- #14157 Remove workaround for
babel-parser
đŦ Output optimization
babel-helper-create-class-features-plugin,babel-preset-env- #14169 Skip class fields transform when not necessary for private methods (@nicolo-ribaudo)
v7.16.9 (2022-01-11)
đ Bug Fix
babel-register- #14136 Restore
@babel/registercompat with@babel/[email protected](@nicolo-ribaudo)
- #14136 Restore
v7.16.8 (2022-01-10)
đ Bug Fix
babel-generator,babel-plugin-syntax-typescript,babel-plugin-transform-parameters- #14113 Print trailing comma after a single TS generic in arrow fns (@ozanhonamlioglu)
babel-traversebabel-register- #14107 Don't mutate
@babel/registeroptions (@nicolo-ribaudo)
- #14107 Don't mutate
babel-plugin-transform-modules-commonjs- #14097 Register binding for newly created vars for commonjs transforms (@The-x-Theorist)
babel-plugin-transform-typescript- #14093 Fix TypeScript Enum self-references (@magic-akari)
đ Polish
babel-generator- #14094 Always print directives with double quotes when minified (@overlookmotel)
đ Internal
babel-helper-fixtures,babel-plugin-proposal-record-and-tuple,babel-preset-env- #14118 Always use the plugin/preset name in fixtures options (@nicolo-ribaudo)
đŦ Output optimization
babel-helper-remap-async-to-generator,babel-helper-wrap-function,babel-plugin-transform-async-to-generator- #14122 Optimize
transform-async-to-generatoroutput (@magic-akari)
- #14122 Optimize
v7.16.7 (2021-12-31)
đ Spec Compliance
đ Bug Fix
babel-plugin-transform-runtime,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimebabel-helpers- #14072 Fix derived classes in Chrome <= 36 (@nicolo-ribaudo)
babel-helper-function-name,babel-plugin-transform-function-name- #14047 Fix unicode handling in generated function names (@The-x-Theorist)
đ Polish
babel-core- #14067 Allow
$schemaproperty in json config files (@The-x-Theorist)
- #14067 Allow
v7.16.6 (2021-12-14)
đ Bug Fix
v7.16.5 (2021-12-13)
đ Spec Compliance
babel-cli,babel-core,babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-jscript,babel-plugin-transform-parameters,babel-plugin-transform-runtime,babel-plugin-transform-spread,babel-plugin-transform-typescript,babel-preset-env
đ Bug Fix
babel-plugin-transform-parameters- #14032 Fix: default rest argument array elements as undefined (@The-x-Theorist)
babel-plugin-transform-arrow-functions,babel-traverse- #14036 Don't resolve shadowed
argumentsvariables from functions (@The-x-Theorist)
- #14036 Don't resolve shadowed
babel-parserbabel-traverse- #14016 Fix duplicate declaration error on ambient class declarations (@The-x-Theorist)
babel-generator- #14014 Support flow function type annotation with no parent (@krosenberg)
babel-plugin-transform-react-jsx- #14012 Fix JSX pragma anywhere in comment (@The-x-Theorist)
babel-helper-create-class-features-plugin,babel-helper-environment-visitor,babel-helper-member-expression-to-functions,babel-helper-module-transforms,babel-helper-replace-supers,babel-plugin-transform-classes,babel-traverse- #14005 Fix handling of
this&co in computed keys in arrows transform (@nicolo-ribaudo)
- #14005 Fix handling of
đ Polish
babel-parser
đ Documentation
babel-compat-data,babel-helper-annotate-as-pure,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-builder-react-jsx,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-define-map,babel-helper-explode-assignable-expression,babel-helper-fixtures,babel-helper-function-name,babel-helper-get-function-arity,babel-helper-hoist-variables,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-optimise-call-expression,babel-helper-plugin-test-runner,babel-helper-plugin-utils,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-simple-access,babel-helper-skip-transparent-expression-wrappers,babel-helper-split-export-declaration,babel-helper-transform-fixture-test-runner,babel-helper-validator-identifier,babel-helper-validator-option,babel-helper-wrap-function,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-record-and-tuple,babel-plugin-syntax-async-do-expressions,babel-plugin-syntax-module-blocks,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-pure-annotations,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #14006 Regenerate monorepo READMEs (@nicolo-ribaudo)
đ Internal
babel-cli,babel-code-frame,babel-core,babel-generator,babel-helper-annotate-as-pure,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-fixtures,babel-helper-module-imports,babel-helper-optimise-call-expression,babel-helper-plugin-test-runner,babel-helper-transform-fixture-test-runner,babel-helper-validator-identifier,babel-helper-validator-option,babel-helpers,babel-highlight,babel-node,babel-parser,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-do-expressions,babel-plugin-proposal-dynamic-import,babel-plugin-proposal-export-default-from,babel-plugin-proposal-export-namespace-from,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-nullish-coalescing-operator,babel-plugin-proposal-numeric-separator,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-catch-binding,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-proposal-throw-expressions,babel-plugin-proposal-unicode-property-regex,babel-plugin-syntax-decorators,babel-plugin-syntax-typescript,babel-plugin-transform-arrow-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-dotall-regex,babel-plugin-transform-duplicate-keys,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-function-name,babel-plugin-transform-instanceof,babel-plugin-transform-jscript,babel-plugin-transform-member-expression-literals,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-new-target,babel-plugin-transform-object-super,babel-plugin-transform-parameters,babel-plugin-transform-property-literals,babel-plugin-transform-property-mutators,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-display-name,babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-compat,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx-self,babel-plugin-transform-react-jsx-source,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-reserved-words,babel-plugin-transform-runtime,babel-plugin-transform-shorthand-properties,babel-plugin-transform-spread,babel-plugin-transform-sticky-regex,babel-plugin-transform-strict-mode,babel-plugin-transform-template-literals,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-plugin-transform-unicode-escapes,babel-plugin-transform-unicode-regex,babel-preset-env,babel-preset-flow,babel-preset-react,babel-preset-typescript,babel-register,babel-standalone,babel-template,babel-traverse,babel-types- #13966 Run tests in a native Node.js ESM environment (@nicolo-ribaudo)
babel-parserbabel-helpers- #13996 Don't use ESM for
required files in@babel/helperstests (@nicolo-ribaudo)
- #13996 Don't use ESM for
babel-plugin-proposal-object-rest-spread,babel-traversebabel-parser,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-optional-chaining,babel-preset-react,babel-preset-typescript- #13978 Only bundle the release build, and don't import
srcin tests (@nicolo-ribaudo)
- #13978 Only bundle the release build, and don't import
- Other
- #13976 Fail CI when
@babel/runtimeESM tests fail (@nicolo-ribaudo)
- #13976 Fail CI when
đââī¸ Performance
đŦ Output optimization
babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime- #13837 minify
helpers-generated.ts(@lightmare)
- #13837 minify
v7.16.4 (2021-11-16)
đ Spec Compliance
babel-helper-remap-async-to-generator,babel-plugin-transform-async-to-generator- #13961 Wait the correct number of ticks on nested
await(@nicolo-ribaudo)
- #13961 Wait the correct number of ticks on nested
babel-parser
đ Bug Fix
babel-parser- #13957 Add
assertionstoExportNamedDeclarationwithoutfrom(@sosukesuzuki) - #13951 Throw on duplicate
__proto__props followed by assignment (@The-x-Theorist)
- #13957 Add
babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-decorators,babel-plugin-transform-runtime,babel-preset-env
đ Polish
v7.16.3 (2021-11-09)
đ Bug Fix
babel-helpers- #13862 fix(helpers): match
Reflect.getbehaviour (@lightmare)
- #13862 fix(helpers): match
babel-plugin-transform-parameters,babel-traverse- #13941 Support transforming params of arrow functions in class fields (@nicolo-ribaudo)
babel-parser- #13928 fix: incorrect await rejection following arrow function in parameters (Closes #13872) (@The-x-Theorist)
- Other
- #13918 Fix
parserOverridesupport in@babel/eslint-parser(@nicolo-ribaudo)
- #13918 Fix
đ Internal
babel-parserbabel-helper-compilation-targets,babel-preset-env- #13914 Update browserslist (@nicolo-ribaudo)
v7.16.2 (2021-11-01)
đ Bug Fix
babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression
đ Internal
babel-parser- #13905 babel-parser: add missing assertions type (@sosukesuzuki)
v7.16.1 (2021-10-30)
đ Bug Fix
babel-plugin-transform-typescript- #13900 Fix binding access for plugin-transform-typescript (@PeachScript)
đ Internal
- #13898 Skip ESLint 8 tests on publish (@nicolo-ribaudo)
v7.16.0 (2021-10-30)
đ Spec Compliance
babel-helpers,babel-plugin-proposal-async-generator-functions,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #13824 Await promises from sync iterators with
for-await(@nicolo-ribaudo)
- #13824 Await promises from sync iterators with
đ New Feature
babel-generator,babel-parser,babel-plugin-transform-typescript,babel-types- #13802 Support TypeScript 4.5 type-only import/export specifiers (@sosukesuzuki)
babel-parserbabel-helper-fixtures,babel-helper-transform-fixture-test-runner,babel-parser,babel-plugin-syntax-typescript,babel-preset-typescript- #13838 Handle
.mtsand.ctsfiles in@babel/preset-typescript(@nicolo-ribaudo)
- #13838 Handle
- Other
- #13782 Add ESLint 8 support to
@babel/eslint-parser(@nicolo-ribaudo)
- #13782 Add ESLint 8 support to
babel-generator,babel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorbabel-compat-data,babel-generator,babel-parser,babel-preset-env,babel-types- #13713 Enable class static blocks by default (@sosukesuzuki)
babel-helper-skip-transparent-expression-wrappers,babel-plugin-proposal-optional-chaining- #13687 add
skipTransparentExprWrapperNodeshelper (@lightmare)
- #13687 add
babel-traverse,babel-types- #13666 Add aliases for Standardized, TypeScript, and Flow (@jridgewell)
đ Bug Fix
babel-parser,babel-plugin-transform-typescript- #13876 [ts] Support private methods overloads (@nicolo-ribaudo)
babel-plugin-transform-typescript- #13865 fix: allow enum member without initializer after non-literal member (@lightmare)
babel-core,babel-helper-create-class-features-plugin,babel-plugin-transform-typescriptbabel-compat-data,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-transform-react-constant-elements,babel-preset-env,babel-traversebabel-plugin-proposal-async-generator-functions,babel-traversebabel-traverse,babel-typesbabel-generator- #13825 Fix missing inner comments in function expressions (@overlookmotel)
đ Internal
- Every package
- #13772 Use
workspace:^to specify@babel/dependencies (@nicolo-ribaudo)
- #13772 Use
- Other
- #13856 Update to Yarn 3.1 (@nicolo-ribaudo)
- #13867 Test on Node.js 17 (@nicolo-ribaudo)
babel-helper-fixtures,babel-plugin-proposal-class-properties,babel-plugin-transform-runtime,babel-preset-react- #13858 Force loading plugins/presets from the monorepo in tests (@nicolo-ribaudo)
babel-types- #13844 [ts] precise return type on
createTypeAnnotationBasedOnTypeof(babel-types) (@lightmare)
- #13844 [ts] precise return type on
babel-helpers- #13841 minor: remove ineffectual helper names filter (@lightmare)
babel-core,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-types
đââī¸ Performance
babel-types- #13843 Simplify (transpiled) babel-types builder wrappers (@lightmare)
v7.15.8 (2021-10-06)
đ Spec Compliance
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umdbabel-parser
đ Bug Fix
babel-generator- #13821 Fix missing inner comments in class expressions (@overlookmotel)
babel-generator,babel-parser,babel-plugin-proposal-pipeline-operator- #13803 Collect comments around parentheses in expressions (@nicolo-ribaudo)
babel-plugin-transform-typescript
đ Polish
babel-corebabel-node
đ Internal
- #13808 Update parser plugins for TypeScript tests (@sosukesuzuki)
- #13795 Fix Gulpfile path separator issue on Windows (@NotWearingPants)
đââī¸ Performance
v7.15.7 (2021-09-17)
đ Bug Fix
babel-parser- #13771 fix(babel-parser): Allow line break before
assertreturn type (@JuniorTour) - #13755 [estree] Fix conversion of
PrivateNameinMemberExpression(@nicolo-ribaudo)
- #13771 fix(babel-parser): Allow line break before
babel-standalone- Other
- #13767 Fix
regexpu-corebundling in@babel/standalone(@nicolo-ribaudo) - #13751 [eslint-parser] Represent
staticusing aKeywordtoken (@nicolo-ribaudo)
- #13767 Fix
babel-helper-validator-identifier
đ Internal
babel-parserbabel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #13739 Throw a better error when transforming imported bindings in types (@nicolo-ribaudo)
- Other
- #13140 Update to Yarn 3 (@nicolo-ribaudo)
- #13744 chore: add constraint for duplicate dependency declarations (@merceyz)
babel-helper-transform-fixture-test-runner- #13741 Replace the deprecated
produceCachedDataoption used invmmodule withscript.createCachedData()(@wafuwafu13)
- #13741 Replace the deprecated
v7.15.6 (2021-09-09)
đ Spec Compliance
babel-parser,babel-plugin-proposal-pipeline-operator- #13668 Fix right precedence of Hack pipes (@nicolo-ribaudo)
đ Bug Fix
babel-parser,babel-plugin-proposal-pipeline-operator- #13668 Fix right precedence of Hack pipes (@nicolo-ribaudo)
babel-plugin-proposal-object-rest-spreadbabel-typesbabel-parser- #13731 fix(babel-parser): Fix end of
rangeofSequenceExpression(@sosukesuzuki)
- #13731 fix(babel-parser): Fix end of
đ Internal
babel-helper-transform-fixture-test-runner- #13738 Use
@types/nodeforvmmodule (@wafuwafu13)
- #13738 Use
babel-preset-env
v7.15.5 (2021-09-04)
đ Spec Compliance
babel-parser- #13727 Disallow
#a in #b in cand similar expressions (@nicolo-ribaudo)
- #13727 Disallow
âŠī¸ Revert
v7.15.4 (2021-09-02)
đ Spec Compliance
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
đ Bug Fix
- #13638 [eslint] Allow
"latest"asecmaVersion(@fisker) babel-traverse,babel-typesbabel-typesbabel-helper-compilation-targetsbabel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-property-in-objectbabel-plugin-transform-typescript- #13664 [ts] Fix transform for nested namespaces shorthand syntax (@nicolo-ribaudo)
babel-parser- #13680 fix(babel-parser): delete
staticproperty from class static block for TS (@sosukesuzuki) - #13695 fix: assure left bracket is not consumed after dot (@JLHwung)
- #13680 fix(babel-parser): delete
babel-core
đ Documentation
đ Internal
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-static-block,babel-plugin-proposal-private-property-in-object,babel-plugin-syntax-class-static-block,babel-plugin-syntax-private-property-in-object,babel-plugin-syntax-top-level-await,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-preset-env,babel-standalone
đââī¸ Performance
babel-core,babel-generator,babel-helper-annotate-as-pure,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-builder-react-jsx,babel-helper-define-map,babel-helper-explode-assignable-expression,babel-helper-function-name,babel-helper-get-function-arity,babel-helper-hoist-variables,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-optimise-call-expression,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-simple-access,babel-helper-skip-transparent-expression-wrappers,babel-helper-split-export-declaration,babel-helper-wrap-function,babel-helpers,babel-preset-env,babel-template,babel-traversebabel-cli,babel-helper-define-map,babel-helpers,babel-node,babel-parser,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-decorators,babel-plugin-transform-classes,babel-plugin-transform-for-of,babel-plugin-transform-modules-systemjs,babel-plugin-transform-parameters,babel-traverse,babel-types
v7.15.3 (2021-08-11)
đ Spec Compliance
babel-helpers,babel-plugin-transform-classes
đ Bug Fix
babel-parser- #13659 Fix parse error when using named import "as" with flow parser (@doing-art)
- #13655 [flow] Fix parsing of arrows in conditional expressions in parentheses (@nicolo-ribaudo)
- #13645 Disallow
<T>(a => b)when parsing Flow (@nicolo-ribaudo) - #13657 fix(parser): add
attachCommenttoParserOptionstype (@sosukesuzuki)
đ Internal
- #13643 Use
@babel/eslint-parser/experimental-workerfor our own repo (@nicolo-ribaudo)
đââī¸ Performance
babel-parser- #13652 perf: minor tokenizer tweaks (@lightmare)
babel-register- #13654 Reduce stat calls in register (@overlookmotel)
v7.15.2 (2021-08-08)
đ Bug Fix
babel-parser- #13653 Add
.errorsto the@babel/parserreturn type definitions (@sosukesuzuki) - #13641 Fix array destructuring elision parsing in TS arrow functions (@nicolo-ribaudo)
- #13653 Add
v7.15.1 (2021-08-05)
âŠī¸ Revert
babel-plugin-transform-react-display-name- #13637 Revert "Add display name after create context (#13501)" (@nicolo-ribaudo)
v7.15.0 (2021-08-04)
đ Spec Compliance
đ New Feature
babel-parserbabel-standalone- #13476 standalone: update
preset-stage-*(@sosukesuzuki) - #13555 feat: support hack pipeline in
@babel/standalone(@JLHwung)
- #13476 standalone: update
babel-parser,babel-preset-env- #13387 Enable top-level
awaitparsing by default (@nicolo-ribaudo)
- #13387 Enable top-level
babel-plugin-transform-typescript,babel-preset-typescript- #13324 Support TypeScript const enums (@nicolo-ribaudo)
babel-plugin-transform-typescriptbabel-core,babel-helper-create-class-features-plugin,babel-helper-module-transforms,babel-plugin-transform-modules-commonjsbabel-plugin-transform-react-display-namebabel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operatorbabel-generator,babel-parser,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-pipeline-operator,babel-traverse,babel-typesbabel-plugin-transform-runtime- #13398 Expose
@babel/eslint-parser/experimental-worker(@nicolo-ribaudo)
- #13398 Expose
babel-compat-data,babel-helper-compilation-targets,babel-preset-envbabel-compat-data,babel-parser,babel-preset-env- #13554 Enable ergonomic brand checks (
#priv in) by default (@nicolo-ribaudo)
- #13554 Enable ergonomic brand checks (
đ Bug Fix
babel-parser,babel-plugin-transform-typescriptbabel-plugin-transform-typescriptbabel-parser- #13536 Fix
%==parsing in hack pipes (@nicolo-ribaudo) - #13426 parser: Fix Hack/smart-pipe error positions (@js-choi)
- #13622 fix(ts): raise error for
export default interface {}(@a-tarasyuk)
- #13536 Fix
đ Documentation
- See CHANGELOG - v7.0.0 to v7.14.9 for v7.0.0 to v7.14.9 changes.
- See CHANGELOG - v7 prereleases for v7.0.0-alpha.1 to v7.0.0-rc.4 changes.
We have to split the v7 changelog in multiple files otherwise it's too big to render on GitHub.