Releases: babel/babel
Releases · babel/babel
v6.4.2
6.4.2 (2016-01-06)
- Bug Fix
babylon
: #3244 fix error location for class properties with a missing semicolon (Ref #3225).babel-plugin-transform-es2015-parameters
: #3246 Support expressions in rest arg access forarguments.length
optimization.babel-generator
: #3247 Parenthesize await/yield expression inBinaryExpression
(Ref #3229).
v6.4.1
v6.4.0
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
.
v6.3.26
6.3.26
- Bug Fix
- Spec Compliancy
- Internal
v6.3.25
6.3.25
- Bug Fix
- Internal
babel-plugin-transform-es2015-parameters
: #3165 Optimizearguments
access
v6.3.24
v6.3.23
v6.3.21
6.3.21
- Bug Fix
babel-generator
: #3173 Fix unhandled new-precedence edge cases regarding parentheses (fixes T6829).babel-generator
: #3180 Handle nestedIfStatement
with an `alternate.babel-generator
: #3182 ParenthesizeArrowFunctionExpression
when part of aLogicalExpression
orBinaryExpression
(fixes T6836).babel-traverse
: #3171 Fix infinite recursion bug withintrospection
method.transform-es2015-function-name
: #3176 Stop transformingObjectMethod
(MethodDefinition
) to aFunctionExpression
since thetransform-es2015-shorthand-properties
plugin already does it.transform-es2015-parameters
: #3143 Optimizations forRestElement
such as usingarguments.length
(fixes T6774).
- Documentation
babel-core
: #3177 Clarify description ofcomments
file config.
- Internal
v6.3.20
v6.3.19
6.3.19
- New Feature
babel-plugin-flow-comments
: #3157 Movebabel-plugin-flow-comments
to the babel repo and update for babel 6.
- Bug Fix
babel-runtime
: #3142 Add a custom transform forbabel-runtime
builds to avoid circular dependencies (Fixes thebabel-runtime/helpers/typeof
issue).babel-traverse
: #3161 Only rename the *outer function bindings on name conflict.babel-generator
: #3167 Use the left most node from the right to check if we need spaces inBinaryExpressions
.