File: 2.0.0-alpha1.md

package info (click to toggle)
coffeescript 2.7.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,360 kB
  • sloc: makefile: 20; xml: 9; sh: 6; javascript: 5
file content (16 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
```
releaseHeader('2017-02-21', '2.0.0-alpha1', '1.12.4')
```

*   Initial alpha release of CoffeeScript 2. The CoffeeScript compiler now outputs ES2015+ syntax whenever possible. See [breaking changes](#breaking-changes).
*   Classes are output using ES2015 `class` and `extends` keywords.
*   Added support for `async`/`await`.
*   Bound (arrow) functions now output as `=>` functions.
*   Function parameters with default values now use ES2015 default values syntax.
*   Splat function parameters now use ES2015 spread syntax.
*   Computed properties now use ES2015 syntax.
*   Interpolated strings (template literals) now use ES2015 backtick syntax.
*   Improved support for recognizing Markdown in Literate CoffeeScript files.
*   Mixing tabs and spaces in indentation is now disallowed.
*   Browser compiler is now minified using the Google Closure Compiler (JavaScript version).
*   Node 7+ required for CoffeeScript 2.