Babel v7.10.0 Release Notes

Release Date: 2020-05-26 // almost 4 years ago
  • v7.10.0 (2020-05-26)

    Thanks @AndrewLeedham, @fisker, @kik-o, @kitos, @lazytype for their first PRs!

    πŸ”Œ We are also releasing the first experimental version of the new polyfills plugins: you can check them out at babel/babel-polyfills.

    🍱 πŸ‘“ Spec Compliance

    • πŸ”Œ babel-plugin-proposal-logical-assignment-operators
      • #11370 logical-assignment: Do not assign names to anonymous functions (@arku)

    🍱 πŸš€ New Feature

    • πŸ”Œ babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-helper-optimise-call-expression, babel-helper-replace-supers, babel-parser, babel-plugin-proposal-class-properties
    • babel-standalone
      • #11593 feat: add privatePropertyInObject to babel-standalone (@JLHwung)
      • #11466 Support data-type="module" to generate native <script type="module"> (@dfabulich)
    • πŸ”Œ babel-cli, babel-helper-create-class-features-plugin, babel-parser, babel-plugin-proposal-private-property-in-object, babel-types
    • πŸ”Œ babel-compat-data, babel-plugin-transform-template-literals, babel-plugin-transform-unicode-escapes, babel-preset-env, babel-standalone
    • πŸ”Œ babel-parser, babel-plugin-syntax-module-attributes, babel-standalone
    • babel-helper-compilation-targets, babel-preset-env
    • babel-cli
    • πŸ”Œ babel-helpers, babel-plugin-transform-destructuring, babel-plugin-transform-spread, babel-traverse
    • πŸ”Œ babel-helpers, babel-plugin-transform-for-of, babel-preset-env
    • πŸ“œ babel-parser
    • πŸ”Œ babel-plugin-transform-react-pure-annotations, babel-preset-react
      • #11428 Implement plugin-transform-react-pure-annotationsand add to preset-react (@devongovett)
    • babel-compat-data, babel-preset-env

    🍱 πŸ› Bug Fix

    • babel-traverse
    • πŸ”Œ babel-plugin-proposal-optional-chaining
      • #10961 fix: optional-chaining should work correctly with ts non-null operator (@macabeus)
    • πŸ“œ babel-parser, babel-types
      • #11547 refactor: add isLiteralPropertyName to parser utils (@JLHwung)
    • πŸ”Œ babel-plugin-transform-typescript
    • πŸ”Œ babel-plugin-proposal-object-rest-spread
      • #11550 fix(plugin-proposal-object-rest-spread): use computed memberExpression for literal keys (@kitos)
    • πŸ”Œ babel-plugin-transform-runtime
    • babel-generator
      • #11502 getters and setters support in generator for declare class statement (@zxbodya)

    πŸ’… πŸ’… Polish

    • πŸ”Œ 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
      • #11514 [helpers] Add a private function name within createSuper (@cpojer)

    🍱 🏠 Internal

    • Other
    • πŸ“œ babel-parser
      • #11597 Fix comments for smartPipeline topic-forbidding contexts (@lazytype)
    • πŸ”Œ babel-core, babel-generator, babel-helper-compilation-targets, babel-helpers, babel-parser, babel-plugin-proposal-decorators, babel-plugin-proposal-json-strings, babel-plugin-transform-block-scoping, babel-plugin-transform-flow-comments, babel-plugin-transform-modules-systemjs, babel-plugin-transform-react-jsx-source, babel-plugin-transform-runtime, babel-preset-env, babel-standalone, babel-template, babel-traverse, babel-types

    🐎 πŸƒβ€β™€οΈ Performance

    • πŸ”Œ babel-plugin-proposal-object-rest-spread

    ↩️ Revert

    Committers: 18