Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Releases: babel/babylon

v7.0.0-beta.30

28 Oct 23:44
Compare
Choose a tag to compare
v7.0.0-beta.30 Pre-release
Pre-release

v7.0.0-beta.30

Summary: perf fix, flow bugfix, add support for facebook/jsx#84, facebook/jsx#93

JSXFragment: <></>

interface JSXFragment <: Expression {
    type: "JSXFragment";
    openingFragment: JSXOpeningFragment;
    children: [ JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment ];
    closingFragment: JSXClosingFragment;
}
interface JSXOpeningFragment <: Node {
    type: "JSXOpeningFragment";
}
interface JSXClosingFragment <: Node {
    type: "JSXClosingFragment";
}

changelog

  • fix flow unused surpressing comment [skip ci] (Henry Zhu)
  • Add JSX fragment syntax support (#755) (Clement Hoang)
  • Fix "-1" array accesses in CommentsParser. (#777) (Benedikt Meurer)
  • Allow Flowtype's imports and exports when sourceType:script is set. (#771) (Logan Smyth)
  • Update flow tests whitelist (#770) (Brian Ng)

v7.0.0-beta.29

16 Oct 22:33
Compare
Choose a tag to compare
v7.0.0-beta.29 Pre-release
Pre-release

Fixes

  • Add tests for ?? with other LogicalExpressions (Lucas Azzola)
  • Move ?? to LogicalExpression (Lucas Azzola)
  • Add more tests for the nullish coalescing operator (Lucas Azzola)

v7.0.0-beta.28

14 Oct 22:25
Compare
Choose a tag to compare
v7.0.0-beta.28 Pre-release
Pre-release

feature

  • Implement nullish coalescing operator in parser (#761) (Lucas Azzola)

fixes

  • Allow new.target in class properties (#759) (Brian Ng)
  • Fix export extensions handling of TS declare keyword (#757) (Brian Ng)

misc

  • Fix new type errors (#754) (Andy)
  • chore: remove unnecessary return (gebilaoxiong)
  • fix readme (#749) [skip ci] (Brandon Weaver)
  • Update flow-bin to the latest version 🚀 (#746) (greenkeeper[bot])

v7.0.0-beta.27

29 Sep 03:27
Compare
Choose a tag to compare
v7.0.0-beta.27 Pre-release
Pre-release

v7.0.0-beta.27

  • add pipelineOperator plugin + 2 fixes for numeric separators
  • Pipeline Operator proposal (#742) (Henry Zhu)
  • Fix: major revision to valid and invalid numeric literal separator "sibling" characters (#745) (Rick Waldron)
  • Update babel-eslint to the latest version 🚀 (#738) (greenkeeper[bot])
  • Fix NumericLiteralSeparator SyntaxError message to match V8 (#743) (Rick Waldron)
  • don't build for tags (#741) (Henry Zhu)

v7.0.0-beta.26

27 Sep 18:35
Compare
Choose a tag to compare
v7.0.0-beta.26 Pre-release
Pre-release

v7.0.0-beta.26

add throwExpressions

  • Fix flow errors (#735) (Nicolò Ribaudo)
  • Add throw expressions (#740) (Justin Ridgewell)
  • Add yield-result (#737) (Zoe Carver)
  • Distinguish between ternary's : and arrow fn's return type (#596) (Nicolò Ribaudo)

v7.0.0-beta.25

25 Sep 19:50
Compare
Choose a tag to compare
v7.0.0-beta.25 Pre-release
Pre-release

v7.0.0-beta.25

  • Made sure the the AST Nodes in Flow/TS are separated (all TS specific nodes have a TS appended before like TSTypeAnnotation instead of just TypeAnnotation so that tools can differentiate if they need to.
  • Ensure no-overlap between Flow and TS node types (#710) (James Kyle)
  • Clean up uncatagorised decorators (1/2) (#731) (Zoe Carver)
  • Clean up uncategorised tests (#730) (Zoe Carver)

v7.0.0-beta.24

19 Sep 18:19
Compare
Choose a tag to compare
v7.0.0-beta.24 Pre-release
Pre-release
  • Update babel-eslint to the latest version 🚀 (#719) [skip ci] (greenkeeper[bot])
  • classPrivateMethods enables PrivateName usage (Justin Ridgewell)
  • Update rollup to the latest version 🚀 (#725) (greenkeeper[bot])

v7.0.0-beta.23

15 Sep 00:39
Compare
Choose a tag to compare
v7.0.0-beta.23 Pre-release
Pre-release

Main feature is support for private methods

  • Bump rollup (Brian Ng)
  • Remove outdated imports (Nicolò Ribaudo)
  • Remove outdated comment (Nicolò Ribaudo)
  • Add support for class private methods (#703) (Karl Cheng)
  • Update flow-bin to the latest version 🚀 (#714) (greenkeeper[bot])
  • Remove duplicate flow travis job, and update whitelist (#711) (Brian Ng)
  • Use correct branch for babel test (#707) (Daniel Tschinder)
  • Add allowPrimitiveOverride option to flowParseTypeAnnotatableIdentifier (Brian Ng)
  • Disallow failures in the flow-test JOB 🎉 (Nicolò Ribaudo)
  • Add option to update the whitelist (Nicolò Ribaudo)
  • Add whitelist to flow tests (Nicolò Ribaudo)
  • Remove the get_harcoded_tests function, use get_tests (Nicolò Ribaudo)
  • Use a Map instead of an Obejct to store tests (Nicolò Ribaudo)

v7.0.0-beta.22

28 Aug 22:18
Compare
Choose a tag to compare
v7.0.0-beta.22 Pre-release
Pre-release

v7.0.0-beta.22 (2017-08-28)

🐛 Bug Fix

let child: Element<any> = <img src={url} key="img" />;

AST change

interface PrivateName <: Expression, Pattern {
  type: "PrivateName";
- name: Identifier;
+ id: Identifier;
}

💅 Polish

  • #658 Syntax Error: add message with the plugin that should be enabled. (@hzoo)

screen shot 2017-08-03 at 5 00 49 pm

Committers: 3

v7.0.0-beta.21

26 Aug 18:06
Compare
Choose a tag to compare
v7.0.0-beta.21 Pre-release
Pre-release

v7.0.0-beta.21

  • Apply location data fix to decorators plugin (#699) (James Henry)
  • Throw if rest element is not in last position for object expressions (Brian Ng)
  • Enable optionalCatchBinding plugin for test262 tests (#697) (Brian Ng)
  • Fix TypeScript TypeParameterDeclaration location start values (Brian Ng)
  • Add failing test case (James Henry)
  • Raise error if trailing comma after rest element in async func params (Brian Ng)
  • Improve error message for comma after rest element in arrow func (Brian Ng)
  • Fix some cases of keywords with escape sequences (Brian Ng)
  • Fix some cases of invalid labeled declarations (Brian Ng)
  • Adjusted Object Rest/Spread syntax handling to the latest spec (#670) (Mateusz Burzyński)
  • Test262 update (#692) (Mateusz Burzyński)
  • Update rollup config options (#685) (Brian Ng)
  • add test for do expressions (#688) (Sangboak Lee)
  • Fix: Use parseExprAtom() for TS module id string (#684) (James Henry)