Skip to content

Releases: babel/babel

v6.4.2

07 Jan 02:53
Compare
Choose a tag to compare

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 for arguments.length optimization.
    • babel-generator: #3247 Parenthesize await/yield expression in BinaryExpression (Ref #3229).

v6.4.1

07 Jan 01:02
Compare
Choose a tag to compare

6.4.1 (2016-01-06)

  • Bug Fix
    • babel-types: #3245 Temporarily revert adding the Binary alias #3217 and tests.

v6.4.0

06 Jan 20:54
Compare
Choose a tag to compare

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 for this flow type.
    • babylon, babel-types, babel-generator: #3236 Add support for export interface flow syntax.
    • babylon, babel-types, babel-generator, babel-plugin-transform-flow-strip-types, babel-plugin-transform-flow-comments: #3230 Add support for declare type and declare 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 to System.register. Thanks @guybedford!
  • Bug Fix
    • babel-types: #3195 Allow JSXText node in JSXElement children property and remove StringLiteral.
    • babel-plugin-transform-es2015-parameters: #3214 Bugfix for arguments.length optimization having the wrong length. Thanks @fabiomcosta!
    • babylon: #3220 Don't parse parenthesized string as a Directive.
    • babel-helpers: #3218 Defer to the built-in typeof if support for Symbols exists. Thanks @jdalton!
    • babel-generator: #3213 Fix various parentheses bugs.
    • babel-plugin-transform-react-display-name: #3216 More relaxed displayName inference.
    • babel-helper-function-name: #3215 Set function names from AssignmentExpression. Thanks @spicyj!
    • babel-generator: #3210 Use a print stack to determine in parenthesis needs to be added.
    • babel-plugin-transform-runtime: #3235 Ensure opts.polyfill = false behaves correctly for all visitors. Thanks @guybedford!
    • babel-plugin-transform-runtime: Ensure regenerator option doesn't cancel out core-js polyfill.
    • babel-generator: #3229 Check for parentheses for AwaitExpressions and fix over-parentheses in YieldExpressions.
  • Spec Compliancy
    • babylon: #3225 throw parse error if class properties do not have a semicolon.
  • Breaking Change
    • babel-plugin-external-helpers: #3205 Renamed from babel-plugin-external-helpers-2 due to someone taking the npm name beforehand.
  • Documentation
    • babel-generator: #3240 Fix small in babel-generator README sample code. Thanks @athaeryn!
  • Internal
    • #3233 Update LICENSE end date to 2016. Thanks @maclover7!
    • babylon: #3204 Prevent users from patching by building it.
    • babel-types: #3217 Add Binary alias to AssignmentExpression.

v6.3.26

24 Dec 03:45
Compare
Choose a tag to compare

6.3.26

  • Bug Fix
    • babel-plugin-transform-es2015-parameters: #3191 Fix the order of arguments initialization (fixes T6809)
    • babel-traverse: #3198 In evaluate(), it should not mistake lack of confidence for falsy
  • Spec Compliancy
    • babylon, babel-generator, babel-plugin-transform-regenerator: #3190: Remove await * from babylon and raise an error for that syntax since it was removed from the proposal and was causing an issue at runtime but not at compile time (fixes T6688).
  • Internal
    • Fix gulp build path to work on windows (fixes T6855).
    • babel: #3193 Point users to the cli docs
    • babel-core: #3196 Add a test for checking plugins/presets are resolved relative to filename

v6.3.25

21 Dec 22:34
Compare
Choose a tag to compare

6.3.25

  • Bug Fix
    • babylon: #3187 Multiple "use strict" in function causes outer scope to be parsed as strict
    • babel-generator: #3188 Correctly set format.quotes to opts.quotes
    • babel-generator: #3189 JSX attributes should use double qoutes
    • babel-traverse: #3192 Fixed static evaluation bug
  • Internal
    • babel-plugin-transform-es2015-parameters: #3165 Optimize arguments access

v6.3.24

20 Dec 02:44
Compare
Choose a tag to compare

6.3.24

  • Bug Fix
    • babel-traverse: #3184 Fixed overly permissive type inference.

v6.3.23

18 Dec 16:06
Compare
Choose a tag to compare

6.3.23

Skipped 6.3.22.

  • Breaking Change
    • Renamed the Flow Comments plugin from babel-plugin-flow-comments to babel-plugin-transform-flow-comments for naming consistency.

v6.3.21

18 Dec 16:06
Compare
Choose a tag to compare

6.3.21

  • Bug Fix
    • babel-generator: #3173 Fix unhandled new-precedence edge cases regarding parentheses (fixes T6829).
    • babel-generator: #3180 Handle nested IfStatement with an `alternate.
    • babel-generator: #3182 Parenthesize ArrowFunctionExpression when part of a LogicalExpression or BinaryExpression (fixes T6836).
    • babel-traverse: #3171 Fix infinite recursion bug with introspection method.
    • transform-es2015-function-name: #3176 Stop transforming ObjectMethod (MethodDefinition) to a FunctionExpression since the transform-es2015-shorthand-properties plugin already does it.
    • transform-es2015-parameters: #3143 Optimizations for RestElement such as using arguments.length (fixes T6774).
  • Documentation
    • babel-core: #3177 Clarify description of comments file config.
  • Internal
    • *: #3179 Update flow to 0.20.0 and add @noflow until types are added in.
    • babel-generator: #3178 Fix type annotation for shouldPrintComment.

v6.3.20

16 Dec 20:32
Compare
Choose a tag to compare

6.3.20

  • Bug Fix
    • babel-generator: #3170 Fix invalid code generation for numeric MemberExpression (5.toString() -> 5..toString()).
    • babel-types: #3172 Add Expression alias to BindExpression.

v6.3.19

14 Dec 22:27
Compare
Choose a tag to compare

6.3.19

  • New Feature
    • babel-plugin-flow-comments: #3157 Move babel-plugin-flow-comments to the babel repo and update for babel 6.
  • Bug Fix
    • babel-runtime: #3142 Add a custom transform for babel-runtime builds to avoid circular dependencies (Fixes the babel-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 in BinaryExpressions.