Description
From @GeoffreyBooth on 2017-06-30 18:06
Hey everyone,
CoffeeScript 2.0.0-beta3 is released! Install it via: npm install coffeescript@next
Since the last update, as of 2017-06-30 the following has been merged into the jashkenas/coffeescript 2
branch and released in 2.0.0-beta3:
- JSX is now supported (docs), thanks to @xixixao
- Object rest/spread properties are now supported (docs), thanks to @zdenko and @connec
- Bound (fat arrow) methods are once again supported in classes, though an error will be thrown if you attempt to call the method before it is bound; see breaking changes for classes. Thanks to @helixbass
- The REPL no longer warns about assigning to
_
, thanks to @xixixao - Bugfixes for destructured nested default values and issues related to chaining or continuing expressions across multiple lines, thanks to @helixbass, @xixixao and @connec
- Documentation and Try CoffeeScript improvements thanks to @GeoffreyBooth
There were a handful of PRs that aren’t quite ready just yet, but are close; I hope to follow up with beta4 shortly. Coming soon:
- [CS2] Comments #4572: Line comments output, block comments allowed almost anywhere
- [CS2] Add #! support for executable scripts on Linux. #3946:
#!
support for executable scripts on Linux/OS X - [CS2]: Fix #4591: multiple accesses after super #4592: Fix [CS2] super.x.y throws a compiler error #4591: multiple accesses after super
If you have time to contribute, you can help us get to 2.0.0 release faster by helping with some of the open issues, especially the ones tagged priority
. Your efforts would be greatly appreciated!
And please try 2.0.0-beta3 in your projects! And let us know if you encounter any issues, after first reviewing the breaking changes. If you think there’s a bug, please open an issue with “[CS2]“ in the title. Please don’t comment bug reports on this thread. Thanks!