UNPKG

9.04 kBMarkdownView Raw
1Changelog
2---------
3
4<table>
5<tr>
6<td>v0.3.0</td>
7<td>
8 The *reports* release. **Potentially backwards-incompatible** if you are using
9 undocumented features or custom report implementations.
10 <ul>
11 <li>Change report command line to support multiple reports, add back-compat processing with warnings</li>
12 <li>Enable `report` command to read report list from config, thanks to @piuccio</li>
13 <li>Support multiple reports for `cover` and `report` commands</li>
14 <li>Support per-report config options in configuration file</li>
15 <li>Turn reports into event emitters so they can signal `done`</li>
16 <li>Add `Reporter` class to be able to generate multiple reports</li>
17 <li>Add a bunch of API docs, refactor README</li>
18 </ul>
19</td>
20</tr>
21<tr>
22<td>v0.2.16</td><td>Make YUI links https-always since relative links break local
23filesystem use-case
24</td>
25</tr>
26<tr>
27<td>v0.2.15</td><td>make link protocols relative so they don't break on https connections
28(thanks to @yasyf)
29</td>
30</tr>
31<tr>
32<td>v0.2.14</td><td>Fix hook to deal with non-string/ missing filenames
33(thanks to @jason0x43), update dependencies
34</td>
35</tr>
36<tr>
37<td>v0.2.13</td><td>Add `--preload-sources` option to `cover` command to make
38code not required by tests to appear in the coverage report.
39</td>
40</tr>
41<tr>
42<td>v0.2.12</td><td>Text summary as valid markdown, thanks to @smikes</td>
43</tr>
44<tr>
45<td>v0.2.11</td><td>Allow source map generation, thanks to @jason0x43</td>
46</tr>
47<tr>
48<td>v0.2.10</td><td>Add flag to handle sigints and dump coverage, thanks to @samccone</td>
49</tr>
50<tr>
51<td>v0.2.9</td><td>Fix #202</td>
52</tr>
53<tr>
54<tr>
55<td>v0.2.8</td><td>Upgrade esprima</td>
56</tr>
57<tr>
58<td>v0.2.7</td><td><ul>
59 <li>Upgrade esprima</li>
60 <li>Misc jshint fixes</li>
61</ul></td>
62</tr>
63<tr>
64<td>v0.2.6</td><td><ul>
65 <li>Revert bad commit for tree summarizer</li>
66</ul></td>
67</tr>
68<tr>
69<td>v0.2.5</td><td><ul>
70 <li>Add clover report, thanks to @bixdeng, @mpderbec</li>
71 <li>Fix cobertura report bug for relative paths, thanks to @jxiaodev</li>
72 <li>Run self-coverage on tests always</li>
73 <li>Fix tree summarizer when relative paths are involved, thanks to @Swatinem</li>
74</ul></td>
75</tr>
76<tr>
77<td>v0.2.4</td><td><ul>
78 <li>Fix line-split algo to handle Mac lin separators, thanks to @asifrc</li>
79 <li>Update README for quick intro to ignoring code for coverage, thanks to @gergelyke</li>
80</ul></td>
81</tr>
82<tr>
83<td>v0.2.3</td><td><ul>
84 <li>Add YAML config file. `istanbul help config` has more details</li>
85 <li>Support custom reporting thresholds using the `watermarks` section of the config file</li>
86</ul></td>
87</tr>
88<tr><td>v0.2.2</td><td>update escodegen, handlebars and resolve dependency versions</td></tr>
89<tr>
90<td>v0.2.1</td><td><ul>
91 <li>Add ability to skip branches and other hard-to-test code using comments.
92 See <a href="https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md">the doc</a> for more details</li>
93 <li>Turn `util.error` into `console.error` for node 0.11 compatibility, thanks to @pornel</li>
94</ul></td>
95</tr>
96<tr><td>v0.2.0</td><td><ul>
97 <li>Add --preserve-comments to instrumenter options, thanks to @arikon</li>
98 <li>Support 'use strict;' in file scope, thanks to @pornel</li>
99</ul>
100 Up minor version due to the new way in which the global object is accessed.
101 This _should_ be backwards-compatible but has not been tested in the wild.
102</td></tr>
103<tr><td>v0.1.46</td><td>Fix #114</td></tr>
104<tr><td>v0.1.45</td><td>Add teamcity reporter, thanks to @chrisgladd</td></tr>
105<tr><td>v0.1.44</td><td>Fix inconsistency in processing empty switch with latest esprima, up deps</td></tr>
106<tr><td>v0.1.43</td><td>Add colors to text report thanks to @runk</td></tr>
107<tr><td>v0.1.42</td><td>fix #78: embed source regression introduced in v0.1.38. Fix broken test for this</td></tr>
108<tr><td>v0.1.41</td><td>add json report to dump coverage object for certain use cases</td></tr>
109<tr><td>v0.1.40</td><td>forward sourceStore from lcov to html report, pull request by @vojtajina</td></tr>
110<tr><td>v0.1.39</td><td>add <source> tag to cobertura report, pull request by @jhansche</td></tr>
111<tr><td>v0.1.38</td><td><ul>
112 <li>factor out AST instrumentation into own instrumentASTSync method</li>
113 <li>always set function declaration coverage stats to 1 since every such declaration is "executed" exactly one time by the compiler</li>
114 </ul></td></tr>
115<tr><td>v0.1.37</td><td>--complete-copy flag contrib from @kami, correct strict mode semantics for instrumented functions</td></tr>
116<tr><td>v0.1.36</td><td>real quiet when --print=none specified, add repo URL to package.json, add contributors</td></tr>
117<tr><td>v0.1.35</td><td>accept cobertura contrib from @nbrownus, fix #52</td></tr>
118<tr><td>v0.1.34</td><td>fix async reporting, update dependencies, accept html cleanup contrib from @mathiasbynens</td></tr>
119<tr><td>v0.1.33</td><td>initialize global coverage object before running tests to workaround mocha leak detection</td></tr>
120<tr><td>v0.1.32</td><td>Fix for null nodes in array expressions, add @unindented as contributor</td></tr>
121<tr><td>v0.1.31</td><td>Misc internal fixes and test changes</td></tr>
122<tr><td>v0.1.30</td><td>Write standard blurbs ("writing coverage object..." etc.) to stderr rather than stdout</td></tr>
123<tr><td>v0.1.29</td><td>Allow --post-require-hook to be a module that can be `require`-d</td></tr>
124<tr><td>v0.1.28</td><td>Add --post-require-hook switch to support use-cases similar to the YUI loader</td></tr>
125<tr><td>v0.1.27</td><td>Add --hook-run-in-context switch to support RequireJS modules. Thanks to @millermedeiros for the pull request</td></tr>
126<tr><td>v0.1.26</td><td>Add support for minimum uncovered unit for check-coverage. Fixes #25</td></tr>
127<tr><td>v0.1.25</td><td>Allow for relative paths in the YUI loader hook</td></tr>
128<tr><td>v0.1.24</td><td>Add lcov summaries. Fixes issue #20</td></tr>
129<tr><td>v0.1.23</td><td>Add ability to save a baseline coverage file for the instrument command. Fixes issue #19</td></tr>
130<tr><td>v0.1.22</td><td>Add signature attribute to cobertura method tags to fix NPE by the Hudson publisher</td></tr>
131<tr><td>v0.1.21</td><td>Add cobertura XML report format; exprimental for now</td></tr>
132<tr><td>v0.1.20</td><td>Fix HTML/ lcov report interface to be more customizable for middleware needs</td></tr>
133<tr><td>v0.1.19</td><td>make all hooking non-destructive in that already loaded modules are never reloaded. Add self-test mode so that already loaded istanbul modules can be unloaded prior to hooking.</td></tr>
134<tr><td>v0.1.18</td><td>Add option to hook in non-destructive mode; i.e. the require cache is not unloaded when hooking</td></tr>
135<tr><td>v0.1.17</td><td>Export some more objects; undocumented for now</td></tr>
136<tr><td>v0.1.16</td><td>Fix npm keywords for istanbul which expects an array of strings but was being fed a single string with keywords instead</td></tr>
137<tr><td>v0.1.15</td><td>Add the 'check-coverage' command so that Istanbul can be used as a posttest script to enforce minimum coverage</td></tr>
138<tr><td>v0.1.14</td><td>Expose the experimental YUI load hook in the interface</td></tr>
139<tr><td>v0.1.13</td><td>Internal jshint cleanup, no features or fixes</td></tr>
140<tr><td>v0.1.12</td><td>Give npm the README that was getting inadvertently excluded</td></tr>
141<tr><td>v0.1.11</td><td>Merge pull request #14 for HTML tweaks. Thanks @davglass. Add @davglass and @nowamasa as contributors in `package.json`</td></tr>
142<tr><td>v0.1.10</td><td>Fix to issue #12. Do not install `uncaughtException` handler and pass input error back to CLI using a callback as opposed to throwing.</td></tr>
143<tr><td>v0.1.9</td><td>Attempt to create reporting directory again just before writing coverage in addition to initial creation</td></tr>
144<tr><td>v0.1.8</td><td>Fix issue #11.</td></tr>
145<tr><td>v0.1.7</td><td>Add text summary and detailed reporting available as --print [summary|detail|both|none]. summary is the default if nothing specified.</td></tr>
146<tr><td>v0.1.6</td><td>Handle backslashes in the file path correctly in emitted code. Fixes #9. Thanks to @nowamasa for bug report and fix</td></tr>
147<tr><td>v0.1.5</td><td>make object-utils.js work on a browser as-is</td></tr>
148<tr><td>v0.1.4</td><td>partial fix for issue #4; add titles to missing coverage spans, remove negative margin for missing if/else indicators</td></tr>
149<tr><td>v0.1.3</td><td>Set the environment variable running_under_istanbul to 1 when that is the case. This allows test runners that use istanbul as a library to back off on using it when set.</td></tr>
150<tr><td>v0.1.2</td><td>HTML reporting cosmetics. Reports now show syntax-colored JS using `prettify`. Summary tables no longer wrap in awkward places.</td></tr>
151<tr><td>v0.1.1</td><td>Fixes issue #1. HTML reports use sources embedded inside the file coverage objects if found rather than reading from the filesystem</td></tr>
152<tr><td>v0.1.0</td><td>Initial version</td></tr>
153</td></tr>
154</table>
155