v7.0.0-beta.3
Pre-release
Pre-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 tobabel-plugin-proposal-x
instead ofbabel-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 [email protected] and earlier. (@Andarist)
babel-core
- #6350 Cache plugins and presets based on their identity. (@loganfsmyth)
babel-core
,babel-helper-module-imports
,babel-traverse
- #6343 Remove core .metadata properties and resolveModuleSource. (@loganfsmyth)
🚀 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
- #6335 Pipeline operator. (@jridgewell)
babel-cli
- #6232 Add --include-dotfiles option to babel-cli. (@existentialism)
babel-plugin-transform-es2015-modules-commonjs
,babel-plugin-transform-es2015-template-literals
babel-standalone
babel-core
,babel-generator
,babel-plugin-syntax-throw-expressions
,babel-plugin-transform-throw-expressions
,babel-preset-stage-2
,babel-template
,babel-traverse
,babel-types
- #6325 Add throw expressions. (@jridgewell)
🐛 Bug Fix
babel-plugin-transform-function-bind
- #6481 Don't insert duplicated nodes when transforming function bind. (@nicolo-ribaudo)
babel-plugin-transform-class-properties
- #6466 Evaluate computed class props only once. (@Qantas94Heavy)
babel-plugin-transform-do-expressions
,babel-traverse
babel-core
- #6377 Fix "module" external helpers output. (@loganfsmyth)
babel-plugin-transform-es2015-destructuring
babel-plugin-transform-es2015-parameters
,babel-traverse
- #6351 Requeueing sometimes has wrong scope. (@jridgewell)
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
- #6337 Path#ensureBlock keeps path context. (@jridgewell)
babel-generator
- #6334 Fix generator missing parens on Flow union types. (@existentialism)
💅 Polish
babel-traverse
- #6349 Remove debug closures. (@jridgewell)
📝 Documentation
- Other
babel-preset-typescript
babel-helper-module-imports
🏠 Internal
.eslintrc
- #6457 Use no-undefined-identifier eslint rule in packages. (@existentialism)
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
- #6381 centralize plugin options. (@RusinovAnton)
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
- #6366 Fix runtime helpers generator. (@nicolo-ribaudo)
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
- #6254 Add support for helper dependencies. (@nicolo-ribaudo)
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
- #6356 Remove babel-messages and inline the usages. (@JeromeFitz)
babel-helper-module-imports
,babel-plugin-transform-decorators
,babel-plugin-transform-typescript
- #6355 Bump prettier. (@existentialism)
- Other
babel-traverse
- #6349 Remove debug closures. (@jridgewell)
babel-standalone