6.4.0 (2016-01-06)
Thanks to @samwgoldman for all the new flow support!
- New Feature
babylon
,babel-types
,babel-generator
: #3202 Add support forthis
flow type.babylon
,babel-types
,babel-generator
: #3236 Add support forexport interface
flow syntax.babylon
,babel-types
,babel-generator
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-flow-comments
: #3230 Add support fordeclare type
anddeclare interface
flow syntax.babylon
,babel-types
,babel-generator
,babel-plugin-transform-flow-strip-types
,babel-plugin-transform-flow-comments
: #3203 Add support for flow mixins.babel-cli
: #3221: Handle--nolazy
flag.babel-plugin-transform-es2015-modules-systemjs
: #3166 Add__moduleName
support toSystem.register
. Thanks @guybedford!
- Bug Fix
babel-types
: #3195 AllowJSXText
node inJSXElement
children property and removeStringLiteral
.babel-plugin-transform-es2015-parameters
: #3214 Bugfix forarguments.length
optimization having the wrong length. Thanks @fabiomcosta!babylon
: #3220 Don't parse parenthesized string as aDirective
.babel-helpers
: #3218 Defer to the built-intypeof
if support for Symbols exists. Thanks @jdalton!babel-generator
: #3213 Fix various parentheses bugs.babel-plugin-transform-react-display-name
: #3216 More relaxeddisplayName
inference.babel-helper-function-name
: #3215 Set function names fromAssignmentExpression
. Thanks @spicyj!babel-generator
: #3210 Use a print stack to determine in parenthesis needs to be added.babel-plugin-transform-runtime
: #3235 Ensureopts.polyfill = false
behaves correctly for all visitors. Thanks @guybedford!babel-plugin-transform-runtime
: Ensureregenerator
option doesn't cancel out core-js polyfill.babel-generator
: #3229 Check for parentheses forAwaitExpressions
and fix over-parentheses inYieldExpressions
.
- Spec Compliancy
babylon
: #3225 throw parse error if class properties do not have a semicolon.
- Breaking Change
babel-plugin-external-helpers
: #3205 Renamed frombabel-plugin-external-helpers-2
due to someone taking the npm name beforehand.
- Documentation
- Internal
- #3233 Update LICENSE end date to 2016. Thanks @maclover7!
babylon
: #3204 Prevent users from patching by building it.babel-types
: #3217 AddBinary
alias toAssignmentExpression
.