-
Notifications
You must be signed in to change notification settings - Fork 2k
CoffeeScript 2 Honor Roll
Geoffrey Booth edited this page Sep 10, 2017
·
1 revision
CoffeeScript 2 could not have been possible without the generous contributions of the following people:
- Modules, thanks to @GeoffreyBooth.
- Classes output using ES2015 syntax, thanks to @connec.
- Async/await, thanks to @GabrielRatener.
- JSX is now supported (docs), thanks to @xixixao
- Object rest/spread properties are now supported (docs), thanks to @zdenko and @connec.
- Tagged template literals, thanks to @greghuc.
- Interpolated strings output as template literals (ES2015 backtick syntax), thanks to @greghuc.
- Arrow functions, function default parameters and function rest parameters output using ES2015 syntax, thanks to @GeoffreyBooth.
-
ES2015
for…of
, thanks to @atg. - Line comments are now output, and block comments are now allowed anywhere, enabling static type annotations, thanks to @GeoffreyBooth
- Triple-backtick operator and escaped backticks in embedded JavaScript, thanks to @GeoffreyBooth.
- Destructuring output using ES2015 syntax, thanks to @connec and @GeoffreyBooth.
- Splats in arrays and function calls output using ES2015 syntax, thanks to @connec.
- Computed properties output using ES2015 syntax, thanks to @connec.
- Octal and binary literals output as-is, thanks to @JimPanic.
-
get
andset
keywords now throw an error, preserving the option of supporting them as keywords in the future; thanks to @GeoffreyBooth. - Polyfills and helpers were removed, thanks to @GeoffreyBooth and @connec.
- CoffeeScript is stricter about whitespace thanks to @eelco
- Literate CoffeeScript parses Markdown better thanks to @GeoffreyBooth.
- Refactored Cake tasks adding watch modes to building the compiler, thanks to @GeoffreyBooth.
-
The CoffeeScript module can now be
require
d in builds intended for non-Node environments such as those created by Webpack or Browserify, thanks to @akfish. -
Argument parsing for scripts run via
coffee
is improved, thanks to @cosmicexplorer. See breaking changes. - The browser tests work again, thanks to @GeoffreyBooth.
- Redesigned docs for v2, thanks to @GeoffreyBooth.
-
The v2 docs discuss our design decisions regarding
let
/const
andget
/set
, as well as address why CoffeeScript in an ES2015+ world, thanks to @mrmowgli and @GeoffreyBooth. - Bugs were fixed by @alangpierce, @shreeve, @JimPanic, @helixbass, @xixixao, @connec, @GeoffreyBooth and others.
- Also thanks for feedback from @lydell and @jashkenas.