Babel v7.14.0 Release Notes

Release Date: 2021-04-29 // 13 days ago
  • :eyeglasses: Spec Compliance

    • ๐Ÿ“œ babel-generator, babel-parser

    :rocket: New Feature

    • ๐Ÿ”Œ babel-plugin-proposal-async-do-expressions
    • ๐Ÿ”Œ babel-core, babel-generator, babel-parser, babel-plugin-proposal-do-expressions, babel-plugin-syntax-async-do-expressions, babel-types
    • babel-preset-env
    • babel-compat-data, babel-preset-env
    • ๐Ÿ”Œ babel-helper-create-class-features-plugin, babel-plugin-proposal-private-property-in-object, babel-plugin-syntax-private-property-in-object
    • ๐Ÿ“œ babel-parser
    • ๐Ÿ”Œ babel-helper-module-transforms, babel-helpers, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd
    • ๐Ÿ“œ babel-generator, babel-parser, babel-traverse, babel-types
    • ๐Ÿ“œ babel-parser, babel-traverse
    • ๐Ÿ“œ babel-generator, babel-parser, babel-types

    :bug: Bug Fix

    • babel-generator
      • #13208 Prevent ForOfStatement from printing the forbidden sequence "for ( async of" (@Zalathar)
      • #13169 fix: don't deduplicate comments with same start index (@gzzhanghao)
    • ๐Ÿ”Œ babel-generator, babel-plugin-proposal-object-rest-spread, babel-preset-env
      • #13204 Simplify the special-case printing of single-param arrow functions (@Zalathar)
    • babel-core

    ๐Ÿ’… :nail_care: Polish

    • ๐Ÿ”Œ babel-cli, babel-core, babel-parser, babel-plugin-transform-classes, babel-preset-env, babel-preset-typescript
      • #13130 babel-parser: Add new internal ESLint rule to consistent error messages (@sosukesuzuki)

    :house: Internal

    • ๐Ÿ“œ babel-parser
    • babel-helpers, babel-preset-env, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime
    • Other

    ๐ŸŽ :running_woman: Performance

    • babel-core
      • #13090 perf(core): check files before interacting with them (@FauxFaux)
      • #13223 perf: avoid loadFullConfig when creating block hoist plugin (@JLHwung)
    • babel-helper-validator-identifier

    :microscope: Output optimization

    • ๐Ÿ›  babel-helper-create-class-features-plugin, babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-preset-env
    • babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime