Update release date for 1.12.3

This commit is contained in:
Simon Lydell 2017-01-24 18:53:18 +01:00
parent e87d5749bd
commit 635e207f3f
2 changed files with 2 additions and 2 deletions

View File

@ -2612,7 +2612,7 @@ The CoffeeScript logo is available in SVG for use in presentations.</li>
<h2>Change Log</h2><div class="anchor" id="1.12.3"></div>
<h2 class="header">
<a href="https://github.com/jashkenas/coffeescript/compare/1.12.2...1.12.3">1.12.3</a>
<span class="timestamp"> &mdash; <time datetime="2017-01-22">January 22, 2017</time></span>
<span class="timestamp"> &mdash; <time datetime="2017-01-24">January 24, 2017</time></span>
</h2><ul>
<li><code>@</code> values can now be used as indices in <code>for</code> expressions. This loosens the compilation of <code>for</code> expressions to allow the index variable to be an <code>@</code> value, e.g. <code>do @visit for @node, @index in nodes</code>. Within <code>@visit</code>, the index of the current node (<code>@node</code>) would be available as <code>@index</code>.</li>
<li>CoffeeScripts patched <code>Error.prepareStackTrace</code> 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.</li>

View File

@ -1,7 +1,7 @@
## Change Log
```
releaseHeader('2017-01-22', '1.12.3', '1.12.2')
releaseHeader('2017-01-24', '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`.