6.8.0 changelog (#27)
This commit is contained in:
parent
6ef4a731b7
commit
21c4b4d779
50
CHANGELOG.md
Normal file
50
CHANGELOG.md
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
> **Tags:**
|
||||||
|
> - [Breaking Change]
|
||||||
|
> - [Spec Compliancy]
|
||||||
|
> - [New Feature]
|
||||||
|
> - [Bug Fix]
|
||||||
|
> - [Documentation]
|
||||||
|
> - [Internal]
|
||||||
|
> - [Polish]
|
||||||
|
|
||||||
|
_Note: Gaps between patch versions are faulty, broken or test releases._
|
||||||
|
|
||||||
|
See the [Babel Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) for the pre-6.8.0 version changelog.
|
||||||
|
|
||||||
|
## 6.8.0 (2016-05-02)
|
||||||
|
|
||||||
|
#### New Feature
|
||||||
|
|
||||||
|
##### Parse Method Parameter Decorators ([#12](https://github.com/babel/babylon/pull/12))
|
||||||
|
|
||||||
|
> [Method Parameter Decorators](https://goo.gl/8MmCMG) is now a TC39 [stage 0 proposal](https://github.com/tc39/ecma262/blob/master/stage0.md).
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
```js
|
||||||
|
class Foo {
|
||||||
|
constructor(@foo() x, @bar({ a: 123 }) @baz() y) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function func(@foo() x, @bar({ a: 123 }) @baz() y) {}
|
||||||
|
|
||||||
|
var obj = {
|
||||||
|
method(@foo() x, @bar({ a: 123 }) @baz() y) {}
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
##### Parse for-await statements (w/ `asyncGenerators` plugin) ([#17](https://github.com/babel/babylon/pull/17))
|
||||||
|
|
||||||
|
There is also a new node type, `ForAwaitStatement`.
|
||||||
|
|
||||||
|
> [Async generators and for-await](https://github.com/tc39/proposal-async-iteration) are now a [stage 2 proposal](https://github.com/tc39/ecma262#current-proposals).
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```js
|
||||||
|
async function f() {
|
||||||
|
for await (let x of y);
|
||||||
|
}
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user