This repository has been archived by the owner on May 19, 2018. It is now read-only.
Releases: babel/babylon
Releases · babel/babylon
v7.0.0-beta.30
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
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
v7.0.0-beta.27
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
v7.0.0-beta.25
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 likeTSTypeAnnotation
instead of justTypeAnnotation
so that tools can differentiate if they need to.
v7.0.0-beta.24
v7.0.0-beta.23
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, useget_tests
(Nicolò Ribaudo) - Use a Map instead of an Obejct to store tests (Nicolò Ribaudo)
v7.0.0-beta.22
v7.0.0-beta.22 (2017-08-28)
🐛 Bug Fix
- #702 Fix regression with generic type and jsx. (@existentialism)
let child: Element<any> = <img src={url} key="img" />;
- #698 Rename PrivateName.name to .id. (@Qantas94Heavy)
AST change
interface PrivateName <: Expression, Pattern {
type: "PrivateName";
- name: Identifier;
+ id: Identifier;
}
💅 Polish
Committers: 3
- Brian Ng (existentialism)
- Henry Zhu (hzoo)
- Karl Cheng (Qantas94Heavy)
v7.0.0-beta.21
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)