Skip to content

Releases: babel/babel

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.

v6.3.18

14 Dec 14:19
Compare
Choose a tag to compare

6.3.18

  • Bug Fix
    • babylon: #3107 Fix incorrect directive parsing
    • babel-generator: #3158 Parenthesize object expression when it may end up at the start of an expression
    • babel-plugin-transform-regenerator: #3160 Fix typo
  • Polish
    • babel-types: #2933 Generate documentation for babel-types.
    • babel-plugin-transform-es2015-parameter: #2833 Optimize arguments usage.
    • babel-messages: #3123 clarify traverseNeedsParent message.

v6.3.17

11 Dec 03:02
Compare
Choose a tag to compare

6.3.17

  • Bug Fix
    • babel-types: #3153 DoWhileStatement should take node type Statement as body.
  • New Feature
    • babel-generator: #3152 Add a new minified format option to do possibly dangerous byte saving.
  • Internal
    • babel-traverse: #3151 Support ObjectProperty in Scope.isPure
  • Polish
    • babel-cli: #3150 Do not prefer global when installing babel-cli

v6.3.16

09 Dec 04:12
Compare
Choose a tag to compare

6.3.16

  • Bug Fix
    • babel-traverse:
      • #3137 Set the correct parent and parentPath for new a NodePath (fixes an issue with export * from './a' and es2015-modules-commonjs).
    • babel-generator:
      • #3145 Always print "" in compact mode for consistency (gzip). Will be changed in a new mode (a supserset of compact) in a later patch.
      • #3146 Don't print comments in compact mode.
      • #3147 Don't print parentheses on throw statements with SequenceExpression.
  • Internal
    • babel-traverse:
      • #3138 Support UnaryExpression in isPure check.

v6.3.15

06 Dec 16:36
Compare
Choose a tag to compare
  • Bug Fix
    • babel-generator:
      • #3111 Compact Mode: remove unnecessary () from a NewExpressions when possible (new x() -> new x).
    • babel-helper-function-name:
      • #3138 Skip name inference on certain uses of classes until we can handle them.
    • babel-traverse:
      • #3141 Fix bug with evaluating an expression on it's own binding.
    • babel-plugin-transform-es2015-destructuring:
      • #3136 Seperate the destructuring statement from the export statement before converting.
    • babel-plugin-transform-es2015-classes:
      • #3134 Ensure default exports have a name before splitting them.
      • #3135 Pass async and generator properties when converting a ClassMethod.

v6.3.14

04 Dec 19:11
Compare
Choose a tag to compare
  • Bug Fix
    • babel-traverse:
      • #3133 Fix regression with scope in switch statement (fixes an issue with transform-es2015-spread). Related to #3127.

v6.3.13

04 Dec 19:12
Compare
Choose a tag to compare

Testing lerna - A tool for managing JavaScript projects with multiple packages.

  • Bug Fix
    • babylon, babel-types, babel-generator:
      • #3130 Add support for NullLiteralTypeAnnotation (null literal type) in flow.