Babel v7.0.0-alpha.20 Release Notes
Release Date: 2017-08-30 // over 6 years ago-
- π Handle
Symbol
intransform-es2015-computed-properties
- Disallow
...[
&...{
inside object destructuring
// Invalid ( {...{}} = {} ); ( {...[]} = {} ); let {...{}} = {}; let {...[]} = {};
- 0οΈβ£ Split
transform-export-extensions
intotransform-export-namespace
andtransform-export-default
plugins - π Move
transform-numeric-separator
to Stage 2 - π Move
transform-class-properties
to Stage 3- Change the default transform to use
Object.defineProperty
andloose
option to use assignment (this.a = 1
) - Use
configurable: true
- Change the default transform to use
- π Change
es2015-template-literals
to use.concat
by default and concatenation inloose
mode. - β Remove deprecated jsx pragma check in
transform-react-jsx
- β Remove
preset-flow
from thepreset-react
(there was confusion on why type syntax was allowed, and it also made it incompatible withpreset-typescript
- β Add
--config-file
CLI flag to explicitly pass a config location - π Move
babel-standalone
into the repo (another form of this used to bebabel-browser
)
:eyeglasses: Spec Compliance
- π
babel-plugin-transform-async-to-generator
,babel-*
- π
babel-helpers
,babel-plugin-transform-es2015-computed-properties
- #6159 Allow native Symbols as computed property names. (@jridgewell)
- π
babel-plugin-check-es2015-constants
,babel-traverse
,babel-types
- #6100 Consistent const violations. (@maurobringolf)
- π
babel-generator
,babel-plugin-transform-es2015-destructuring
,babel-plugin-transform-object-rest-spread
- 0οΈβ£
babel-plugin-transform-export-default
,babel-plugin-transform-export-extensions
,babel-plugin-transform-export-namespace
,babel-preset-stage-1
,babel-preset-stage-2
- π
babel-plugin-transform-class-properties
- π
babel-plugin-transform-class-properties
,babel-plugin-transform-decorators
,babel-plugin-transform-es2015-parameters
,babel-plugin-transform-flow-comments
,babel-plugin-transform-new-target
,babel-plugin-transform-react-constant-elements
,babel-preset-stage-2
,babel-preset-stage-3
- #6076 Update Class Fields to Stage 3 and change default behavior. (@kedromelon)
babel-preset-stage-1
,babel-preset-stage-2
:boom: Breaking Change
- π
babel-plugin-transform-es2015-template-literals
- #6098 default to spec mode for template literal transform. (@kedromelon)
- π
babel-generator
,babel-plugin-transform-es2015-destructuring
,babel-plugin-transform-object-rest-spread
- π
babel-plugin-transform-flow-strip-types
,babel-preset-flow
,babel-preset-react
- #6118 Remove Flow support in React preset. (@ramasilveyra)
babel-helper-fixtures
,babel-*
- #6157 Don't merge test options.. (@jridgewell)
:rocket: New Feature
:bug: Bug Fix
babel-core
- #5586 Handle cycles of plugins compiling themselves and .babelrc.js files loading themselves. (@loganfsmyth)
- π
babel-plugin-transform-es2015-destructuring
,babel-traverse
- #5743 Fix issue replacement nodes not requeued for transforming after destructuring. (@buunguyen)
- π
babel-plugin-check-es2015-constants
,babel-plugin-transform-es2015-block-scoping
,babel-traverse
- #6156 Fix overshadowing local binding. (@jridgewell)
- π
babel-helper-replace-supers
,babel-plugin-transform-class-properties
,babel-traverse
- #6158 Class instance properties define their own context. (@jridgewell)
- 0οΈβ£
babel-plugin-transform-export-default
,babel-plugin-transform-export-namespace
,babel-types
- #6139 Complete export transform split. (@jridgewell)
- π
babel-plugin-transform-es2015-parameters
,babel-traverse
- #5741 Fix relative execution location introspection. (@jridgewell)
- π
babel-helper-replace-supers
,babel-plugin-transform-es2015-classes
- #6103 Don't use _possibleConstructorReturn inside arrow functions. (@nicolo-ribaudo)
- π
babel-plugin-transform-class-properties
babel-preset-stage-2
- π
babel-plugin-transform-es2015-block-scoping
,babel-types
π :nail_care: Polish
- π
babel-plugin-transform-es2015-classes
,babel-plugin-transform-flow-comments
,babel-plugin-transform-flow-strip-types
- #5560 Closes #4840: Alias class prototype for methods in loose mode. (@oliverdon)
π :memo: Documentation
- π
babel-plugin-transform-class-properties
- Other
- #6121 Update babel/website link. (@maurobringolf)
- π
babel-plugin-transform-react-inline-elements
:house: Internal
babel-standalone
- π
babel-plugin-transform-es2015-template-literals
- #6169 re-add template literals tests, add ones that were missing. (@kedromelon)
babel-core
,babel-generator
,babel-template
,babel-traverse
,babel-types
babel-*
- #6096 linting: disallow t.identifier("undefined") in plugins. (@kedromelon)
- Other
- π
babel-core
,babel-plugin-transform-es2015-classes
,babel-plugin-transform-regenerator
,babel-plugin-transform-runtime
,babel-runtime
- π
babel-plugin-transform-es2015-parameters
- #6116 Fix rest-member-expression-optimisation fixture. (@existentialism)
- π
babel-plugin-transform-class-properties
- #6090 Fix class prop test fixture. (@existentialism)
babel-register
- #6085 Replace decache with direct removal in babel-register tests. (@existentialism)
babel-generator
- π
babel-plugin-syntax-typescript
,babel-preset-typescript
- π Handle