Back to Coffeescript

2.0.0 Beta4

documentation/sections/changelog/2.0.0-beta4.md

2.7.01.3 KB
Original Source
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.
  • Line comments (starting with #) are now output in the generated JavaScript.
  • Block comments (delimited by ###) are now allowed anywhere, including inline where they previously weren’t possible. This provides support for static 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.
  • 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.