Babel v7.0.0-beta.3 Release Notes

Release Date: 2017-10-15 // over 6 years ago
  • ⚑️ > Update from beta.2 -> beta.3 looks like this: https://github.com/babel/babel/pull/6488


    πŸš€ > Wanted to get this release out first, but next release we should make necessary breaking changes for later: using peerDeps on babel-core so that people don't install incompatible versions of plugins/babel itself and get weird errors reported, using scoped npm packages like @babel/core due to issues with npm squatting, knowing what is an official package or not, etc, and renaming proposal plugins to babel-plugin-proposal-x instead of babel-plugin-transform-x

    πŸ“¦ > Note: don't use ^ in your dependencies when using a beta. It can still break between (we should try not to do it but it can), so pin all the packages

    • Pipeline Operator: (a |> b), also in the Stage 1 Preset
    • Throw Expressions: (() => throw 'hi'), also in Stage 2
    • πŸ”Œ Preset/Plugin options are available top level rather than previously only in the visitor state
    • πŸ›  Many fixes
    :boom: Breaking Change
    • babel-helper-remap-async-to-generator
    • babel-core
    • babel-core, babel-helper-module-imports, babel-traverse
    :rocket: New Feature
    • babel-template
    • πŸ”Œ babel-core, babel-generator, babel-plugin-syntax-pipeline-operator, babel-plugin-transform-pipeline-operator, babel-preset-stage-1, babel-template, babel-traverse, babel-types
    • babel-cli
    • πŸ”Œ babel-plugin-transform-es2015-modules-commonjs, babel-plugin-transform-es2015-template-literals
      • #6327 Annotating taggedTemplateLiteral calls as #__PURE__. (@Andarist)
    • babel-standalone
      • #6322 Add transform-new-target and missed stage-3 plugins to babel-standalone.. (@yavorsky)
    • πŸ”Œ babel-core, babel-generator, babel-plugin-syntax-throw-expressions, babel-plugin-transform-throw-expressions, babel-preset-stage-2, babel-template, babel-traverse, babel-types
    :bug: Bug Fix
    • πŸ”Œ babel-plugin-transform-function-bind
    • πŸ”Œ babel-plugin-transform-class-properties
    • πŸ”Œ babel-plugin-transform-do-expressions, babel-traverse
    • babel-core
    • πŸ”Œ babel-plugin-transform-es2015-destructuring
      • #6374 Fixed reusing node in destructuring plugin, which caused caching issu…. (@Andarist)
    • πŸ”Œ babel-plugin-transform-es2015-parameters, babel-traverse
    • babel-traverse
      • #6354 unshiftContainer seems to incorrectly handle function params #6150. (@daft300punk)
    • πŸ”Œ babel-plugin-check-es2015-constants, babel-plugin-transform-class-properties, babel-plugin-transform-es2015-block-scoping, babel-plugin-transform-es2015-parameters, babel-traverse
    • babel-generator
    πŸ’… :nail_care: Polish
    πŸ“š :memo: Documentation
    • Other
    • babel-preset-typescript
      • #6365 note about .ts extension in the preset [skip ci]. (@hzoo)
    • babel-helper-module-imports
      • #6323 add docs for other import syntax [skip ci]. (@hzoo)
    :house: Internal
    • πŸ‘• .eslintrc
    • πŸ”Œ babel-plugin-transform-async-to-module-method, babel-plugin-transform-class-properties, babel-plugin-transform-es2015-arrow-functions, babel-plugin-transform-es2015-classes, babel-plugin-transform-es2015-computed-properties, babel-plugin-transform-es2015-for-of, babel-plugin-transform-es2015-modules-amd, babel-plugin-transform-es2015-modules-commonjs, babel-plugin-transform-es2015-modules-systemjs, babel-plugin-transform-es2015-modules-umd, babel-plugin-transform-es2015-parameters, babel-plugin-transform-es2015-spread, babel-plugin-transform-es2015-template-literals, babel-plugin-transform-optional-chaining, babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime
    • babel-cli
    • babel-core
      • #6435 Always pass an options object to presets and plugins.. (@loganfsmyth)
      • #6326 Preserve object identity when loading config, for improved future caching.. (@loganfsmyth)
    • babel-helpers, babel-runtime
    • βœ… babel-cli, babel-core, babel-helper-transform-fixture-test-runner, babel-template, babel-traverse
      • #6359 Split up babel-core's File class and add Flowtype annotations. (@loganfsmyth)
    • babel-core, babel-helpers, babel-runtime
    • πŸ”Œ babel-core, babel-generator, babel-helper-replace-supers, babel-messages, babel-plugin-check-es2015-constants, babel-plugin-transform-es2015-classes, babel-plugin-transform-es2015-for-of, babel-traverse
    • πŸ”Œ babel-helper-module-imports, babel-plugin-transform-decorators, babel-plugin-transform-typescript
    • Other
      • #6348 remove inline plugin from Babel's .babelrc. (@xjlim)
    • babel-traverse
    • babel-standalone
      • #6338 transform-es2015-template-literals doesn't have spec mode anymore, ch…. (@Andarist)