@babel/preset-typescript
8.0.7 · 7 Oct 2026MIT79.9M / weekRepositoryHomepagenpmAtom feed
49 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 8.x · latest line
8.0.7
7 Oct 2026Other
Thanks @brunoborta, @CINC0S, @hoobnn, and @jpradelle for your first PRs!
:bug: Bug Fix
Other
Fix eslint-parser AST definition of AccessorProperty (@jpradelle)
8.0.1
17 Jun 2026- Breaking
babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove
preset-env'suseBuiltIns(@nicolo-ribaudo)
This release includes a breaking change that was in the Babel 8 migration guide's Getting ready section and in the release post, but the actual removal of the feature from the codebase was accidentally not complete.
:boom: Breaking Change
- Breaking
babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove
preset-env'suseBuiltIns(@nicolo-ribaudo)
8.0.0
16 Jun 2026- Breaking
babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register: Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - Breaking
babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for
@babe/runtime-corejs3(@liuxingbaoyu) - Breaking
babel-parser: Remove
locations: "packed"(@liuxingbaoyu)
NOTE: The changelog below is relative to v8.0.0-rc.6. You can find a summary of all the breaking changes shipped in the Babel 8 release line in the migration guide for users and migration guide for plugin developers.
Read the release blog post at babeljs.io/blog/2026/06/16/8.0.0!
:eyeglasses: Spec Compliance
babel-core: perf: Only extract source map comments at the end of the file (@liuxingbaoyu)
:boom: Breaking Change
- Breaking
babel-cli, babel-node, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-modules-commonjs, babel-plugin-transform-object-rest-spread, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-regenerator, babel-preset-env, babel-register: Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - Breaking
babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for
@babe/runtime-corejs3(@liuxingbaoyu) - Breaking
babel-parser: Remove
locations: "packed"(@liuxingbaoyu)
:bug: Bug Fix
babel-generator: fix(generator): improve new callee parens check (@JLHwung)
babel-plugin-transform-modules-systemjs: fix(systemjs): support proto as an export name (@JLHwung)
:memo: Documentation
Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (@nicolo-ribaudo)
:running_woman: Performance
babel-core: perf: Only extract source map comments at the end of the file (@liuxingbaoyu)
- 7.x
7.29.7
25 May 2026Re-release all packages with npm provenance attestations
7.28.5
23 Oct 2025babel-parser: Allow
Runtime Errors for Function Call Assignment Targets(@liuxingbaoyu)babel-helper-validator-identifier: fix: update identifier to unicode 17 (@fisker)
babel-plugin-proposal-destructuring-private: Allow mixing private destructuring and rest (@CO0Ki3)
:eyeglasses: Spec Compliance
babel-parser: Allow
Runtime Errors for Function Call Assignment Targets(@liuxingbaoyu)babel-helper-validator-identifier: fix: update identifier to unicode 17 (@fisker)
:bug: Bug Fix
babel-plugin-proposal-destructuring-private: Allow mixing private destructuring and rest (@CO0Ki3)
babel-parser: Improve
@babel/parsererror typing (@JLHwung)babel-parser: fix: improve ts-only declaration parsing (@JLHwung)
babel-plugin-proposal-discard-binding, babel-plugin-transform-destructuring: fix:
restcorrectly returns plain array (@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-optional-chaining, babel-traverse, babel-types: Fix
JSXIdentifierhandling inisReferencedIdentifier(@JLHwung)babel-traverse: fix: ensure scope.push register in anonymous fn (@JLHwung)
:house: Internal
babel-types: Type checking babel-types scripts (@JLHwung)
:running_woman: Performance
babel-core: Faster finding of locations in
buildCodeFrameError(@liuxingbaoyu)
7.27.1
30 Apr 2025babel-parser: Allow
using ofas lexical declaration within for (@JLHwung)babel-parser: Disallow get/set in TSPropertySignature (@JLHwung)
babel-parser, babel-types: Stricter TSImportType options parsing (@JLHwung)
Thanks @kermanx and @woaitsAryan for your first PRs!
:eyeglasses: Spec Compliance
babel-parser: Allow
using ofas lexical declaration within for (@JLHwung)babel-parser: Disallow get/set in TSPropertySignature (@JLHwung)
babel-parser, babel-types: Stricter TSImportType options parsing (@JLHwung)
:bug: Bug Fix
babel-plugin-proposal-destructuring-private, babel-plugin-proposal-do-expressions, babel-traverse: fix: do expressions should allow early exit (@kermanx)
babel-helper-wrap-function, babel-plugin-transform-async-to-generator: Fix: propagate argument evaluation errors through async promise chain (@magic-akari)
babel-helper-remap-async-to-generator, babel-plugin-transform-async-to-generator: fix apply()/call() annotated as pure (@Lacsw)
babel-helper-fixtures, babel-parser: Create ChainExpression within TSInstantiationExpression (@JLHwung)
babel-generator, babel-parser: Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 2) (@JLHwung)
babel-parser: Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 1) (@JLHwung)
babel-parser: Fix start of TSParameterProperty (@JLHwung)
babel-compat-data, babel-preset-env: Update firefox bugfix compat data (@JLHwung)
babel-traverse: fix: Objects and arrays with multiple references should not be evaluated (@liuxingbaoyu)
babel-generator: Fix: support const type parameter in generator (@JLHwung)
:nail_care: Polish
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-transform-arrow-functions, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-traverse: Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
:house: Internal
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused
regenerator-runtimedep in@babel/runtime(@nicolo-ribaudo)babel-compat-data, babel-preset-env: Tune plugin compat data (@JLHwung)
babel-compat-data, babel-standalone: migrate babel-compat-data build script to mjs (@JLHwung)
babel-register: Migrate
@babel/registerto cts (@liuxingbaoyu)babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Inline regenerator in the relevant packages (@nicolo-ribaudo)
All packages
Enforce node protocol import (@JLHwung)
:microscope: Output optimization
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs3: Reduce
interopRequireWildcardsize (@liuxingbaoyu)babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs3: Reduce
regeneratorRuntimesize (@liuxingbaoyu)
7.27.0
24 Mar 2025babel-generator, babel-parser: Default
importAttributesKeywordtowith(@JLHwung)babel-helper-create-class-features-plugin, babel-traverse, babel-types: Allow
traverseFastto exit early (@liuxingbaoyu)babel-generator: fix(babel-generator): add named export of generate function (@vovkasm)
Thanks @ishchhabra and @vovkasm for your first PRs!
:eyeglasses: Spec Compliance
babel-generator, babel-parser: Default
importAttributesKeywordtowith(@JLHwung)
:rocket: New Feature
babel-helper-create-class-features-plugin, babel-traverse, babel-types: Allow
traverseFastto exit early (@liuxingbaoyu)babel-generator: fix(babel-generator): add named export of generate function (@vovkasm)
babel-parser, babel-template: Add
allowYieldOutsideFunctionto parser (@liuxingbaoyu)babel-plugin-transform-typescript, babel-traverse: feat: Add
upToScopeparameter tohasBinding(@liuxingbaoyu)babel-parser: Support ESTree AccessorProperty (@JLHwung)
babel-types: feat(babel-types): Add support for BigInt literal conversion in valueToNode (@ishchhabra)
:bug: Bug Fix
babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: fix: Class reference in type throws error (@liuxingbaoyu)
babel-traverse: fix: Reset child scopes when
scope.crawl()(@liuxingbaoyu)babel-helpers, babel-preset-typescript, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Fix: align behaviour to tsc
rewriteRelativeImportExtensions(@JLHwung)babel-cli: fix:
@babel/cligenerates duplicate inline source maps (@liuxingbaoyu)babel-plugin-transform-named-capturing-groups-regex, babel-types: Generate computed proto key (@JLHwung)
:running_woman: Performance
babel-types: perf: Improve builders of
@babel/types(@liuxingbaoyu)babel-helper-create-regexp-features-plugin: fix: improve duplicate named groups check (@JLHwung)
7.26.0
25 Oct 2024babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types: Enable import attributes parsing by default (@nicolo-ribaudo)
babel-core: 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: Add
transform-regexp-modifierstopreset-env(@JLHwung)
Thanks @timofei-iatsenko for your first PR!
You can find the release blog post with some highlights at babeljs.io/blog/2024/10/25/7.26.0.
:rocket: 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: Enable import attributes parsing by default (@nicolo-ribaudo)
babel-core: 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: Add
transform-regexp-modifierstopreset-env(@JLHwung)babel-parser: feat: add
startIndexparser option (@DylanPiercey)babel-generator, babel-parser, babel-plugin-syntax-flow: Always enable parsing of Flow enums (@nicolo-ribaudo)
babel-helpers, babel-preset-typescript, babel-runtime-corejs3: Support
import()inrewriteImportExtensions(@liuxingbaoyu)babel-generator, babel-parser: Add experimental format-preserving mode to
@babel/generator(@nicolo-ribaudo)
:bug: Bug Fix
babel-core: Workaround Node.js bug for parallel loading of TLA modules (@nicolo-ribaudo)
babel-core: Fix loading of modules with TLA in Node.js 23 (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-proposal-json-modules, babel-plugin-transform-json-modules, babel-standalone: Rename
proposal-json-modulestotransform-json-modules(@nicolo-ribaudo)
:house: Internal
babel-code-frame, babel-highlight: Inline
@babel/highlightin@babel/code-frame(@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Add
kindtoTSModuleDeclaration(@liuxingbaoyu)
:running_woman: Performance
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: perf: Improve module transforms (@liuxingbaoyu)
7.25.9
22 Oct 2024babel-parser, babel-template, babel-types: fix: Keep type annotations in
syntacticPlaceholdersmode (@liuxingbaoyu)babel-helper-compilation-targets, babel-preset-env: fix: support BROWSERSLIST{,_CONFIG} env (@JLHwung)
Other
Thanks @victorenator for your first PR!
:bug: Bug Fix
babel-parser, babel-template, babel-types: fix: Keep type annotations in
syntacticPlaceholdersmode (@liuxingbaoyu)babel-helper-compilation-targets, babel-preset-env: fix: support BROWSERSLIST{,_CONFIG} env (@JLHwung)
Other
Analyze
ClassAccessorPropertyto prevent theno-undefrule (@victorenator)
:house: Internal
babel-helper-transform-fixture-test-runner: remove test options flaky (@JLHwung)
Every package
fix: Accidentally published
tsconfigfiles (@liuxingbaoyu)
:running_woman: Performance
babel-parser, babel-types: perf: Make
VISITOR_KEYSetc. faster to access (@liuxingbaoyu)
7.25.7
2 Oct 2024babel-helper-validator-identifier: fix: update identifier to unicode 16 (@JLHwung)
babel-traverse: fix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classes: Use an inclusion rather than exclusion list for
super()check (@nicolo-ribaudo)
Thanks @DylanPiercey and @YuHyeonWook for your first PRs!
:bug: Bug Fix
babel-helper-validator-identifier: fix: update identifier to unicode 16 (@JLHwung)
babel-traverse: fix: issue with node path keys updated on unrelated paths (@DylanPiercey)
babel-plugin-transform-classes: Use an inclusion rather than exclusion list for
super()check (@nicolo-ribaudo)babel-generator: Fix printing of TS
inferin compact mode (@nicolo-ribaudo)babel-generator: Print TS type annotations for destructuring in assignment pattern (@nicolo-ribaudo)
babel-generator: Respect
[no LineTerminator here]after nodes (@nicolo-ribaudo)
:nail_care: Polish
babel-types: Add deprecated JSDOC for fields (@liuxingbaoyu)
:house: Internal
babel-core: Allow sync loading of ESM when
--experimental-require-module(@nicolo-ribaudo)babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add browserslist config to external dependency (@JLHwung)
babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decimal, babel-plugin-syntax-import-reflection, babel-standalone: Archive syntax-import-reflection and syntax-decimal (@nicolo-ribaudo)
babel-generator: Simplify logic for
[no LineTerminator here]before nodes (@nicolo-ribaudo)
:running_woman: Performance
babel-plugin-transform-typescript: perf: Avoid extra cloning of namespaces (@liuxingbaoyu)
babel-types: perf: Improve @babel/types builders (@liuxingbaoyu)
babel-types: Only access
BABEL_TYPES_8_BREAKINGat startup (@nicolo-ribaudo)
7.24.7
5 Jun 2024babel-node: Allow extra flags in babel-node (@nicolo-ribaudo)
babel-traverse: fix: incorrect
constantViolationswith destructuring (@liuxingbaoyu)babel-helper-transform-fixture-test-runner, babel-plugin-proposal-explicit-resource-management: fix: Transform
usinginswitchcorrectly (@liuxingbaoyu)
:bug: Bug Fix
babel-node: Allow extra flags in babel-node (@nicolo-ribaudo)
babel-traverse: fix: incorrect
constantViolationswith destructuring (@liuxingbaoyu)babel-helper-transform-fixture-test-runner, babel-plugin-proposal-explicit-resource-management: fix: Transform
usinginswitchcorrectly (@liuxingbaoyu)
:house: Internal
babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Delete unused array helpers (@blakewilson)
7.24.6
24 May 2024babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: Fix source maps for private member expressions (@nicolo-ribaudo)
babel-core, babel-generator, babel-plugin-transform-modules-commonjs: Fix source maps for template literals (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Support undecorated static accessor in anonymous classes (@JLHwung)
Thanks @amjed-98, @blakewilson, @coelhucas, and @SukkaW for your first PRs!
:bug: Bug Fix
babel-helper-create-class-features-plugin, babel-plugin-transform-class-properties: Fix source maps for private member expressions (@nicolo-ribaudo)
babel-core, babel-generator, babel-plugin-transform-modules-commonjs: Fix source maps for template literals (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Support undecorated static accessor in anonymous classes (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorator bare yield await (@JLHwung)
babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3: Fix: throw TypeError if addInitializer is called after finished (@JLHwung)
babel-parser, babel-plugin-transform-typescript: fix: Correctly parse
cls.fn<C> = x(@liuxingbaoyu)
:house: Internal
babel-core, babel-helpers, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Generate helper metadata at build time (@nicolo-ribaudo)
babel-helpers: Add
tsconfig.jsonfor@babel/helpers/src/helpers(@nicolo-ribaudo)babel-cli, babel-helpers, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Move all runtime helpers to individual files (@nicolo-ribaudo)
babel-parser, babel-traverse: Statically generate boilerplate for bitfield accessors (@nicolo-ribaudo)
Other
Migrate import assertions syntax (@JLHwung)
7.24.1
19 Mar 2024babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorated class computed keys ordering (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorated class static field private access (@JLHwung)
babel-plugin-proposal-decorators, babel-plugin-proposal-json-modules, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env: Respect
moduleNamefor@babel/runtime/regeneratorimports (@nicolo-ribaudo)
:bug: Bug Fix
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorated class computed keys ordering (@JLHwung)
babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: Fix decorated class static field private access (@JLHwung)
babel-plugin-proposal-decorators, babel-plugin-proposal-json-modules, babel-plugin-transform-async-generator-functions, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env: Respect
moduleNamefor@babel/runtime/regeneratorimports (@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties: Fix decorator memoiser binding kind (@JLHwung)
babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties: Fix decorator evaluation private environment (@JLHwung)
:house: Internal
babel-code-frame, babel-highlight: Replace
chalkwithpicocolors(@nicolo-ribaudo)babel-helper-fixtures, babel-helpers, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-unicode-sets-regex, babel-preset-env, babel-preset-flow: Run Babel transform tests on old node if possible (@JLHwung)
babel-helper-module-imports, babel-plugin-proposal-import-wasm-source, babel-plugin-proposal-json-modules, babel-plugin-proposal-record-and-tuple, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx: Support merging imports in import injector (@nicolo-ribaudo)
Other
Test Babel 7 plugins compatibility with Babel 8 core (@nicolo-ribaudo)
:microscope: Output optimization
babel-helper-replace-supers, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-parameters, babel-plugin-transform-runtime: Optimize the use of
assertThisInitializedaftersuper()(@liuxingbaoyu)babel-plugin-transform-class-properties, babel-plugin-transform-classes: Use simpler
assertThisInitializedmore often (@liuxingbaoyu)babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-object-rest-spread, babel-traverse: Consider well-known and registered symbols as literals (@nicolo-ribaudo)
babel-core, babel-plugin-external-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-function-bind, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-function-name, babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-plugin-transform-private-property-in-object, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-spread, babel-plugin-transform-typescript, babel-preset-env: Reduce the use of class names (@liuxingbaoyu)
7.23.3
9 Nov 2023babel-plugin-transform-typescript: Strip type-only TS namespaces (@colinaaa)
babel-generator: Fix indentation when generating comments with
concise: true(@liuxingbaoyu)babel-compat-data, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-preset-env: Add a bugfix plugin for crbug.com/v8/12421 (@nicolo-ribaudo)
:bug: Bug Fix
babel-plugin-transform-typescript: Strip type-only TS namespaces (@colinaaa)
babel-generator: Fix indentation when generating comments with
concise: true(@liuxingbaoyu)babel-compat-data, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-preset-env: Add a bugfix plugin for crbug.com/v8/12421 (@nicolo-ribaudo)
babel-plugin-transform-object-super: fix:
super.xin a loop (@liuxingbaoyu)babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd: fix: handle
__proto__exports name in CJS/AMD/UMD (@magic-akari)
:house: Internal
babel-core, babel-preset-env: Refactor handling of modules plugins in
preset-env(@nicolo-ribaudo)
:running_woman: Performance
babel-generator: perf: Improve
@babel/generatorperformance (@liuxingbaoyu)babel-traverse: Avoid dynamic dispatch when calling wrapCheck (@yepitschunked)
:microscope: Output optimization
babel-plugin-transform-computed-properties: Optimize computed properties output (byte-wise) (@Andarist)
7.23.2
11 Oct 2023babel-traverse: Only evaluate own String/Number/Math methods (@nicolo-ribaudo)
babel-preset-typescript: Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief)babel-helpers: Fix: fallback to typeof when toString is applied to incompatible object (@JLHwung)
NOTE: This release also re-publishes
@babel/core, even if it does not appear in the linked release commit.Thanks @jimmydief for your first PR!
:bug: Bug Fix
babel-traverse: Only evaluate own String/Number/Math methods (@nicolo-ribaudo)
babel-preset-typescript: Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief)babel-helpers: Fix: fallback to typeof when toString is applied to incompatible object (@JLHwung)
babel-helpers, babel-plugin-transform-modules-commonjs, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Avoid override mistake in namespace imports (@nicolo-ribaudo)
7.23.0
25 Sep 2023babel-plugin-proposal-import-wasm-source, babel-plugin-syntax-import-source, babel-plugin-transform-dynamic-import: Support transforming
import sourcefor wasm (@nicolo-ribaudo)babel-helper-module-transforms, babel-helpers, babel-plugin-proposal-import-defer, babel-plugin-syntax-import-defer, babel-plugin-transform-modules-commonjs, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone: Implement
import deferproposal transform support (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Implement
import deferparsing support (@nicolo-ribaudo)
Thanks @lorenzoferre and @RajShukla1 for your first PRs!
:rocket: New Feature
babel-plugin-proposal-import-wasm-source, babel-plugin-syntax-import-source, babel-plugin-transform-dynamic-import: Support transforming
import sourcefor wasm (@nicolo-ribaudo)babel-helper-module-transforms, babel-helpers, babel-plugin-proposal-import-defer, babel-plugin-syntax-import-defer, babel-plugin-transform-modules-commonjs, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone: Implement
import deferproposal transform support (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Implement
import deferparsing support (@nicolo-ribaudo)babel-generator, babel-parser, babel-types: Add parsing support for the "source phase imports" proposal (@nicolo-ribaudo)
babel-generator, babel-helper-module-transforms, babel-parser, babel-plugin-transform-dynamic-import, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-traverse, babel-types: Add
createImportExpressionsparser option (@JLHwung)babel-standalone: Pass through nonce to the transformed script element (@JLHwung)
babel-helper-function-name, babel-helper-member-expression-to-functions, babel-helpers, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-optional-chaining-assign, babel-plugin-syntax-optional-chaining-assign, babel-plugin-transform-destructuring, babel-plugin-transform-optional-chaining, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone, babel-types: Add support for optional chain in assignments (@nicolo-ribaudo)
babel-helpers, babel-plugin-proposal-decorators: Implement the "decorator metadata" proposal (@nicolo-ribaudo)
babel-traverse, babel-types: Add
t.buildUndefinedNode(@liuxingbaoyu)babel-preset-typescript: Add
rewriteImportExtensionsoption to TS preset (@nicolo-ribaudo)babel-parser: Allow TS tuples to have both labeled and unlabeled elements (@yukukotani)
:bug: Bug Fix
babel-plugin-transform-block-scoping: fix:
transform-block-scopingcaptures the variables of the method in the loop (@liuxingbaoyu)
:nail_care: Polish
babel-traverse: Expand evaluation of global built-ins in
@babel/traverse(@lorenzoferre)babel-plugin-proposal-explicit-resource-management: Improve source maps for blocks with
usingdeclarations (@nicolo-ribaudo)
:microscope: Output optimization
babel-core, babel-helper-module-transforms, babel-plugin-transform-async-to-generator, babel-plugin-transform-classes, babel-plugin-transform-dynamic-import, babel-plugin-transform-function-name, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-inline-elements, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Inline
exports.XXX =update in simple variable declarations (@nicolo-ribaudo)
7.22.15
4 Sep 2023babel-core: Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)
Every package
7.22.11
24 Aug 2023babel-plugin-transform-typescript: Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
babel-types: fix: definition of TS function type params (@danez)
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: fix(standalone): strip archived syntax plugins (@JLHwung)
Thanks @0o001 and @yangguansen for your first PRs!
:bug: Bug Fix
babel-plugin-transform-typescript: Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
babel-types: fix: definition of TS function type params (@danez)
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: fix(standalone): strip archived syntax plugins (@JLHwung)
babel-core: Support configuring cache in ESM configs (@nicolo-ribaudo)
:house: Internal
babel-parser: Do not record trailing comma pos when
maybeAsyncArrow: false(@JLHwung)babel-core, babel-helper-compilation-targets, babel-parser, babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decorators, babel-preset-env, babel-preset-react, babel-register, babel-traverse, babel-types: enable jest/no-standalone-expect (@JLHwung)
babel-core, babel-helpers, babel-plugin-transform-async-generator-functions, babel-plugin-transform-modules-commonjs, babel-plugin-transform-regenerator, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: bump json5, terser and webpack, further minimize babel helpers (@JLHwung)
Other
:microscope: Output optimization
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-optional-chaining, babel-preset-env: Simplify
?.output when chain result is ignored (@nicolo-ribaudo)
7.22.5
8 Jun 2023babel-preset-env, babel-standalone: Fix using
syntax-unicode-sets-regexin standalone (@nicolo-ribaudo)babel-core: Suggest
-transform-when resolving missing plugins (@nicolo-ribaudo)
7.21.5
28 Apr 2023babel-generator, babel-parser, babel-types: fix: Remove
mixinsandimplementsforDeclareInterfaceandInterfaceDeclaration(@liuxingbaoyu)babel-core, babel-generator, babel-plugin-transform-modules-commonjs, babel-plugin-transform-react-jsx: fix:
)position withcreateParenthesizedExpressions(@liuxingbaoyu)babel-preset-env: Add syntax import meta to preset env (@JLHwung)
:eyeglasses: Spec Compliance
babel-generator, babel-parser, babel-types: fix: Remove
mixinsandimplementsforDeclareInterfaceandInterfaceDeclaration(@liuxingbaoyu)
:bug: Bug Fix
babel-core, babel-generator, babel-plugin-transform-modules-commonjs, babel-plugin-transform-react-jsx: fix:
)position withcreateParenthesizedExpressions(@liuxingbaoyu)babel-preset-env: Add syntax import meta to preset env (@JLHwung)
:nail_care: Polish
babel-types: Improve the layout of generated validators (@liuxingbaoyu)
babel-core: Use
ltinstead oflteto check TS version for .cts config (@nicolo-ribaudo)
:house: Internal
babel-core: Use synchronous
import.meta.resolve(@nicolo-ribaudo)babel-helper-fixtures, babel-preset-typescript: Handle
.overridesand.envwhen resolving plugins/presets from fixture options (@JLHwung)babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin: Use
semverpackage to compare versions (@nicolo-ribaudo)
7.21.4
31 Mar 2023babel-core, babel-helper-module-imports, babel-preset-typescript: Fix support for
import/exportin.ctsfiles (@liuxingbaoyu)babel-generator: Fix compact printing of non-null assertion operators (@rtsao)
babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-transform-typescript, babel-traverse: Fix moving comments of removed nodes (@nicolo-ribaudo)
:bug: Bug Fix
babel-core, babel-helper-module-imports, babel-preset-typescript: Fix support for
import/exportin.ctsfiles (@liuxingbaoyu)babel-generator: Fix compact printing of non-null assertion operators (@rtsao)
:nail_care: Polish
babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-transform-typescript, babel-traverse: Fix moving comments of removed nodes (@nicolo-ribaudo)
:house: Internal
7.21.0
20 Feb 2023babel-core, babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object: feat: Implement
privateFieldsAsSymbolsassumption for classes (@fwienber)babel-helper-create-regexp-features-plugin, babel-plugin-proposal-regexp-modifiers, babel-standalone: 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: feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
Thanks @azizghuloum, @ehoogeveen-medweb, @fwienber, and @Lioness100 for your first PRs!
:rocket: 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-object: feat: Implement
privateFieldsAsSymbolsassumption for classes (@fwienber)babel-helper-create-regexp-features-plugin, babel-plugin-proposal-regexp-modifiers, babel-standalone: 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: feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
babel-parser, babel-types: [ts] Support
constmodifier in type parameters (@nicolo-ribaudo)babel-generator, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Implement decorators as presented at
2023-01TC39 meeting (@nicolo-ribaudo)babel-parser: Parser option to allow
new.targetoutside functions (@overlookmotel)babel-parser: Add
annexb: falseparser option to disable Annex B (@nicolo-ribaudo)babel-core: feat: Support
.ctsas configuration file (@liuxingbaoyu)babel-generator, babel-parser, babel-plugin-transform-typescript: [ts] Support
export type * from(@nicolo-ribaudo)
:bug: Bug Fix
babel-plugin-transform-typescript: [ts5.0] Better inlining of constants in enums (@liuxingbaoyu)
babel-core: 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-target: Preserve class elements comments in class transform (@JLHwung)
babel-parser, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-types: [ts] Fix restrictions for optional parameters (@nicolo-ribaudo)
:nail_care: Polish
babel-parser: polish: improve "
awaitas identifier" error in modules (@JLHwung)
:house: Internal
babel-core: Improve CJS compat with ESM-based
@babel/core(@nicolo-ribaudo)
:microscope: Output optimization
babel-plugin-transform-typescript: [ts] Handle exponentiation operator in constant folding (@ehoogeveen-medweb)
7.18.6
27 Jun 2022babel-parser: [ts] Disallow property access after instantiation expression (@nicolo-ribaudo)
babel-parser: [ts] Allow
...<...>followed by newline or binary operator (@nicolo-ribaudo)babel-generator, babel-parser, babel-preset-env, babel-template: JSON modules should be imported with default (@JLHwung)
:eyeglasses: Spec Compliance
babel-parser: [ts] Disallow property access after instantiation expression (@nicolo-ribaudo)
babel-parser: [ts] Allow
...<...>followed by newline or binary operator (@nicolo-ribaudo)babel-generator, babel-parser, babel-preset-env, babel-template: JSON modules should be imported with default (@JLHwung)
:bug: Bug Fix
babel-helper-remap-async-to-generator, babel-plugin-proposal-async-generator-functions: Transform
awaitin computed class keys (@Yokubjon-J)babel-plugin-transform-parameters: fix: preserve function params type if possible (@magic-akari)
babel-core: fix: Memory leak when deep cloning in
babel-core(@liuxingbaoyu)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: Fix
import { types } from "@babel/core"with native ESM (@nicolo-ribaudo)
:house: Internal
babel-standalone: Add
proposal-unicode-sets-regexto@babel/standalone(@nicolo-ribaudo)Other
chore: Update bench baselines (@liuxingbaoyu)
babel-generator, babel-types: enable TS compiler option: strictBindCallApply (@JLHwung)
babel-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-types: enable noImplicitAny (@JLHwung)
babel-core, babel-helper-transform-fixture-test-runner, babel-plugin-transform-destructuring: Run Babel asynchronously in fixtures (@nicolo-ribaudo)
7.17.12
16 May 2022babel-plugin-transform-react-constant-elements: Never hoist JSX elts referencing vars from the current scope (@nicolo-ribaudo)
babel-generator: fix: perserve parentheses of lhs id with rhs unamed fn (@JLHwung)
babel-generator: Print necessary parentheses for functions in postfix expressions (@xiawenqi)
Thanks @varunsh-coder and @xiawenqi for your first pull requests!
:bug: Bug Fix
babel-plugin-transform-react-constant-elements: Never hoist JSX elts referencing vars from the current scope (@nicolo-ribaudo)
babel-generator: fix: perserve parentheses of lhs id with rhs unamed fn (@JLHwung)
babel-generator: Print necessary parentheses for functions in postfix expressions (@xiawenqi)
babel-plugin-transform-destructuring: Update scope info after destructuring transform (@peey)
babel-parser: fix: allow liberal named type-as imports (@JLHwung)
babel-parser, babel-plugin-transform-destructuring, babel-types: Fix parsing ts type casts and nested patterns in destructuring (@nicolo-ribaudo)
:house: Internal
babel-plugin-proposal-decorators, babel-types: @babel/types builder improvements (@JLHwung)
babel-core: Update to Jest 28 (@JLHwung)
babel-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: Provide plugin/preset typings from plugin-utils (@JLHwung)
7.16.7
31 Dec 2021babel-parser: fix: check preceding line break before exclamation (@JLHwung)
babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Import the correct
./typeof.jshelper in@babel/runtime(@exb)babel-helpers: Fix derived classes in Chrome <= 36 (@nicolo-ribaudo)
Thanks @exb for your first PR!
:eyeglasses: Spec Compliance
babel-parser: fix: check preceding line break before exclamation (@JLHwung)
:bug: Bug Fix
babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Import the correct
./typeof.jshelper in@babel/runtime(@exb)babel-helpers: Fix derived classes in Chrome <= 36 (@nicolo-ribaudo)
babel-helper-function-name, babel-plugin-transform-function-name: Fix unicode handling in generated function names (@The-x-Theorist)
:nail_care: Polish
babel-core: Allow
$schemaproperty in json config files (@The-x-Theorist)
7.16.5
13 Dec 2021babel-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: Mark class prototype as read-only (@wentout)
babel-plugin-transform-parameters: Fix: default rest argument array elements as undefined (@The-x-Theorist)
babel-plugin-transform-arrow-functions, babel-traverse: Don't resolve shadowed
argumentsvariables from functions (@The-x-Theorist)
Thanks @chimurai and @krosenberg for your first PRs!
:eyeglasses: 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: Mark class prototype as read-only (@wentout)
:bug: Bug Fix
babel-plugin-transform-parameters: Fix: default rest argument array elements as undefined (@The-x-Theorist)
babel-plugin-transform-arrow-functions, babel-traverse: Don't resolve shadowed
argumentsvariables from functions (@The-x-Theorist)babel-parser: maintain estree string literal shape when cloned (@JLHwung)
babel-traverse: Fix duplicate declaration error on ambient class declarations (@The-x-Theorist)
babel-generator: Support flow function type annotation with no parent (@krosenberg)
babel-plugin-transform-react-jsx: 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: Fix handling of
this&co in computed keys in arrows transform (@nicolo-ribaudo)
:nail_care: Polish
babel-parser: Recover from shorthand assign exprs (@JLHwung)
babel-parser: fix: update UnexpectedPrivateField error message (@JLHwung)
:memo: Documentation
Many packages
Regenerate monorepo READMEs (@nicolo-ribaudo)
:house: Internal
Every package
Run tests in a native Node.js ESM environment (@nicolo-ribaudo)
babel-parser: Extend
hasPluginto accept plugin-configuration array pairs (@js-choi)babel-helpers: Don't use ESM for
required files in@babel/helperstests (@nicolo-ribaudo)babel-plugin-proposal-object-rest-spread, babel-traverse: Convert proposal-object-rest-spread to TS (@JLHwung)
babel-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: Only bundle the release build, and don't import
srcin tests (@nicolo-ribaudo)Other
Fail CI when
@babel/runtimeESM tests fail (@nicolo-ribaudo)
:running_woman: Performance
babel-parser: Improve template tokenizing (@JLHwung)
:microscope: Output optimization
babel-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2, babel-runtime: minify
helpers-generated.ts(@lightmare)
7.16.0
29 Oct 2021babel-helpers, babel-plugin-proposal-async-generator-functions, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Await promises from sync iterators with
for-await(@nicolo-ribaudo)babel-generator, babel-parser, babel-plugin-transform-typescript, babel-types: Support TypeScript 4.5 type-only import/export specifiers (@sosukesuzuki)
babel-parser: feat: support
startColumnoption (@JLHwung)
:eyeglasses: Spec Compliance
babel-helpers, babel-plugin-proposal-async-generator-functions, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Await promises from sync iterators with
for-await(@nicolo-ribaudo)
:rocket: New Feature
babel-generator, babel-parser, babel-plugin-transform-typescript, babel-types: Support TypeScript 4.5 type-only import/export specifiers (@sosukesuzuki)
babel-parser: feat: support
startColumnoption (@JLHwung)babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-parser, babel-plugin-syntax-typescript, babel-preset-typescript: Handle
.mtsand.ctsfiles in@babel/preset-typescript(@nicolo-ribaudo)Other
Add ESLint 8 support to
@babel/eslint-parser(@nicolo-ribaudo)
babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator: Caret topic (pipe operator) (@js-choi)
babel-compat-data, babel-generator, babel-parser, babel-preset-env, babel-types: Enable class static blocks by default (@sosukesuzuki)
babel-helper-skip-transparent-expression-wrappers, babel-plugin-proposal-optional-chaining: add
skipTransparentExprWrapperNodeshelper (@lightmare)babel-traverse, babel-types: Add aliases for Standardized, TypeScript, and Flow (@jridgewell)
:bug: Bug Fix
babel-parser, babel-plugin-transform-typescript: [ts] Support private methods overloads (@nicolo-ribaudo)
babel-plugin-transform-typescript: fix: allow enum member without initializer after non-literal member (@lightmare)
babel-core, babel-helper-create-class-features-plugin, babel-plugin-transform-typescript: Don't transform
declare classin plugin-proposal-class-properties (@forivall)babel-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-traverse: Implement @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression (@JLHwung)
babel-plugin-proposal-async-generator-functions, babel-traverse: Restore traversal context after enter / traverse (@JLHwung)
babel-traverse, babel-types: Mark static block as FunctionParent (@JLHwung)
babel-generator: Fix missing inner comments in function expressions (@overlookmotel)
:house: Internal
Every package
Use
workspace:^to specify@babel/dependencies (@nicolo-ribaudo)
Other
Update to Yarn 3.1 (@nicolo-ribaudo)
Test on Node.js 17 (@nicolo-ribaudo)
babel-helper-fixtures, babel-plugin-proposal-class-properties, babel-plugin-transform-runtime, babel-preset-react: Force loading plugins/presets from the monorepo in tests (@nicolo-ribaudo)
babel-types: [ts] precise return type on
createTypeAnnotationBasedOnTypeof(babel-types) (@lightmare)babel-helpers: minor: remove ineffectual helper names filter (@lightmare)
babel-core, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-types: Improve transform-react-jsx typings (@JLHwung)
:running_woman: Performance
babel-types: Simplify (transpiled) babel-types builder wrappers (@lightmare)
7.15.0
4 Aug 2021babel-parser: feat(ts): raise error for abstract property with initializer (@fedeci)
babel-parser: Add
attachCommentparser option to disable comment attachment (@JLHwung)babel-standalone: standalone: update
preset-stage-*(@sosukesuzuki)
Thanks @a-tarasyuk and @gausie for your first PRs!
:eyeglasses: Spec Compliance
babel-parser: feat(ts): raise error for abstract property with initializer (@fedeci)
:rocket: New Feature
babel-parser: Add
attachCommentparser option to disable comment attachment (@JLHwung)babel-standalone: standalone: update
preset-stage-*(@sosukesuzuki)babel-standalone: feat: support hack pipeline in
@babel/standalone(@JLHwung)babel-parser, babel-preset-env: Enable top-level
awaitparsing by default (@nicolo-ribaudo)babel-plugin-transform-typescript, babel-preset-typescript: Support TypeScript const enums (@nicolo-ribaudo)
babel-plugin-transform-typescript: feat(typescript): implement namespace alias (@colinaaa)
babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: feat: add
noIncompleteNsImportDetectionassumption toplugin-transform-modules-commonjs(@fedeci)babel-plugin-transform-react-display-name: Add display name after create context (@JLHwung)
babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator: Hack-pipe proposal with
%topic token (@js-choi)babel-generator, babel-parser, babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator, babel-traverse, babel-types: Add support for the "Hack" pipeline proposal (@js-choi)
babel-plugin-transform-runtime: Expose
@babel/eslint-parser/experimental-worker(@nicolo-ribaudo)babel-compat-data, babel-helper-compilation-targets, babel-preset-env: Add support for rhino as a compilation target (@gausie)
babel-compat-data, babel-parser, babel-preset-env: Enable ergonomic brand checks (
#priv in) by default (@nicolo-ribaudo)
:bug: Bug Fix
babel-parser, babel-plugin-transform-typescript: [ts] support optional chain call with generic (@lala7573)
babel-plugin-transform-typescript: Handle typescript function overloading in a default export (@tony-go)
babel-parser: Fix
%==parsing in hack pipes (@nicolo-ribaudo)babel-parser: parser: Fix Hack/smart-pipe error positions (@js-choi)
babel-parser: fix(ts): raise error for
export default interface {}(@a-tarasyuk)
7.14.5
9 Jun 2021babel-plugin-proposal-do-expressions, babel-traverse: fix: hoist variable declaration within do block (@JLHwung)
babel-parser: Relax import assertion key-is-type constraint (@JLHwung)
babel-parser: fix(parser): correctly parse record and tuple tokens (@fedeci)
Thanks @Eyoatam, @lightmare, @ota-meshi, and @tony-go for your first PRs!
:eyeglasses: Spec Compliance
babel-plugin-proposal-do-expressions, babel-traverse: fix: hoist variable declaration within do block (@JLHwung)
babel-parser: Relax import assertion key-is-type constraint (@JLHwung)
:bug: Bug Fix
babel-parser: fix(parser): correctly parse record and tuple tokens (@fedeci)
babel-parser: fix: throw when
async()call param is object with assignement (@tony-go)babel-parser: Add support for d flag of regex literals in parser (@ota-meshi)
babel-helpers: fix generate-helpers failing in URL-encoded path (@lightmare)
:house: Internal
babel-helper-hoist-variables: Disallow dependency cycles (@nicolo-ribaudo)
babel-parser: Reduce
exprAllowedusage (@JLHwung)babel-parser: fix(
@babel/parser): fix tokenizer context update code (@Eyoatam)Other
chore: specify @babel/eslint-parser deps (@JLHwung)
Every package
chore: setup Yarn constraints (@merceyz)
:running_woman: Performance
7.13.0
22 Feb 2021babel-parser: Implement class features in estree (@JLHwung)
babel-generator, babel-parser, babel-plugin-syntax-module-blocks, babel-standalone, babel-traverse, babel-types: Parse JS Module Blocks proposal (@sosukesuzuki)
babel-generator, babel-parser, babel-types: Support TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)
You can read the release post at babeljs.io/blog/2021/02/22/7.13.0!
Thanks @dsainati1, @immitsu, and @perrin4869 for your first PRs!
:rocket: New Feature
babel-parser: Implement class features in estree (@JLHwung)
babel-generator, babel-parser, babel-plugin-syntax-module-blocks, babel-standalone, babel-traverse, babel-types: Parse JS Module Blocks proposal (@sosukesuzuki)
babel-generator, babel-parser, babel-types: Support TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)
babel-generator, babel-parser, babel-types: Flow Enums with unknown members support (@gkz)
babel-core, babel-register: Add cjs as a default extension (@perrin4869)
babel-traverse: feat(referencesImport): support named exports accessed via namespace imports (@jeysal)
babel-plugin-transform-typescript, babel-preset-typescript: Enable allowNamespaces in
transform-typescriptby default (@JLHwung)babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-plugin-transform-parameters, babel-types: Support Flow
thisparameter annotations (@dsainati1)babel-plugin-proposal-record-and-tuple: Implement "Records and Tuples" transform (@rickbutton)
babel-plugin-transform-runtime, babel-plugin-transform-typeof-symbol, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Use conditional exports in
@babel/runtimefor CJS/ESM (@nicolo-ribaudo)babel-core, babel-helper-plugin-utils, babel-preset-env: Add
@babel/coresupport for the newassumptionsoption (@nicolo-ribaudo)babel-core, babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add
targetsandbrowserslist*options to@babel/core(@nicolo-ribaudo)babel-core: Support
.mjsplugins/presets and async factories (@nicolo-ribaudo)
:bug: Bug Fix
babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Fix _isNativeReflectConstruct helper (@nicolo-ribaudo)
babel-cli: [babel-cli] Don't fail when
chmodthrows an error (@immitsu)babel-node: fix: create IPC channel for spawned babel-node process (@JLHwung)
babel-standalone: fix: add regenerate-unicode-properties to dynamicRequireTargets (@JLHwung)
babel-plugin-proposal-optional-chaining, babel-traverse: Fix scope of computed method keys (@overlookmotel)
:house: Internal
babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2: Use the
babel-plugin-polyfill-*packages intransform-runtime(@nicolo-ribaudo)babel-plugin-transform-runtime: Don't use
useESModulesin@babel/runtimebuild script (@nicolo-ribaudo)babel-standalone: Make sure that Rollup's
dynamicRequireTargetsare included (@nicolo-ribaudo)babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-preset-env: Use the
babel-plugin-polyfill-*packages inpreset-env(@nicolo-ribaudo)
:running_woman: Performance
babel-register: babel-register: Don’t rewrite the cache if it’s not dirty (@andersk)
:microscope: Output optimization
babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties: Support
noDocumentAllforobj?.#p(@JLHwung)
7.12.17
18 Feb 2021babel-core: Do not cache non-existent JS config files forever (@devongovett)
babel-helper-module-transforms, babel-plugin-transform-typescript: Register binding when transforming TSParameterProperty (@JLHwung)
babel-parser: fix(ts): parse multiline declarations correctly (@fedeci)
We re-published all the packages updated in v7.12.15 and v7.12.16, because we accidentally didn't include
LICENSEfiles.Thanks @eltociear for your first PR!
:bug: Bug Fix
babel-core: Do not cache non-existent JS config files forever (@devongovett)
babel-helper-module-transforms, babel-plugin-transform-typescript: Register binding when transforming TSParameterProperty (@JLHwung)
babel-parser: fix(ts): parse multiline declarations correctly (@fedeci)
babel-parser: Raise recoverable error for type members with invalid modifiers (@sosukesuzuki)
babel-traverse: clean up traverse scope (@JLHwung)
babel-types: Fix import assertions type definitions (@nicolo-ribaudo)
:nail_care: Polish
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods: Reuse the
readOnlyErrorhelper for private methods (@nicolo-ribaudo)
:house: Internal
Other
Store LICENSE files when publishing from GH actions (@nicolo-ribaudo)
babel-helper-transform-fixture-test-runner: test: avoid deprecated jest.addMatchers (@jeysal)
babel-parser: refactor: fix typo in error.js (@eltociear)
7.12.16
11 Feb 2021babel-core: fix: use semver gte comparison on polyfill version tester (@JLHwung)
babel-parser: [parser] Fix scope handling of Flow declared functions (@nicolo-ribaudo)
babel-parser: babel-parser(ts): Throw recoverable for duplicates access modifier (@sosukesuzuki)
:bug: Bug Fix
babel-core: fix: use semver gte comparison on polyfill version tester (@JLHwung)
babel-parser: [parser] Fix scope handling of Flow declared functions (@nicolo-ribaudo)
babel-parser: babel-parser(ts): Throw recoverable for duplicates access modifier (@sosukesuzuki)
babel-parser: babel-parser(ts): Raise recoverable error for abstract interface (@sosukesuzuki)
babel-parser: fix(ts): include
assertsinTSTypePredicatelocation (@fedeci)babel-parser: [TS] Create
TSUnionTypeorTSIntersectionTypewhen typealias has a leading operator (@fedeci)babel-plugin-transform-typescript: Support destructuring variable declarator within TS namespace (@JLHwung)
:nail_care: Polish
babel-node: Polish
@babel/nodeREPL (@JLHwung)
:house: Internal
Other
pnp does not work with ESM dev scripts (@JLHwung)
docs: Update build requirements in CONTRIBUTING.md (@sosukesuzuki)
babel-cli, babel-core, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-create-regexp-features-plugin, babel-helper-member-expression-to-functions, babel-helper-validator-option, babel-node, babel-parser, babel-plugin-proposal-class-static-block, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-optional-chaining, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-preset-env, babel-preset-typescript: Avoid importing
.jsonfiles (@nicolo-ribaudo)
7.12.13
3 Feb 2021babel-parser: spec: disable await binding identifier within static block (@JLHwung)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix: throw error when accessing private method without a getter (@fedeci)
babel-plugin-transform-computed-properties, babel-plugin-transform-shorthand-properties: fix: correctly transform
__proto__properties (@ExE-Boss)
Thanks @bradzacher, @bz2, @ChALkeR, @FauxFaux, @fedeci, @karansapolia, @panzarino, @shrinktofit, and @Zalathar for your first PRs!
:eyeglasses: Spec Compliance
babel-parser: spec: disable await binding identifier within static block (@JLHwung)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: fix: throw error when accessing private method without a getter (@fedeci)
babel-plugin-transform-computed-properties, babel-plugin-transform-shorthand-properties: fix: correctly transform
__proto__properties (@ExE-Boss)
:bug: Bug Fix
babel-plugin-proposal-class-properties, babel-traverse: Fix class fields when
super()is in a default param (@nicolo-ribaudo)babel-plugin-proposal-class-properties, babel-plugin-transform-classes: Define class elements in the correct order (@nicolo-ribaudo)
babel-parser, babel-template: Permit %%placeholder%% in left-hand-side of a let declaration (@Zalathar)
babel-core, babel-helper-transform-fixture-test-runner, babel-register: Don't use
require()in ESM files (@nicolo-ribaudo)babel-parser: (ts) Raise syntax error for an abstract method in non-abstract class (@sosukesuzuki)
babel-parser: fix(parser): throw error with wrong typescript 'export declare' (@fedeci)
babel-parser: Raise recoverable error for await expressions in sync functions (@sosukesuzuki)
babel-parser: fix: start TypePredicate node after returnToken (@JLHwung)
babel-parser: @babel/preset-typescript: fix tsx assigment issue (@Zzzen)
babel-parser: [ts]Add optional property to OptionalCallExpression node that has type arguments (@sosukesuzuki)
babel-helpers, babel-plugin-transform-classes: Avoid hitting
__proto__in_inheritsLoose(@ChALkeR)babel-generator: fix: avoid line breaks between class members head and key (@JLHwung)
babel-register: fix: babel-register transform internal dependencies (@overlookmotel)
babel-node: fix: place _babel-node after process.execArgv (@JLHwung)
babel-types: fix: cloneNode(deep, withoutLoc) handles absent comments (@FauxFaux)
babel-types: Use isIdentifierChar instead of regex for toIdentifier (@mischnic)
babel-plugin-transform-modules-systemjs: [systemjs] Fix: export star alongside with named export (@shrinktofit)
babel-plugin-transform-for-of: Transform labeled
for-ofinside bracelessifstatement (@nicolo-ribaudo)babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-plugin-transform-classes: Correctly access shadowed class binding in
super.*(@Zzzen)babel-helper-module-imports, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx: Load
jsx-runtimeafter existing imports (@nicolo-ribaudo)
:nail_care: Polish
babel-helper-transform-fixture-test-runner, babel-parser, babel-preset-env: refactor: raise AwaitNotInAsyncContext when an AwaitExpression will be parsed (@JLHwung)
babel-cli, babel-core, babel-parser: Recover from "missing semicolon" errors (@nicolo-ribaudo)
babel-helper-create-class-features-plugin, babel-plugin-proposal-private-methods: Add
#to the private name in "write-only" errors (@nicolo-ribaudo)babel-helper-compilation-targets, babel-preset-env: fix: print warning messages to stderr (@JLHwung)
babel-code-frame: fix(code-frame): do not pad gutter of empty lines (@SimenB)
:memo: Documentation
Other
Add " 📢 Deprecation" to the changelog labels (@nicolo-ribaudo)
Every package
docs: add package-specific documentation links (@DanArthurGallagher)
:house: Internal
babel-traverse, babel-types: Use native ESM for dev scripts (@karansapolia)
babel-register: babel-register run default register with global module cache (@overlookmotel)
Other
Add
yarn-plugin-conditionsto update Babel 8 dependencies (@nicolo-ribaudo)test: reuse lodash library within eslint tests (@armano2)
Remove remaining references to lerna (@nicolo-ribaudo)
babel-generator, babel-preset-env: fix: allow to execute util scripts (@armano2)
babel-core, babel-helper-compilation-targets, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-regenerator, babel-preset-env: Tweak helper compilation targets (@JLHwung)
:microscope: Output optimization
babel-plugin-transform-modules-commonjs, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env: Declare template objects inline (@nicolo-ribaudo)
babel-plugin-transform-react-jsx: Optimize jsx spreads of object expressions (@bz2)
7.12.7
20 Nov 2020babel-parser: refactor: reorder checkLVal parameters (@JLHwung)
babel-parser: fix: disallow all parenthesized pattern except parsing LHS (@JLHwung)
babel-parser: [ts]Fix syntax error for modifier name class methods with type parameters (@sosukesuzuki)
Thanks @fraywing for your first PR!
:eyeglasses: Spec Compliance
babel-parser: refactor: reorder checkLVal parameters (@JLHwung)
babel-parser: fix: disallow all parenthesized pattern except parsing LHS (@JLHwung)
:bug: Bug Fix
babel-parser: [ts]Fix syntax error for modifier name class methods with type parameters (@sosukesuzuki)
babel-parser: [ts]Set
falseto default value of TsTypePredicate.asserts (@sosukesuzuki)babel-parser: Fix syntax error for getter and setter with typescript and estree plugin (@sosukesuzuki)
babel-helper-optimise-call-expression, babel-plugin-proposal-class-properties: Fix: correctly transform
this.#m?.(...arguments)(@JLHwung)babel-compat-data, babel-preset-env: Fix support for polyfilling Array.prototype.values in core-js@2 (@existentialism)
babel-plugin-transform-modules-systemjs, babel-plugin-transform-parameters, babel-preset-env, babel-traverse: Use the correct
contextwhen re-using a cachedNodePath(@nicolo-ribaudo)babel-plugin-proposal-numeric-separator: Adding includes fix for plugin-proposal-numeric-separator (@fraywing)
:nail_care: Polish
babel-preset-react, babel-preset-typescript: refactor: use option-validator in preset-typescript (@JLHwung)
babel-types: improve asserts in generated typescript definitions (@zxbodya)
:house: Internal
babel-helper-regex: Archive
@babel/helper-regex(@nicolo-ribaudo)babel-helper-create-regexp-features-plugin, babel-plugin-transform-sticky-regex: refactor: inline
@babel/helper-regexusage (@JLHwung)babel-core: Don't compile
import()in development (@nicolo-ribaudo)babel-core: Account for ConfigItem being generated by another copy of Babel (@developit)
babel-preset-env: Bump caniuse-lite resolutions (@JLHwung)
Other
chore: fix grammar in bug template (@snitin315)
chore: prompt maintainer to quit make watch before publish (@JLHwung)
chore: remove Node.js 13 from CI (@JLHwung)
babel-types: feat(babel‑types): Add type definitions for Node assertion methods (@ExE-Boss)
babel-cli: Use
chokidar@2withoutfsevents@1in@babel/cli(@nicolo-ribaudo)babel-parser: Add typings for
recordAndTupleparser plugin (@JLHwung)babel-traverse: test: add tests about behaviour of replaceWithMultiple (@JLHwung)
:running_woman: Performance
babel-traverse: Reduce linear search on list traversing (@JLHwung)
:microscope: Output optimization
babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-chaining: optimize optional chain when expression will be cast to boolean (@JLHwung)
7.12.1
15 Oct 2020babel-cli: Don't force chokidar@2 to be downloaded from registry.npmjs.org (@nicolo-ribaudo)
babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Allow importing
@babel/runtime/package(@nicolo-ribaudo)babel-parser: Reland "Fix: check if param is assignable when parsing arrow return type annotation" (@nicolo-ribaudo)
:bug: Bug Fix
babel-cli: Don't force chokidar@2 to be downloaded from registry.npmjs.org (@nicolo-ribaudo)
babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Allow importing
@babel/runtime/package(@nicolo-ribaudo)babel-parser: Reland "Fix: check if param is assignable when parsing arrow return type annotation" (@nicolo-ribaudo)
:house: Internal
Other
Guard against yarn-issue-1882 (@JLHwung)
Every package
chore: use workspace:* for dev deps (@JLHwung)
babel-compat-data, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-remap-async-to-generator, babel-helper-simple-access, babel-helper-transform-fixture-test-runner, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-object-assign, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx-source, babel-plugin-transform-template-literals, babel-preset-env, babel-preset-react, babel-runtime-corejs2, babel-runtime, babel-standalone: Remove unused
dependenciesanddevDependencies(@nicolo-ribaudo)
7.12.0
14 Oct 2020babel-core, babel-helper-module-transforms, babel-parser, babel-plugin-proposal-export-namespace-from, babel-plugin-syntax-module-string-names, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types: String import/export specifier (@JLHwung)
babel-parser: [ts] Throw a syntax error for index signature with
declare(@sosukesuzuki)babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-module-attributes, babel-standalone, babel-types: Parse import-assertions (@xtuc)
Thanks @akphi, @Amareis, @barronwei, @iamfotx, @mischnic, @overlookmotel, @ryanrhee, @snitin315, @sosukesuzuki, @timgates42, @zweimach for their first PRs.
:eyeglasses: Spec Compliance
babel-core, babel-helper-module-transforms, babel-parser, babel-plugin-proposal-export-namespace-from, babel-plugin-syntax-module-string-names, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types: String import/export specifier (@JLHwung)
babel-parser: [ts] Throw a syntax error for index signature with
declare(@sosukesuzuki)
:rocket: New Feature
babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-assertions, babel-plugin-syntax-module-attributes, babel-standalone, babel-types: Parse import-assertions (@xtuc)
babel-core, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-replace-supers, babel-plugin-proposal-class-static-block, babel-plugin-transform-modules-commonjs, babel-standalone, babel-traverse, babel-types: Transform class static block (@JLHwung)
babel-generator, babel-parser, babel-plugin-syntax-class-static-block, babel-types: Parse class static block (@JLHwung)
babel-generator, babel-parser, babel-types: Support TypeScript mapped type 'as' clauses (@existentialism)
babel-generator, babel-parser, babel-types: [ts] Add support for the "intrinsic" keyword (@nicolo-ribaudo)
babel-parser, babel-types: [ts] Add support for template interpolations in types (@nicolo-ribaudo)
babel-plugin-transform-modules-systemjs: SystemJS top-level await support (@guybedford)
babel-plugin-transform-typescript, babel-preset-typescript: Add
jsxPragmaFragsupport to typescript transform (@JLHwung)babel-core, babel-helper-module-transforms, babel-parser, babel-plugin-proposal-export-namespace-from, babel-plugin-syntax-module-string-names, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types: String import/export specifier (@JLHwung)
babel-core: Return a list of files that were read from loadPartialConfig (@devongovett)
:bug: Bug Fix
babel-parser: [ts] Add
asserts: falsetoTSTypePredicatenode (@sosukesuzuki)babel-parser: Move check for TSTypeCastExpression to catch another case (@existentialism)
babel-parser: Throw a recoverable error for missing initializer in const declaration (@sosukesuzuki)
babel-parser: Improve syntax error for class fields in ambient context (@sosukesuzuki)
babel-parser: Throw a syntax error for empty type parameter/argument (@sosukesuzuki)
babel-parser: Throw an error for a declare class field that have an initializer (@sosukesuzuki)
babel-parser: Do not throw an error for optional binding pattern params in function declaration (@sosukesuzuki)
babel-parser: Fix invalid
setterparse (@fisker)babel-parser: Throw a syntax error for a declare function with a body (@sosukesuzuki)
babel-parser: Throw a syntax error for a constructor with type parameters (@sosukesuzuki)
babel-plugin-transform-typescript: fix transform-typescript logic to remove definite fields (@akphi)
babel-plugin-transform-typescript: [transform-typescript] Fix import elision for type exports (@Amareis)
babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-nullish-coalescing-operator, babel-plugin-proposal-optional-chaining: Handle cases when
??and?.is in binding initializers (@JLHwung)babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-preset-react: add
.jsextension to react runtime for JSX transform (@lunaruan)babel-traverse, babel-types: fix: mark Pattern in CatchClause as scope (@JLHwung)
babel-generator: Fix printing TSTypeOperator (@existentialism)
babel-generator: Ensure expressions wrapped in parens (@overlookmotel)
babel-generator: Fix
@babel/generatordoes not print decorators of private properties (@zweimach)babel-generator: Add sourcemap markings for each line of a string (@jridgewell)
babel-plugin-transform-modules-systemjs: Fix reexporting init-less variable in systemjs (@JLHwung)
babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd, babel-plugin-transform-runtime: [cjs] Skip duplicate reexported bindings in namespace reexports (@mischnic)
babel-helper-create-regexp-features-plugin, babel-plugin-transform-unicode-regex: Bump regexpu-core (@existentialism)
babel-plugin-proposal-do-expressions, babel-traverse: fix(do-expr): SwitchStatement with IfStatement cases (@barronwei)
:nail_care: Polish
babel-parser: [parser] Better error message for missing number exponent (@iamfotx)
babel-parser: Throw a syntax error for a parameter properties in not constructor (@sosukesuzuki)
babel-helper-compilation-targets, babel-helper-validator-option, babel-preset-env: refactor: add @babel/helper-validator-option (@JLHwung)
:house: Internal
babel-cli, babel-helper-transform-fixture-test-runner, babel-traverse: Replace lodash 'defaults' usage with ES6 Spread initializer (@jayaddison)
babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Specify runtime exports (@JLHwung)
babel-core: Instantiate presets before plugins (@nicolo-ribaudo)
babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-numeric-separator, babel-plugin-syntax-import-meta, babel-plugin-syntax-logical-assignment-operators, babel-plugin-syntax-numeric-separator, babel-plugin-transform-modules-systemjs, babel-preset-env, babel-standalone: Archive plugins (@JLHwung)
Other
chore: bump gulp-cli to 2.3.0 (@JLHwung)
Yarn 2.3 (@nicolo-ribaudo)
fix: apply terser plugin only on *.min.js (@JLHwung)
docs: update build required node version (@JLHwung)
Bump Babel deps (@existentialism)
chore: pin browserslist version to 4.12.0 (@JLHwung)
chore: add git-blame-ignore-revs (@JLHwung)
chore: use latest node on ci workflow when possible (@JLHwung)
babel-compat-data, babel-preset-env: chore: bump electron-to-chromium (@JLHwung)
babel-parser: Add missing tests for TypeScript syntax errors (@sosukesuzuki)
babel-compat-data: chore: remove unused dependencies (@JLHwung)
7.10.4
30 Jun 2020babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties: Add
delete obj?.#x.asupport (@JLHwung)babel-parser, babel-types: fix: implement early errors for record and tuple (@JLHwung)
babel-types: [regression] Don't validate file.comments in
@babel/types(@nicolo-ribaudo)
Thanks @penguingovernor, @sajadtorkamani and @wojtekmaj for their first PRs!
:eyeglasses: Spec Compliance
babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties: Add
delete obj?.#x.asupport (@JLHwung)babel-parser, babel-types: fix: implement early errors for record and tuple (@JLHwung)
:bug: Bug Fix
babel-types: [regression] Don't validate file.comments in
@babel/types(@nicolo-ribaudo)babel-plugin-proposal-do-expressions, babel-types: fix: do-statementlist behavior (@wlawt)
:nail_care: Polish
babel-parser: Add better parser error when using jsx (@penguingovernor)
babel-core: Refine babel core types (@JLHwung)
:house: Internal
babel-core, babel-helper-fixtures, babel-standalone, babel-traverse: Replace non-inclusive "whitelist" and "blacklist" terms with "allowlist" etc. (@wojtekmaj)
babel-parser: Add @babel/eslint-plugin-development-internal (@kaicataldo)
babel-core: Refine babel core types (@JLHwung)
7.10.1
27 May 2020babel-preset-env: [hotfix] Use same targets for fields as for private methods (@nicolo-ribaudo)
babel-standalone: Fix standalone tag when data-type is not set. (@dfabulich)
Every package
This releases includes fixes for two bugs introduced in 7.10.0. There are still a few known bugs, and we'll fix them soon.
Thanks @saulosantiago for your first PR!
:bug: Bug Fix
babel-preset-env: [hotfix] Use same targets for fields as for private methods (@nicolo-ribaudo)
babel-standalone: Fix standalone tag when data-type is not set. (@dfabulich)
:house: Internal
Every package
Use
repository.directoryfield inpackage.jsonfiles (@saulosantiago)
7.9.0
20 Mar 2020babel-generator, babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-inline-elements, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-plugin-transform-regenerator, babel-preset-react, babel-preset-typescript, babel-standalone: Mark transpiled JSX elements as pure (@nicolo-ribaudo)
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx, babel-preset-react, babel-standalone: Add experimental version of the
babel-plugin-transform-react-jsxtransform (@lunaruan)babel-compat-data, babel-preset-env: Include preset modules (@nicolo-ribaudo)
Blog post: babeljs.io/blog/2020/03/16/7.9.0
:rocket: New Feature
babel-generator, babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-inline-elements, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-plugin-transform-regenerator, babel-preset-react, babel-preset-typescript, babel-standalone: Mark transpiled JSX elements as pure (@nicolo-ribaudo)
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx-self, babel-plugin-transform-react-jsx, babel-preset-react, babel-standalone: Add experimental version of the
babel-plugin-transform-react-jsxtransform (@lunaruan)babel-compat-data, babel-preset-env: Include preset modules (@nicolo-ribaudo)
babel-compat-data, babel-preset-env: Add numeric separator to
shippedProposals(@Wetinee)babel-core, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Allow extending untranspiled classes (@nicolo-ribaudo)
babel-core, babel-helper-module-transforms, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd: Allow defining the moduleIds-related option in the transform plugins (@nicolo-ribaudo)
babel-core, babel-generator, babel-parser, babel-plugin-syntax-record-and-tuple, babel-types: Added support for record and tuple syntax. (@rickbutton)
babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-preset-flow: Implement support for
declareon class fields with Flow (@nicolo-ribaudo)babel-types: Add cloneDeepWithoutLoc (@Taym95)
babel-generator: Added jsescOptions to Numeric Literals (@sidntrivedi012)
babel-generator, babel-parser, babel-types: Add support for flow's SymbolTypeAnnotation (@existentialism)
babel-parser: Parse BigInts by default (@nicolo-ribaudo)
babel-parser: Add estree parsing support for
export * as A(@existentialism)babel-parser: feat: align ID_Start/ID_Continue regex to Unicode 13.0.0 (@JLHwung)
babel-plugin-transform-react-jsx-source, babel-preset-react: feat(react-jsx-source): add columnNumber property (@motiz88)
babel-generator, babel-parser, babel-plugin-transform-typescript, babel-preset-typescript, babel-types: Add
import typeandexport typesupport to TypeScript (@nicolo-ribaudo)
:bug: Bug Fix
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-helper-validator-identifier, babel-highlight, babel-parser, babel-types: Add @babel/helper-validator-identifier (@JLHwung)
babel-plugin-proposal-optional-chaining: Memoize call expressions in optional chains in loose mode (@oliverdunk)
babel-plugin-transform-react-jsx-self, babel-preset-react: Pass the correct
thisto JSX's__selfwith the old plugin (@nicolo-ribaudo)babel-helper-builder-react-jsx-experimental, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx: Use the correct
thisin__selffor JSX elements in arrows (@nicolo-ribaudo)babel-compat-data, babel-preset-env: Move
object-rest-spreadaftertransform-parameters(@JLHwung)babel-helpers, babel-plugin-transform-for-of, babel-preset-env: Allow for-of on polyfilled or builtin iterables without
Symbolsupport (@nicolo-ribaudo)babel-helpers, babel-plugin-transform-for-of, babel-preset-env: Add for-of fallback for arrays in browsers without symbol support (@nicolo-ribaudo)
babel-plugin-proposal-object-rest-spread: fix: object-rest-spread should not transform export array rest (@JLHwung)
babel-register: Add path separator to
@babel/registersourceRoot (@andrewdotn)babel-core, babel-helpers, babel-plugin-transform-runtime: Create File class for babel helpers (@JLHwung)
babel-helpers, babel-plugin-transform-modules-commonjs, babel-preset-env, babel-runtime-corejs2, babel-runtime: Allow rest/spread on polyfilled or builtin iterables without
Symbolsupport (@nicolo-ribaudo)babel-parser: Allow await when it is not in AsyncArrowHead (@arku)
babel-helpers, babel-plugin-proposal-object-rest-spread, babel-runtime-corejs2, babel-runtime: fix(rest-spread): Do not require
Symbol.iteratorfor strings (@clshortfuse)babel-generator: Fix printing edge cases in Nullish Coalescing and Optional Chaining (@jridgewell)
:nail_care: Polish
babel-parser: Rephrase parser error message (@JLHwung)
babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-plugin-transform-spread, babel-preset-env, babel-runtime-corejs2, babel-runtime: Throw better errors for non-iterables when Symbol doesn't exist. (@nicolo-ribaudo)
:house: Internal
babel-helper-builder-react-jsx-experimental, babel-helper-builder-react-jsx, babel-helper-validator-identifier, babel-highlight, babel-parser, babel-types: Add @babel/helper-validator-identifier (@JLHwung)
babel-compat-data, babel-preset-env: Update compat-data (@existentialism)
babel-core: chore: bump json5 and minimist (@JLHwung)
babel-types: Add stricter Optional Chain node validation (@jridgewell)
babel-types: Update Purish aliases (@jridgewell)
babel-helpers, babel-plugin-transform-block-scoping, babel-plugin-transform-for-of, babel-plugin-transform-parameters, babel-plugin-transform-runtime, babel-preset-env: Extract for-of iterator handling to a helper (@nicolo-ribaudo)
babel-core, babel-plugin-proposal-decorators, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-partial-application, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-parameters, babel-traverse: Support more node types in generateUidBasedOnNode (@jridgewell)
Other
Remove unused
gulp-rename(@existentialism)
7.8.3
13 Jan 2020babel-types: fix: generated builder parameter should respect builder keys (@JLHwung)
babel-preset-env-standalone, babel-standalone: Ignore .map files in standalone packages (@nicolo-ribaudo)
babel-plugin-proposal-decorators, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-object-rest-spread, babel-plugin-syntax-async-generators, babel-plugin-syntax-bigint, babel-plugin-syntax-dynamic-import, babel-plugin-syntax-json-strings, babel-plugin-syntax-nullish-coalescing-operator, babel-plugin-syntax-object-rest-spread, babel-plugin-syntax-optional-catch-binding, babel-plugin-syntax-optional-chaining, babel-plugin-transform-flow-strip-types, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-constant-elements, babel-preset-env-standalone, babel-preset-env, babel-standalone: Archive syntax plugins enabled by default (@nicolo-ribaudo)
:bug: Bug Fix
babel-types: fix: generated builder parameter should respect builder keys (@JLHwung)
:house: Internal
babel-preset-env-standalone, babel-standalone: Ignore .map files in standalone packages (@nicolo-ribaudo)
babel-plugin-proposal-decorators, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-object-rest-spread, babel-plugin-syntax-async-generators, babel-plugin-syntax-bigint, babel-plugin-syntax-dynamic-import, babel-plugin-syntax-json-strings, babel-plugin-syntax-nullish-coalescing-operator, babel-plugin-syntax-object-rest-spread, babel-plugin-syntax-optional-catch-binding, babel-plugin-syntax-optional-chaining, babel-plugin-transform-flow-strip-types, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-constant-elements, babel-preset-env-standalone, babel-preset-env, babel-standalone: Archive syntax plugins enabled by default (@nicolo-ribaudo)
:leftwards_arrow_with_hook: Revert
Every package
Revert "chore: specify package type (#10849)" (@nicolo-ribaudo)
7.8.0
12 Jan 2020- Breaking
babel-types: (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)
babel-parser: Disallow private name in object elements and TS type elements (@JLHwung)
babel-parser: LiteralPropertyName should allow BigIntLiteral (@JLHwung)
Blog post on the website
:eyeglasses: Spec Compliance
babel-parser: Disallow private name in object elements and TS type elements (@JLHwung)
babel-parser: LiteralPropertyName should allow BigIntLiteral (@JLHwung)
babel-parser: fix: check await when parsing AsyncArrowBindingIdentifier (@JLHwung)
babel-parser: Fix: TopLevelAwait should respect await identifiers defined in sub scope. (@JLHwung)
babel-parser: fix: Class Field Initializer should not allow await expression as immediate child (@JLHwung)
babel-plugin-proposal-numeric-separator: StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)
babel-generator, babel-parser, babel-plugin-proposal-private-methods: [parser] Disallow duplicate and undeclared private names (@nicolo-ribaudo)
:boom: Breaking Change
- Breaking
babel-types: (opt-in) Improve @babel/types with env.BABEL_TYPES_8_BREAKING (@nicolo-ribaudo)
:rocket: New Feature
babel-standalone: Merge env-standalone to babel-standalone (@JLHwung)
babel-core: Add babelrc.json support (@yordis)
babel-core: Add support for babel.config.mjs and .babelrc.mjs (@nicolo-ribaudo)
babel-compat-data, babel-preset-env-standalone, babel-preset-env: Add optional-chaining and nullish-coalescing to preset-env (@Druotic)
babel-helper-module-transforms, babel-plugin-transform-modules-systemjs: add
allowTopLevelThisoption totransform-modules-systemjs(@JLHwung)babel-parser: enable optional chaining by default in @babel/parser (@jackisherwood)
babel-cli: --copy-ignored flag added to CLI (@rajasekarm)
babel-cli: Add --out-file-extension option to babel-cli (@eps1lon)
babel-core, babel-generator, babel-parser: Enable nullish coalescing by default in @babel/parser (@layershifter)
babel-core, babel-parser: [parser] enable dynamic import by default (@AbdulAli19)
:bug: Bug Fix
babel-node: Filename detection should respect short flags (@JLHwung)
babel-plugin-proposal-numeric-separator: StringNumericLiteral does not include NumericLiteralSeparator (@JLHwung)
babel-preset-env: Use chrome data when android is absent (@JLHwung)
babel-preset-env: fix: Promise.any requires global.AggregateError (@JLHwung)
babel-parser: When reading a new string, U+2028/2029 should correctly set the new column (@JLHwung)
babel-parser: Refactor parseSubscript (@JLHwung)
babel-parser: fix: lost leading comment after named import (@elevatebart)
Other
babel-traverse: Override toString in case this function is printed (@jayenashar)
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: helper-module-transforms: dereference imported template tag (@ajafff)
babel-traverse, babel-types: Fix parameter expression get binding (@JLHwung)
babel-core:
@babel/core: parse should parse only (@kaicataldo)babel-helpers: fix: Object.getOwnPropertySymbols called on non-object (@bassaer)
:nail_care: Polish
babel-node: Use
babel >as prompt in babel-node (@ZYSzys)babel-parser: refactor: remove inClassProperty parser state (@JLHwung)
:memo: Documentation
babel-preset-env: CONTRIBUTING: Update link to plugin-features.js [skip ci] (@andersk)
Other
Added instructions to fork the repo in order to setup. (@sidntrivedi012)
:house: Internal
babel-preset-env: chore: update corejs fixtures (@JLHwung)
babel-preset-env: chore: update caniuse-usage Chrome 49 related fixtures (@JLHwung)
babel-preset-env: Replace custom "findSuggestion" function with "levenary" (@nicolo-ribaudo)
babel-core: Prepare @babel/core for asynchronicity (@nicolo-ribaudo)
Other
Reduce false negative cases of typescript parser tests (@JLHwung)
Update Test262, Flow and TS parser tests (@nicolo-ribaudo)
Bump coverage target from 80% to 90% (@nicolo-ribaudo)
Fix recent e2e-vuejs-cli error (@JLHwung)
Add integration test: e2e-vue-cli (@JLHwung)
chore: update test262 (@JLHwung)
chore: refine e2e test scripts (@JLHwung)
chore: separate build-standalone with coverage (@JLHwung)
Move coverage to GitHub actions (@JLHwung)
babel-compat-data, babel-helper-compilation-targets, babel-preset-env: Extract targets parser and compat data from preset-env (@nicolo-ribaudo)
babel-parser: test: add invalid-lone-import test (@JLHwung)
babel-parser: refactor: remove unecessary checkYieldAwaitInDefaultParams (@JLHwung)
babel-parser: refactor: remove unused invalidTemplateEscapePosition tokenizer state (@JLHwung)
babel-parser: TSTypeCastExpression should not be inside call parameters (@JLHwung)
babel-parser: Remove unused parser methods (@JLHwung)
Every package
chore: specify package type [skip-ci] (@JLHwung)
:leftwards_arrow_with_hook: Revert
babel-cli: fix: minified should not accept optional argument (@JLHwung)
7.7.7
19 Dec 2019babel-parser: [parser] validation for parentheses in the left-hand side of assignment expressions (@boweihan)
babel-plugin-proposal-object-rest-spread: fix: add computed property support for object Ref (@JLHwung)
babel-core: fix: skip merging large input sourcemaps (@JLHwung)
:eyeglasses: Spec Compliance
babel-parser: [parser] validation for parentheses in the left-hand side of assignment expressions (@boweihan)
:bug: Bug Fix
babel-plugin-proposal-object-rest-spread: fix: add computed property support for object Ref (@JLHwung)
babel-core: fix: skip merging large input sourcemaps (@JLHwung)
babel-core: fix: avoid string copy when processing input source-map (@JLHwung)
babel-node: Allow -r from node_modules with @babel/node (@nicolo-ribaudo)
babel-plugin-transform-parameters: Check shadow variable to identifier in default parameters (@JLHwung)
babel-parser: @babel/eslint-parser: fix ImportExpression node to match ESTree spec (@kaicataldo)
babel-parser: @babel/eslint-parser: fix BigIntLiteral node to match ESTree spec (@kaicataldo)
:nail_care: Polish
babel-plugin-transform-react-jsx: Fix pragmaFrag spelling in error message (@azizhk)
:house: Internal
babel-generator, babel-plugin-proposal-pipeline-operator, babel-plugin-proposal-unicode-property-regex, babel-plugin-syntax-pipeline-operator, babel-plugin-transform-dotall-regex, babel-preset-env-standalone, babel-preset-typescript, babel-standalone: Ignore some files in npm package (@JLHwung)
Other
babel-preset-env: chore: download compat-table when build-data is run (@JLHwung)
babel-preset-env: Update corejs fixtures (@JLHwung)
babel-preset-env: refactor: rewrite available-plugins to esm (@JLHwung)
babel-parser: Properly serialize non-json values in parser tests (@nicolo-ribaudo)
babel-cli, babel-node, babel-register: Add missing dev dependencies (@JLHwung)
:leftwards_arrow_with_hook: Revert
babel-plugin-transform-classes, babel-plugin-transform-regenerator, babel-preset-env: Use
async-to-generatoreven whenregeneratoris enabled (@nicolo-ribaudo)
7.7.4
22 Nov 2019babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Add support for native esm to @babel/runtime. (@nicolo-ribaudo)
babel-preset-env: Update preset-env mappings. (@existentialism)
babel-parser: Flow enums: fix enum body location. (@gkz)
Thanks @chrishinrichs, @khoumani, @m-ahmadi, @BBlackwo, @SakibulMowla, @4geru, @Shriram-Balaji, @ZYSzys and @arku for their first PRs!
:bug: Bug Fix
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Add support for native esm to @babel/runtime. (@nicolo-ribaudo)
babel-preset-env: Update preset-env mappings. (@existentialism)
babel-parser: Flow enums: fix enum body location. (@gkz)
babel-parser: Fix some incorrect typeof parsing in flow. (@existentialism)
babel-parser: [parser] Allow optional async methods. (@gonzarodriguezt)
babel-parser: register import equals specifier. (@JLHwung)
babel-parser: Allow TypeScript type assertions in array destructuring. (@SakibulMowla)
babel-preset-env-standalone: fix: add missing available plugins to babel-preset-env-standalone. (@JLHwung)
babel-plugin-transform-function-name, babel-plugin-transform-modules-umd, babel-preset-env: Circumvent typeof transform for umd build template. (@JLHwung)
babel-cli: Babel should not silently remove unknown options after commander arguments. (@JLHwung)
babel-plugin-proposal-optional-chaining: Fix optional method chaining in derived classes. (@Shriram-Balaji)
babel-parser, babel-types: Add
asserts this [is type]parsing support. (@JLHwung)babel-traverse: Fix parentheses on replaceWithMultiple for JSX. (@khoumani)
babel-helpers, babel-plugin-proposal-object-rest-spread, babel-preset-env: Fix: Don't call Object.keys on non-objects (babel#10482). (@chrishinrichs)
:nail_care: Polish
babel-plugin-proposal-nullish-coalescing-operator: polish: skip creating extra reference for safely re-used node. (@JLHwung)
:house: Internal
Other
Removed duplicate key in package.json. (@rajasekarm)
chore: use loose mode of transform. (@JLHwung)
Implement PR workflow for running test262 on babel PRs. (@jbhoosreddy)
bump @babel/* dev dependencies. (@JLHwung)
E2E test Babel with itself before publishing. (@nicolo-ribaudo)
babel-core: Reduce standalone build size. (@JLHwung)
babel-cli: Add missing flow type to babel-cli for consistency. (@ZYSzys)
7.7.2
6 Nov 2019babel-parser: Parse arrows with params annotations in conditional expressions (@nicolo-ribaudo)
babel-plugin-transform-typescript: fix: remove accessibility of constructor (@JLHwung)
babel-traverse: fix: add inList setter for compatibility with babel-minify (@JLHwung)
7.7.0
5 Nov 2019babel-types: throw a TypeError if identifier validation fails. (@dentrado)
babel-parser: fix: Exclude catch clause from let identifier error. (@gonzarodriguezt)
babel-parser: [parser] Exception to 8 and 9 in tagged template. (@pnowak)
:eyeglasses: Spec Compliance
babel-types: throw a TypeError if identifier validation fails. (@dentrado)
babel-parser: fix: Exclude catch clause from let identifier error. (@gonzarodriguezt)
babel-parser: [parser] Exception to 8 and 9 in tagged template. (@pnowak)
babel-parser: Allow duplicate
__proto__keys in patterns, simple case (#6705). (@alejo90)
:rocket: New Feature
babel-generator, babel-helper-create-class-features-plugin, babel-parser, babel-plugin-transform-typescript, babel-preset-typescript, babel-types: Add support for TS declare modifier on fields. (@nicolo-ribaudo)
babel-core, babel-parser, babel-preset-typescript: @babel/parser error recovery. (@nicolo-ribaudo)
babel-core: Add support for .cjs config files. (@nicolo-ribaudo)
babel-core: Add support for babel.config.json. (@devongovett)
babel-core: feat: if code frame error is on a single line, highlight the whole path. (@SimenB)
babel-plugin-syntax-top-level-await, babel-preset-env: Create @babel/plugin-syntax-top-level-await. (@nicolo-ribaudo)
babel-helper-builder-react-jsx, babel-plugin-transform-react-jsx, babel-preset-react: [transform-react-jsx] Add useSpread option to transform JSX. (@ivandevp)
babel-generator, babel-parser, babel-plugin-proposal-decorators, babel-plugin-syntax-flow, babel-types: Flow enums parsing. (@gkz)
babel-plugin-transform-function-name, babel-plugin-transform-modules-umd, babel-preset-env: Changes UMD callsite to be more likely to pass in the intended object.. (@MicahZoltu)
babel-parser: Create parser plugin "topLevelAwait". (@nicolo-ribaudo)
babel-parser: [parser] Enable "exportNamespaceFrom" by default. (@nicolo-ribaudo)
babel-parser: [parser] Add support for private fields in TypeScript. (@nicolo-ribaudo)
babel-generator, babel-parser, babel-types: add assertions signature for TypeScript. (@tanhauhau)
babel-cli, babel-register: Make dir for babel --out-file. (@TrySound)
babel-cli: Closes #8326, add back --quiet option.. (@chris-peng-1244)
:bug: Bug Fix
babel-helpers, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-function-sent, babel-preset-env: Correctly delegate .return() in async generator. (@nicolo-ribaudo)
babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: Don't throw when destructuring into a var named as an import. (@nicolo-ribaudo)
babel-plugin-transform-modules-systemjs: fix: remove ExportNamedDeclaration when the specifier is empty. (@JLHwung)
babel-parser: [TS] Parse calls with type args in optional chains. (@nicolo-ribaudo)
babel-parser: fixed missing errors on assignment pattern in object expression. (@vivek12345)
babel-parser: [parser] Parse only modifiers of actual methods. (@gonzarodriguezt)
babel-plugin-transform-typescript: [TS] Correctly transform computed strings and templates in enums. (@nicolo-ribaudo)
babel-core: Fix: inputSourceMap should work when it is an external file. (@JLHwung)
babel-core: fix: remove filename annotation in buildCodeFrameError. (@JLHwung)
babel-plugin-proposal-decorators: [decorators] fix: support string literal properties. (@mwhitworth)
babel-helpers, babel-plugin-proposal-dynamic-import, babel-plugin-transform-modules-commonjs, babel-preset-env: fix: _interopRequireWildcard should only cache objects. (@samMeow)
babel-traverse: [traverse] Allow skipping nodes inserted with .replaceWith(). (@nicolo-ribaudo)
babel-preset-env: Inject core-js@3 imports in Program:exit instead of on post(). (@nicolo-ribaudo)
babel-generator: Fix generator missing parens around an arrow returning function type. (@existentialism)
babel-plugin-transform-async-to-generator, babel-preset-env, babel-traverse: Don't use args rest/spread to hoist super method calls. (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-transform-classes, babel-plugin-transform-regenerator, babel-preset-env: [preset-env] Don't use async-to-generator when already using regenerator. (@nicolo-ribaudo)
babel-helpers, babel-plugin-transform-modules-commonjs, babel-preset-env: fix(babel‑helpers/interopRequireWildcard): Avoid double nullish check. (@ExE-Boss)
babel-register: fix: disable caching when babel could not read/write cache. (@JLHwung)
:house: Internal
babel-cli, babel-node: chore: remove output-file-sync dependency. (@JLHwung)
babel-register: chore: bump source-map-support to 0.5.14. (@JLHwung)
babel-helper-create-regexp-features-plugin, babel-plugin-proposal-unicode-property-regex, babel-plugin-transform-dotall-regex, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-unicode-regex, babel-preset-env: Merge multiple regex transform plugin. (@JLHwung)
babel-preset-env: chore: update web.immediate support fixtures. (@JLHwung)
babel-helper-module-imports: Use .find instead of .filter to get targetPath in ImportInjector. (@Andarist)
Other
Test node@13 on circle. (@existentialism)
chore: replace outdated travis-ci.org badges [ci skip]. (@JLHwung)
chore: test against Node.js 13. (@JLHwung)
Add master branch workflow for test262 tests. (@jbhoosreddy)
babel-runtime: docs: add homepage link. (@DanArthurGallagher)
babel-helper-annotate-as-pure, babel-helper-bindify-decorators, babel-helper-builder-binary-assignment-operator-visitor, babel-helper-builder-react-jsx, babel-helper-call-delegate, babel-helper-define-map, babel-helper-explode-assignable-expression, babel-helper-explode-class, 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-split-export-declaration, babel-helper-wrap-function, babel-helpers, babel-template: Bump babel-types to ^7.6.3. (@JLHwung)
:running_woman: Performance
babel-traverse: Traverse performance. (@JLHwung)
7.6.0
6 Sep 2019babel-generator, babel-parser: Fix parenthesis for nullish coalescing (@vivek12345)
babel-helpers, babel-plugin-transform-block-scoping, babel-traverse: Fix tdz checks in transform-block-scoping plugin (@nicolo-ribaudo)
babel-core: feat(errors): validate preset when filename is absent (@JLHwung)
:eyeglasses: Spec Compliance
babel-generator, babel-parser: Fix parenthesis for nullish coalescing (@vivek12345)
babel-helpers, babel-plugin-transform-block-scoping, babel-traverse: Fix tdz checks in transform-block-scoping plugin (@nicolo-ribaudo)
:rocket: New Feature
babel-core: feat(errors): validate preset when filename is absent (@JLHwung)
babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-private-methods: Class Private Static Accessors (@tim-mc)
babel-generator, babel-parser, babel-types: V8intrinsic syntax plugin (@JLHwung)
babel-preset-typescript: Allow setting 'allowNamespaces' in typescript preset (@dsgkirkby)
babel-parser: Do not register ambient classes to the TS scope (@nicolo-ribaudo)
babel-types: Add static to class property builder (@yuri-karadzhov)
:bug: Bug Fix
babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-modules-commonjs, babel-preset-env: fix: early return when instance is not iterable (@JLHwung)
babel-plugin-transform-runtime: Add supports for polyfill computed methods (@rhyzx)
babel-preset-env: Don't polyfill when evaluation is not confident (@rhyzx)
babel-preset-env: [preset-env] Include / exclude module plugins properly (@AdamRamberg)
babel-preset-env: Replace es.string.reverse with es.array.reverse (@epicfaace)
babel-plugin-transform-named-capturing-groups-regex: fix: transform name capturing regex once (@JLHwung)
babel-types: fix typescript for babel-types (@tanhauhau)
babel-types: Add a builder definition including name for tsTypeParameter (@deificx)
babel-parser: Refactor trailing comment adjustment (@banga)
babel-parser: Retain trailing comments in array expressions (@banga)
babel-parser: fix: assign trailing comment to ObjectProperty only when inside an ObjectExpression (@JLHwung)
babel-parser, babel-types: Don't allow JSXNamespacedName to chain (@jridgewell)
babel-generator, babel-plugin-transform-typescript, babel-types: Add TSBigIntKeyword to @babel/types (@nicolo-ribaudo)
babel-core, babel-types: Do not delete "fake" source map comments from strings (@nicolo-ribaudo)
babel-plugin-transform-flow-comments: Fix flow comments plugin issues (@zaygraveyard)
babel-helpers, babel-plugin-transform-react-constant-elements: [fix] jsx helper calls order (@Sinewyk)
babel-plugin-proposal-decorators: fix: register inserted class declaration (@thiagoarrais)
babel-plugin-proposal-do-expressions, babel-traverse: Do expressions transform for switch statements (@tanhauhau)
babel-plugin-proposal-do-expressions, babel-traverse: remove finally from completion record in try statement (@tanhauhau)
babel-helpers, babel-plugin-transform-named-capturing-groups-regex: fix capturing group for matchAll (@tanhauhau)
:nail_care: Polish
babel-plugin-transform-runtime, babel-preset-env: Don't allow instance properties transformation on namespace (@rhyzx)
:house: Internal
babel-register: Remove core-js dependency from @babel/register (@coreyfarrell)
babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-preset-env: Use "validateLogs" for preset-env's debug fixtures (@nicolo-ribaudo)
babel-parser: Refactor trailing comment adjustment (@banga)
babel-helper-fixtures, babel-helper-transform-fixture-test-runner, babel-plugin-proposal-dynamic-import, babel-preset-env: Allow testing logs with
@babel/helper-transform-fixture-test-runner(@nicolo-ribaudo)babel-runtime-corejs2, babel-runtime, babel-types: Commit generated code (@JLHwung)
babel-cli, babel-core, babel-generator, babel-helper-create-class-features-plugin, babel-helper-fixtures, babel-node, babel-parser, babel-plugin-proposal-do-expressions, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-modules-commonjs, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types: Update dev dependencies and fix linting errors (@danez)
babel-cli: added flow to babel cli (@Letladi)
:running_woman: Performance
7.3.3
15 Feb 2019babel-generator: Correctly output escapes in directives (@nicolo-ribaudo)
babel-parser: Fix regression with let (@danez)
babel-parser: Typescript function destructured params (@mhcgrq)
:eyeglasses: Spec Compliancy
babel-generator: Correctly output escapes in directives (@nicolo-ribaudo)
:bug: Bug Fix
babel-parser: Fix regression with let (@danez)
babel-parser: Typescript function destructured params (@mhcgrq)
babel-parser: Fix range for TypeScript optional parameter in arrow function (@existentialism)
:nail_care: Polish
babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-parameters: Fix duplicated assertThisInitialized calls in constructors (@rubennorte)
:house: Internal
Other
Add duplicate-package-checker-webpack-plugin (@nicolo-ribaudo)
Exclude generate @babel/types files from coverage report (@nicolo-ribaudo)
babel-parser: Better error output in parser tests (@danez)
7.1.0
17 Sep 2018babel-cli, babel-core: Better support monorepos by allowing users to opt into automatically resolving 'root' with
rootMode: "upward".. (@loganfsmyth)babel-helper-transform-fixture-test-runner: Allow regular plugins/presets resolution algorithm for packages outsi…. (@Andarist)
babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators: Add support for the new decorators proposal. (@nicolo-ribaudo)
:rocket: New Feature
babel-cli, babel-core: Better support monorepos by allowing users to opt into automatically resolving 'root' with
rootMode: "upward".. (@loganfsmyth)babel-helper-transform-fixture-test-runner: Allow regular plugins/presets resolution algorithm for packages outsi…. (@Andarist)
babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators: Add support for the new decorators proposal. (@nicolo-ribaudo)
babel-helpers, babel-plugin-proposal-class-properties: Private Static Fields Features: Stage 3. (@rricard)
:bug: Bug Fix
babel-parser: Fix parsing of newline between 'async' and 'function'. (@existentialism)
babel-parser: Fix typescript parsing typed object shorthand methods. (@existentialism)
babel-plugin-transform-typescript: Fix TSParameterProperty getting lost with transform-classes. (@existentialism)
babel-plugin-transform-typescript: Adjust TSParameterProperty handling to work with transform-parameters. (@existentialism)
babel-plugin-transform-typescript: Fix typescript import elision. (@Retsam)
babel-preset-env: Fix es6.string.iterator mapping in babel-preset-env. (@existentialism)
babel-core, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-runtime: Fix version checks in .availableHelper and transform-runtime definitions.. (@loganfsmyth)
Other
ts generator: allow reserved keywords in interfaces. (@43081j)
babel-plugin-transform-parameters: Allow patterns as argument of RestElement. (@microbouji)
babel-core, babel-plugin-transform-runtime: Verify 'sourceMap' option with hasOwnProperty, and verify string-typed 'version'. (@loganfsmyth)
babel-helpers, babel-plugin-proposal-class-properties: [static private] Unify loose handling of static and instance props. (@nicolo-ribaudo)
:nail_care: Polish
babel-plugin-transform-runtime: Fix grammar in error message at @babel/plugin-transform-runtime. (@tricknotes)
babel-parser: More helpful errorr message for missing decoratorsBeforeExport in parser. (@nicolo-ribaudo)
:house: Internal
babel-core: Fix Flow error with new versionRange test.. (@loganfsmyth)
Other
remove force publish, temp tag [skip ci]. (@hzoo)
babel-plugin-transform-runtime: Makefile: run fix json on fix. (@xtuc)
babel-*: Format fixture options.json with Prettier.. (@loganfsmyth)
babel-parser: Bump flow to 0.80 and fix sourceType error. (@existentialism)
babel-parser: types: missing
unambiguoussourceType. (@xtuc)babel-parser: @babel/parser: expose a TypeScript definition file from package. (@AviVahl)
babel-*: add access public to all packages [skip ci]. (@hzoo)
7.0.0
27 Aug 2018babel-eslint v9: github.com/babel/babel-eslint/releases/tag/v9.0…
babel-loader v8: github.com/babel/babel-loader/releases/tag/v8.0…
gulp-babel v8: github.com/babel/gulp-babel/releases/tag/v8.0.0
Writing the post still*, if you see this you are too fast 😂
babeljs.io/blog/2018/08/27/7.0.0
Edit: also updated integrations to v7 as well:
babel-eslint v9: github.com/babel/babel-eslint/releases/tag/v9.0…
babel-loader v8: github.com/babel/babel-loader/releases/tag/v8.0…
gulp-babel v8: github.com/babel/gulp-babel/releases/tag/v8.0.0
rollup-plugin-babel v4: github.com/rollup/rollup-plugin-babel/tag/v4.0.3
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.