diff --git a/docs/v1/index.html b/docs/v1/index.html index 983dc44d..f6072d75 100644 --- a/docs/v1/index.html +++ b/docs/v1/index.html @@ -2614,7 +2614,9 @@ The CoffeeScript logo is available in SVG for use in presentations. 1.12.3

diff --git a/documentation/sections/changelog.md b/documentation/sections/changelog.md index 8581a892..97400320 100644 --- a/documentation/sections/changelog.md +++ b/documentation/sections/changelog.md @@ -4,7 +4,9 @@ releaseHeader('2017-01-22', '1.12.3', '1.12.2') ``` +* `@` values can now be used as indices in `for` expressions. This loosens the compilation of `for` expressions to allow the index variable to be an `@` value, e.g. `do @visit for @node, @index in nodes`. Within `@visit`, the index of the current node (`@node`) would be available as `@index`. * CoffeeScript’s patched `Error.prepareStackTrace` has been restored, with some revisions that should prevent the erroneous exceptions that were making life difficult for some downstream projects. This fixes the incorrect line numbers in stack traces since 1.12.2. +* The `//=` operator’s output now wraps parentheses around the right operand, like the other assignment operators. ``` releaseHeader('2016-12-16', '1.12.2', '1.12.1')