Skip to content

@hzoo hzoo released this Oct 15, 2017 · 4375 commits to master since this release

v7.0.0-beta.3 (2017-10-15)

Update from beta.2 -> beta.3 looks like this: #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

πŸ’₯ Breaking Change

  • babel-helper-remap-async-to-generator
    • #6451 Drop old compatibility if statement targeting babel@6.15 and earlier. (@Andarist)
  • babel-core
  • babel-core, babel-helper-module-imports, babel-traverse

πŸš€ 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 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
  • 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

πŸ’… Polish

πŸ“ 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)

🏠 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)
Assets 2
You can’t perform that action at this time.