File: 2.0.0-beta4.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-- 1,292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
```
releaseHeader('2017-08-03', '2.0.0-beta4', '2.0.0-beta3')
```

*   This release includes [all the changes from 1.12.6 to 1.12.7](#1.12.7).
*   [Line comments](#comments) (starting with `#`) are now output in the generated JavaScript.
*   [Block comments](#comments) (delimited by `###`) are now allowed anywhere, including inline where they previously weren’t possible. This provides support for [static type annotations](#type-annotations) using Flow’s comments-based syntax.
*   Spread syntax (`...` for objects) is now supported in JSX tags: `<div {props...} />`.
*   Argument parsing for scripts run via `coffee` is improved. See [breaking changes](#breaking-changes-argument-parsing-and-shebang-lines).
*   CLI: Propagate `SIGINT` and `SIGTERM` signals when node is forked.
*   `await` in the REPL is now allowed without requiring a wrapper function.
*   `do super` is now allowed, and other accesses of `super` like `super.x.y` or `super['x'].y` now work.
*   Splat/spread syntax triple dots are now allowed on either the left or the right (so `props...` or `...props` are both valid).
*   Tagged template literals are recognized as callable functions.
*   Bugfixes for object spread syntax in nested properties.
*   Bugfixes for destructured function parameter default values.