v7.0.0-alpha.20 (2017-08-30)
Summary
- Handle
Symbol
intransform-es2015-computed-properties
- Disallow
...[
&...{
inside object destructuring
// Invalid
( {...{}} = {} ); ( {...[]} = {} );
let {...{}} = {}; let {...[]} = {};
- 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
)
👓 Spec Compliancy
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
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
💥 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)
🚀 New Feature
🐛 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)
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
💅 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)
📝 Documentation
babel-plugin-transform-class-properties
- Other
- #6121 Update babel/website link. (@maurobringolf)
babel-plugin-transform-react-inline-elements
🏠 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
Committers: 24
- Andy (andy-ms)
- Anup (reznord)
- Artem Yavorsky (yavorsky)
- Astha Sharma (asthas)
- Boopathi Rajaa (boopathi)
- Brandon Max (bmax)
- Brian Ng (existentialism)
- Bryan Wain (bdwain)
- Buu Nguyen (buunguyen)
- Daniel Lo Nigro (Daniel15)
- Diogo Franco (Kovensky)
- Henry Zhu (hzoo)
- Justin Ridgewell (jridgewell)
- Karl Cheng (Qantas94Heavy)
- Logan Smyth (loganfsmyth)
- Mateusz Burzyński (Andarist)
- Mauro Bringolf (maurobringolf)
- Nicolò Ribaudo (nicolo-ribaudo)
- Noah Lemen (kedromelon)
- Oliver Don (oliverdon)
- Ramiro Silveyra d'Avila (ramasilveyra)
- Rick Waldron (rwaldron)
- Sangboak Lee (echo304)
- Vasiliy Shilov (uxter)