mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
* Changelog sub-sections should use h3, not h2; no need for hack anchor tag anymore * Internationalize dates to user’s locale * Consistent names * Split up the changelog into separate files per version; make HTML markup consistent with the other sections in the docs * Fix sidebar links for introduction and overview
1.0 KiB
1.0 KiB
releaseHeader('2017-09-26', '2.0.1', '2.0.0')
babel-coreis no longer listed inpackage.json, even as anoptionalDependency, to avoid it being automatically installed for most users. If you wish to use--transpile, simply installbabel-coremanually. See Transpilation.--transpilenow relies on Babel to find its options, i.e. the.babelrcfile in the path of the file(s) being compiled. (Previously the CoffeeScript compiler was duplicating this logic, so nothing has changed from a user’s perspective.) This provides automatic support for additional ways to pass options to Babel in future versions, such as the.babelrc.jsfile coming in Babel 7.- Backticked expressions in a class body, outside any class methods, are now output in the JavaScript class body itself. This allows for passing through experimental JavaScript syntax like the class fields proposal, assuming your transpiler supports it.