npm @babel/plugin-external-helpers 7.0.0-beta.45
v7.0.0-beta.45

latest releases: 8.0.0-alpha.13, 7.25.9, 7.25.7...
6 years ago

v7.0.0-beta.45 (2018-04-23)

Summary

EDIT: Released v7.0.0-beta.46
Yes, seems that it's taken that long for us to finish v7 ๐Ÿ˜›

  • Drop Node 4 Support (ends 4/30).
  • Make Stage 2 decorators "default" (implementation is still WIP), and require people use the decoratorsLegacy option for easier migration.
  • Change @babel/polyfill to not throw an error but a warning if it is imported multiple times. Also introduce another entry point without the warning
  • Change how Babel handles config files regarding a lot of cases, especially for compiling node_modules. Introduce babel.config.js
    • If you are using a monorepo an a single .babelrc, you will need to change to babel.config.js like Babel itself is doing (#7784)
  • Add ES2018 to @babel/preset-env: like object rest/spread, etc.
  • Lots of spec and bug fixes! Shoutout to Justin (@jridgewell) and Josh (@CodingItWrong) for all the PR work for private properties!

Changelog

๐Ÿ’ฅ Breaking Change

  • babel-cli, babel-core, babel-preset-env, babel-register
    • #7358 Allow more flexible file-based configuration while preventing .babelrcs from breaking things. (@loganfsmyth)
  • babylon
  • babel-core, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-plugin-transform-function-name, babel-preset-stage-0, babel-preset-stage-1, babel-preset-stage-2

๐Ÿš€ New Feature

  • babel-polyfill
  • babel-cli, babel-core, babel-preset-env, babel-register
    • #7358 Allow more flexible file-based configuration while preventing .babelrcs from breaking things. (@loganfsmyth)
  • babel-generator, babel-types, babylon
  • babel-preset-env
  • babel-core, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-proposal-function-bind, babel-plugin-transform-classes, babel-plugin-transform-flow-comments, babel-plugin-transform-flow-strip-types, babel-plugin-transform-function-name, babel-plugin-transform-jscript, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-standalone
  • babel-helper-transform-fixture-test-runner
  • babel-generator, babel-helper-define-map, babel-plugin-syntax-class-properties, babel-plugin-transform-parameters, babel-plugin-transform-react-constant-elements, babel-traverse, babel-types

๐Ÿ‘“ Spec Compliancy

  • babel-helper-simple-access, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs
  • babel-core, babel-generator, babel-plugin-proposal-decorators, babel-types, babylon
  • babel-plugin-transform-classes
  • babel-plugin-transform-template-literals
  • babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super
  • babel-helper-replace-supers, babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-preset-env

๐Ÿ› Bug Fix

  • babel-helper-simple-access, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs
  • babel-helper-replace-supers, babel-plugin-transform-classes, babel-plugin-transform-object-super
  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-transform-classes
  • 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-preset-env
  • babel-generator
    • #7769 [bebal-generator] fix: don't write ': ' token when name is null. (@Quramy)
  • babylon
  • babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super
  • babel-types
  • babel-helper-function-name, babel-plugin-transform-function-name
    • #7435 Fix function name computation for literal values. (@Axnyff)
  • babel-plugin-proposal-class-properties
  • babel-plugin-proposal-optional-chaining, babel-types

๐Ÿ’… Polish

  • babel-helpers
  • babel-helper-replace-supers, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-traverse
  • babel-plugin-proposal-class-properties, babel-plugin-transform-parameters
  • babylon
    • #7717 Provide better error message for invalid default export declaration. (@dczombera)
  • babel-helper-replace-supers, babel-plugin-transform-classes
  • babel-plugin-transform-object-super

๐Ÿ“ Documentation

  • babel-plugin-proposal-decorators, babel-preset-stage-0, babel-preset-stage-1, babel-preset-stage-2
  • Other

๐Ÿ  Internal

  • babel-helper-replace-supers, babel-plugin-proposal-class-properties, babel-plugin-transform-classes, babel-plugin-transform-parameters
  • babel-helper-member-expression-to-functions, babel-helper-replace-supers, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super
  • babel-helper-replace-supers, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-traverse
  • babel-helper-transform-fixture-test-runner
  • babel-helper-transform-fixture-test-runner, babel-plugin-proposal-class-properties, babel-plugin-proposal-optional-catch-binding, babel-plugin-transform-block-scoping, babel-plugin-transform-classes, babel-plugin-transform-computed-properties, babel-plugin-transform-jscript, babel-plugin-transform-object-super
  • babel-cli, babel-core, babel-generator, babel-plugin-proposal-decorators, babel-plugin-proposal-logical-assignment-operators, babel-preset-es2015
    • #7549 Migrate babel-cli and babel-generator tests to use jest-expect. (@devenbansod)
  • babel-plugin-transform-classes, babel-traverse
  • Other
  • babel-traverse, babel-types

Committers: 17

Don't miss a new plugin-external-helpers release

NewReleases is sending notifications on new releases.