blob: 8e1189e9c5b0c0a3c5318a756232033697769cf4 [file] [log] [blame]
Marc R. Hoffmanne571f3f2012-05-13 12:18:02 +00001<?xml version="1.0" encoding="UTF-8" ?>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +00002<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
4<head>
Marc R. Hoffmanne571f3f2012-05-13 12:18:02 +00005 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href=".resources/doc.css" charset="UTF-8" type="text/css" />
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +00007 <link rel="shortcut icon" href=".resources/report.gif" type="image/gif" />
8 <title>JaCoCo - Change History</title>
9</head>
10<body>
11
12<div class="breadcrumb">
13 <a href="../index.html" class="el_report">JaCoCo</a> &gt;
14 <a href="index.html" class="el_group">Documentation</a> &gt;
15 <span class="el_source">Change History</span>
16</div>
17<div id="content">
18
19<h1>Change History</h1>
20
Evgeny Mandrikov1a29d522013-06-03 10:27:38 +020021<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
22
Marc R. Hoffmann54bf6f12013-06-13 23:42:32 +020023<h3>New Features</h3>
24<ul>
25 <li>Support for Android <i>Strict Mode</i> (GitHub #113).</li>
Marc R. Hoffmannf5fa1a82013-11-10 14:09:23 +010026 <li>New dump Mojo for Maven plug-in (GitHub #107).</li>
Marc R. Hoffmannf49a3982013-08-27 12:42:55 +020027 <li>New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen
28 (GitHub #126).</li>
Marc R. Hoffmann8a830fa2013-11-15 21:03:51 +010029 <li>Additional list of source files for every package in HTML report
30 (GitHub #142).</li>
Mirko Friedenhagenede9c632013-11-17 21:57:32 +010031 <li>Additional report-integration and prepare-agent-integration goals for
32 integration tests. (GitHub #152).</li>
Marc R. Hoffmann54bf6f12013-06-13 23:42:32 +020033</ul>
34
Marc R. Hoffmannbd886f02013-10-11 18:37:05 +020035<h3>Fixed Bugs</h3>
36<ul>
37 <li>Multiple executions of Maven goal "prepare-agent" should not lead to
38 incorrect configuration (GitHub #40).</li>
Marc R. Hoffmannb887be42013-10-25 18:36:58 +020039 <li>Avoid direct dependency on java.lang.management APIs to allow usage on
40 Android (GitHub #150).</li>
Marc R. Hoffmann8a830fa2013-11-15 21:03:51 +010041 <li>All JaCoCo Maven goals are marked as thread-safe (GitHub #133).</li>
Marc R. Hoffmannbd886f02013-10-11 18:37:05 +020042</ul>
43
Marc R. Hoffmannd3982ef2013-11-15 20:41:09 +010044<h3>API Changes</h3>
45<ul>
46 <li>New API package <code>org.jacoco.core.tools</code> for shared high-level
47 tools. (GitHub #159).</li>
48</ul>
49
Evgeny Mandrikovf6b53262013-06-03 10:13:44 +020050<h2>Release 0.6.3 (2013/06/03)</h2>
Evgeny Mandrikove16acdd2013-02-03 01:22:10 +010051
Marc R. Hoffmannfc340a22013-03-22 11:13:24 +010052<h3>New Features</h3>
53<ul>
54 <li>Support for archives in Pack200 format (GitHub #91).</li>
Marc R. Hoffmann55fae172013-03-20 11:55:53 +010055 <li>The coverage check has been reworked to allow checks on all counter values
56 on all element types (GitHub #106).</li>
57 <li>Coverage checks are now also available in Ant (GitHub #106).</li>
Marc R. Hoffmannfc340a22013-03-22 11:13:24 +010058</ul>
59
Marc R. Hoffmann1b1935e2013-03-01 19:55:43 +010060<h3>Fixed Bugs</h3>
61<ul>
62 <li>Fixed inconsistent stackmap frames when instrumenting class files produced
63 by certain tools like ProGuard (GitHub #85).</li>
64</ul>
65
Marc R. Hoffmannac07e252013-05-20 12:56:11 +020066<h3>Non-functional Changes</h3>
67<ul>
68 <li>More context information when exceptions occur during analysis or
69 instrumentation (GitHub #104).</li>
Marc R. Hoffmanne0482012013-06-01 12:19:09 +020070 <li>If analysis is performed on offline instrumented classes - which is an
71 build configuration error - an exception is now thrown (GitHub #108).</li>
Marc R. Hoffmannac07e252013-05-20 12:56:11 +020072</ul>
73
Marc R. Hoffmann55fae172013-03-20 11:55:53 +010074<h3>API Changes</h3>
75<ul>
76 <li>The configuration of the Maven check goal has been reworked to support
77 checks on any element type (GitHub #106).</li>
Marc R. Hoffmannac07e252013-05-20 12:56:11 +020078 <li><code>Analyzer</code> and <code>Instrumenter</code> expect resource name
79 as additional parameter for better error messages (GitHub #104).</li>
Marc R. Hoffmann55fae172013-03-20 11:55:53 +010080</ul>
81
Evgeny Mandrikov6fd4f3a2013-02-03 01:09:10 +010082<h2>Release 0.6.2 (2013/02/03)</h2>
Evgeny Mandrikova6a45e82012-12-23 22:24:47 +010083
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +010084<h3>New Features</h3>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +010085<ul>
Evgeny Mandrikove6f41d42013-01-11 15:37:36 +010086 <li>Support for offline instrumentation (GitHub #4, #64).</li>
Marc Hoffmann60147ad2013-01-08 18:57:10 +010087 <li>JaCoCo agent exposes runtime API for direct integration with application
88 under test (GitHub #61).</li>
Marc R. Hoffmann1a7ab6f2013-01-08 22:21:25 +010089 <li>Support for parallel test execution: Different agents can now safely write
90 to the same <code>*.exec</code> file (GitHub #52).</li>
Evgeny Mandrikov446f1972013-01-09 18:17:11 +010091 <li>New output mode 'none' can be used when agent is only controlled via JMX
92 or its new runtime API (GitHub #63).</li>
Marc R. Hoffmanne10fc8b2013-01-18 16:28:52 +010093 <li>Better error message in case of invalid stackmap frames (GitHub #73).</li>
Evgeny Mandrikov700361b2013-02-02 20:02:24 +010094 <li>jacoco-maven-plugin: default phase for goal "report" - "verify"
Evgeny Mandrikov741c8942013-01-21 20:41:30 +010095 (GitHub #72).</li>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +010096</ul>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +010097
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +010098<h3>Non-functional Changes</h3>
99<ul>
100 <li>For every build the corresponding Git commit hash is included as
101 <code>Eclipse-SourceReferences</code> manifest headers (GitHub #7, #59).</li>
Marc R. Hoffmann73a22352013-05-27 07:41:24 +0200102 <li>Adjust saturation of red source highlighting in HTML reports to make
103 JaCoCo reports more accessible to red/green blind users.</li>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100104</ul>
105
Marc R. Hoffmanne2930e72013-01-08 21:18:35 +0100106<h3>API Changes</h3>
107<ul>
108 <li>The <code>output</code> mode <code>mbean</code> of the agent has been
109 dropped in favor of the new boolean option <code>jmx</code>. This allows
110 to combine JMX access with any other output mode (GitHub #62).</li>
111</ul>
112
Evgeny Mandrikov0bb8d2d2012-12-23 20:33:58 +0100113<h2>Release 0.6.1 (2012/12/23)</h2>
Evgeny Mandrikov7764fe52012-10-06 23:44:26 +0400114
Evgeny Mandrikov2ea884b2012-11-10 13:47:51 +0100115<h3>New Features</h3>
116<ul>
Evgeny Mandrikovca863832012-11-22 00:12:12 +0100117 <li>Add a coverage check Mojo, contributed by Kyle Lieber (GitHub #6).</li>
Evgeny Mandrikov2ea884b2012-11-10 13:47:51 +0100118</ul>
119
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100120<h3>Fixed Bugs</h3>
121<ul>
Marc R. Hoffmannfcc0a0f2012-11-10 20:37:05 +0100122 <li>jacocoant.jar should not conflict with ASM 3.x (GitHub #39).</li>
Evgeny Mandrikovca863832012-11-22 00:12:12 +0100123 <li>Agent Mojo should set empty property, if execution was skipped
124 (GitHub #44).</li>
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100125</ul>
126
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100127<h3>Non-functional Changes</h3>
128<ul>
Marc R. Hoffmanncd5deec2012-11-09 14:59:22 +0100129 <li>Upgrade to ASM 4.1 (GitHub #37).</li>
Marc R. Hoffmannfcc0a0f2012-11-10 20:37:05 +0100130 <li>Log location of merged execution data file in Ant <code>merge</code> task
131 (GitHub #29).</li>
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100132</ul>
133
Evgeny Mandrikov76f62ca2012-10-06 23:01:20 +0400134<h2>Release 0.6.0 (2012/10/06)</h2>
Evgeny Mandrikov13d966c2012-08-31 12:39:14 +0600135
Marc R. Hoffmannf22657e2012-09-20 21:45:49 +0200136<h3>New Features</h3>
137<ul>
138 <li>Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200139 on ASM 4.0 (GitHub #5).</li>
Marc R. Hoffmannf22657e2012-09-20 21:45:49 +0200140</ul>
141
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600142<h3>Fixed Bugs</h3>
143<ul>
144 <li>Maven plugin should skip creation of report if the execution data file is
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200145 missing. This avoids appearance of stack traces in case when JVM was not
146 forked, e.g. if there are no tests to run (SF #3563431, GitHub #19).</li>
147 <li>Maven plugin should fail if unable to read execution data file or create
148 report (GitHub #19).</li>
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600149</ul>
150
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200151<h3>API Changes</h3>
152<ul>
153 <li>Only colon as separator character supported in agent parameters. The
154 deprecated pipe character is no longer supported.</li>
155</ul>
156
Evgeny Mandrikovd3dd13c2012-08-31 12:32:50 +0600157<h2>Release 0.5.10 (2012/08/31)</h2>
Evgeny Mandrikov9e1a22e2012-07-30 07:35:07 +0000158
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000159<h3>Fixed Bugs</h3>
160<ul>
Marc R. Hoffmann632e70b2012-08-24 14:49:19 +0000161 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li>
162 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the
163 <code>coverage</code> Ant task (Trac #213).</li>
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000164</ul>
165
Marc R. Hoffmannbb80b762012-08-29 23:57:58 +0200166<h3>Non-functional Changes</h3>
167<ul>
168 <li>Source tree has been migrated to Git and is now hosted on Github at
169 <a href="https://github.com/jacoco/jacoco">https://github.com/jacoco/jacoco</a>.</li>
170</ul>
171
Evgeny Mandrikov7fa63e72012-07-30 07:26:38 +0000172<h2>Release 0.5.9 (2012/07/30)</h2>
Evgeny Mandrikov19e5caa2012-07-11 12:29:04 +0000173
Marc R. Hoffmann049e6042012-07-21 19:02:27 +0000174<h3>Fixed Bugs</h3>
175<ul>
176 <li>Don't produce invalid class files in case of unexpected stackmap frames
177 (SF #3543758).</li>
178</ul>
179
Evgeny Mandrikov5552b672012-07-11 12:23:15 +0000180<h2>Release 0.5.8 (2012/07/11)</h2>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000181
Marc R. Hoffmanncf41fc12012-06-30 00:15:43 +0000182<h3>New Features</h3>
183<ul>
184 <li>Support for parallel Maven builds (Trac #191).</li>
185 <li>New agent option <code>classdumpdir</code> to dump all class files seen
186 by the JaCoCo agent to disk. This option is also available for Ant and
187 Maven (Trac #208).</li>
188</ul>
189
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000190<h3>Fixed Bugs</h3>
191<ul>
192 <li>Allow instrumentation of classes with dead code (SF #3538112).</li>
Marc R. Hoffmann65c17152012-07-09 10:37:23 +0000193 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized
194 object exists on backward branch" with certain Java 7 class files
195 (Trac #154).</li>
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000196</ul>
197
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000198<h3>Non-functional Changes</h3>
199<ul>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000200 <li>Documentation now includes Maven example and Maven goal documentation
201 (Trac #201, #202).</li>
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000202</ul>
203
Evgeny Mandrikov976a90f2012-04-19 03:40:42 +0000204<h2>Release 0.5.7 (2012/04/19)</h2>
Evgeny Mandrikov022e3af2012-01-23 23:39:12 +0000205
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000206<h3>New Features</h3>
207<ul>
208 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li>
Marc R. Hoffmannc17f2b02012-04-07 09:05:00 +0000209 <li>Remove class file attributes with invalid code offsets caused by other
Marc R. Hoffmannc32282c2012-04-18 21:04:59 +0000210 byte code processing tools to avoid verifier errors (Trac #196).</li>
211 <li>Improved logging for Ant tasks (SF #3518429).</li>
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000212</ul>
213
Marc R. Hoffmannce117fd2012-03-29 12:55:41 +0000214<h3>Fixed Bugs</h3>
215<ul>
216 <li>In case of failures the agent should log the original exception.</li>
217</ul>
218
Evgeny Mandrikov99487a12012-01-23 23:33:12 +0000219<h2>Release 0.5.6 (2012/01/23)</h2>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000220
221<h3>New Features</h3>
222<ul>
223 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li>
Marc R. Hoffmann8b5d6a32012-01-18 20:24:45 +0000224 <li>The <code>report</code> Ant task now also supports directory resources to
225 specify source folders. This allows reading source files from multiple
226 directories. Contributed by Dominik Stadler (Trac #119).</li>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000227</ul>
228
229<h3>Fixed Bugs</h3>
230<ul>
231 <li>Don't insert stackmap frames for class files before version 1.6.</li>
232 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li>
233</ul>
234
235<h2>Release 0.5.5 (2011/12/15)</h2>
236
237<h3>Fixed Bugs</h3>
238<ul>
239 <li>Correct default value for the <code>append</code> property of the
240 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li>
241 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li>
242</ul>
243
244<h3>Non-functional Changes</h3>
245<ul>
246 <li>Upgrade to ASM 3.3.1.</li>
247</ul>
248
249<h2>Release 0.5.4 (2011/11/11)</h2>
250
251<h3>New Features</h3>
252<ul>
253 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code>
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000254 properties in report Mojo (Trac #160).
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000255 Also note that:
256<pre class="source lang-xml">
257&lt;configuration&gt;
258 &lt;includes&gt;org.foo.*:org.bar.*&lt;/includes&gt;
259 &lt;excludes&gt;com.foo.*:com.bar.*&lt;/excludes&gt;
260&lt;/configuration&gt;
261</pre>
262 must be replaced on:
263<pre class="source lang-xml">
264&lt;configuration&gt;
265 &lt;includes&gt;
266 &lt;include>org.foo.*&lt;/include&gt;
267 &lt;include>org.bar.*&lt;/include&gt;
268 &lt;/includes&gt;
269 &lt;excludes&gt;
270 &lt;exclude&gt;com.foo.*&lt;/exclude&gt;
271 &lt;exclude&gt;com.bar.*&lt;/exclude&gt;
272 &lt;/excludes&gt;
273&lt;/configuration&gt;
274</pre>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000275 </li>
276</ul>
277
278<h3>API Changes</h3>
279<ul>
280 <li><code>Instrumenter</code> now only requires
281 <code>IExecutionDataAccessorGenerator</code> instead of
282 <code>IRuntime</code> (Trac #174).</li>
283 <li>Removed reference to internal implementation classes from
284 <code>CoverageBuilder</code> API.</li>
285</ul>
286
287<h3>Non-functional Changes</h3>
288<ul>
289 <li>Release bundles from now on signed again.</li>
290 <li>Several documentation updates.</li>
291</ul>
292
293<h2>Release 0.5.3 (2011/07/06)</h2>
294
295<h3>New Features</h3>
296<ul>
297 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
298 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
299</ul>
300
301<h3>Fixed Bugs</h3>
302<ul>
303 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
304</ul>
305
306<h3>Non-functional Changes</h3>
307<ul>
308 <li>JaCoCo build based on Maven (Trac #136).</li>
309 <li>JaCoCo published to Maven repository (Trac #149).</li>
310</ul>
311
312<h2>Release 0.5.2 (2011/05/19)</h2>
313
314<h3>New Features</h3>
315<ul>
316 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
317 <li>For HTML reports the tab width can be specified on the
318 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
319 (Track #152).</li>
320</ul>
321
322<h3>Fixed Bugs</h3>
323<ul>
324 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
325 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
326 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
327 for reporting and analyzing this!</li>
328</ul>
329
330<h3>API Changes</h3>
331<ul>
332 <li><code>ICoverageNode</code> API has been extended for cyclomatic
333 complexity (Trac #129).</li>
334 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
335 (Trac #129).</li>
336 <li>New method <code>getTabWidth()</code> in callback interface
337 <code>ISourceFileLocator</code> instead of
338 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
339 (Trac #152).</li>
340</ul>
341
342<h2>Release 0.5.1 (2011/03/21)</h2>
343
344<h3>New Features</h3>
345<ul>
346 <li>Duplicate classes with identical identifiers are now ignored during
347 analysis.</li>
348 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
349</ul>
350
351<h3>Fixed Bugs</h3>
352<ul>
353 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li>
354 <li>Link source files also for classes in default package (Trac #151).</li>
355</ul>
356
357<h3>Non-functional Changes</h3>
358<ul>
359 <li>API documentation cleanup (Track #140).</li>
360 <li>Removed obsolete examples from documentation (Trac #141).</li>
361 <li>Added reporting API example (Trac #146).</li>
362 <li>Reduced file size of HTML report source pages (Trac #148).</li>
363</ul>
364
365<h3>API Changes</h3>
366<ul>
367 <li>Simplified reporting API (Trac #53).</li>
368 <li>Use colon as separator character in agent parameters (Trac #143).</li>
369 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
370</ul>
371
372<h2>Release 0.5.0 (2011/01/19)</h2>
373
374<h3>New Features</h3>
375<ul>
376 <li>JaCoCo now reports branch coverage (Track #66).</li>
377</ul>
378
379<h3>Fixed Bugs</h3>
380<ul>
381 <li>Only process actual Java class files during analysis (SF #3106102).</li>
382 <li>Fix broken source links due to sort hash (Track #125).</li>
383 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
384 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
385 <li>Provide proper error message in case of duplicate class names in the same
386 group (SF #3110219).</li>
387 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
388</ul>
389
390<h3>API Changes</h3>
391<ul>
392 <li>All analysis specific APIs have been moved to package
393 <code>org.jacoco.core.analysis</code>.</li>
394 <li>The <code>IStructureVisitor</code> interface has been replaced by a
395 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
396 <li>All counter creation and update APIs now accept <i>missed items</i> and
397 <i>covered items</i> as parameters (Track #131).</li>
398 <li>Instructions are now counted on a per line basis. Therefore some
399 interfaces in the <code>org.jacoco.core.analysis</code> package have
400 changed as well as the <code>line</code> element in the XML report
401 (Track #130).</li>
402 <li>Several internal implementation classes have removed from the core APIs or
403 have been replaced by new interfaces (Track #133).</li>
404</ul>
405
406<h2>Release 0.4.1 (2010/10/07)</h2>
407
408<h3>New Features</h3>
409<ul>
410 <li>New attribute <code>line</code> for <code>method</code> elements in the
411 XML report containing the first source line number of the method.
412 (Track #120).</li>
413 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
414 also available as an attribute of the <code>html</code> tag of the
415 <code>report</code> Ant task (Track #122).</li>
416 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
417 <li>The <code>report</code> Ant task issues a warning if source files are
418 provided but class files do not contain debug information to collect line
419 numbers (SF #3024486).</li>
420</ul>
421
422<h3>Non-functional Changes</h3>
423<ul>
424 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
425 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
426 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
427</ul>
428
429<h3>Fixed Bugs</h3>
430<ul>
431 <li>Better error message when multiple JaCoCo agents are specified
432 (Track #103).</li>
433 <li>Fixed potential NPE at shutdown when running agent in
434 <code>tcpserver</code> mode (Track #117).</li>
435 <li>Agent now fails at startup when execution data file can't be opened
436 (Track #121).</li>
437</ul>
438
439<h2>Release 0.4.0 (2010/06/04)</h2>
440
441<h3>New Features</h3>
442<ul>
443 <li>Execution data now includes session information: an arbitrary identifier,
444 the start time and dump time (Trac #88).</li>
445 <li>Added session information to XML report (Trac #92).</li>
446 <li>New "Sessions" page in the HTML report shows information about each
447 sessions wherein execution data has been collected for the report
448 (Trac #93). Additionally all classes with execution data available are
449 listed on this page (Trac #94).</li>
450 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
451 <li>New Ant task <code>dump</code> to remotely collect coverage data from
452 agents (Trac #100).</li>
453</ul>
454
455<h3>API Changes</h3>
456<ul>
457 <li>Execution data file header is written and read in any case (Trac #72).</li>
458 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
459 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
460 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
461 <li>Additional and modified methods in <code>IRuntime</code> to produce
462 session information (Trac #88).</li>
463 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
464 <li>Removed several internal APIs from package
465 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
466 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
467 <code>CSVFormatter</code> (upper case) for consistency with other
468 formatters.</li>
469</ul>
470
471<h2>Release 0.3.3 (2010/04/19)</h2>
472
473<h3>New Features</h3>
474<ul>
475 <li>Support for different archives (jar, war, ear etc.) and nested archives
476 (Trac #78).</li>
477 <li>XML report with line level coverage information (requested for Sonar).</li>
478</ul>
479
480<h3>Fixed Bugs</h3>
481<ul>
482 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
483 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
484 (Track #69).</li>
485 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
486</ul>
487
488<h2>Release 0.3.2 (2010/04/01)</h2>
489
490<h3>New Features</h3>
491<ul>
492 <li>New HTML report option to directly create a zip file containing the report
493 (Trac #12).</li>
494 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
495 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
496 <li>Classes without instructions are excluded from reports (Trac #73).</li>
497</ul>
498
499<h3>Fixed Bugs</h3>
500<ul>
501 <li>XML and CSV report output now also works for structures without groups
502 (Track #76).</li>
503</ul>
504
505<h3>API Changes</h3>
506<ul>
507 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
508 (Trac #72).</li>
509 <li>To support "off-line" instrumentation scenarios it is not required any
510 more to register instrumented classes with the runtime (Trac #74).</li>
511</ul>
512
513<h2>Release 0.3.1 (2010/02/09)</h2>
514
515<h3>Fixed Bugs</h3>
516<ul>
517 <li>Ant tasks broken on Linux (Trac #68).</li>
518</ul>
519
520<h2>Release 0.3.0 (2010/02/02)</h2>
521
522<h3>New Features</h3>
523<ul>
524 <li>Report renders anonymous classes with type information (Trac #46).</li>
525 <li><code>enabled</code> property added to <code>agent</code> and
526 <code>coverage</code> Ant tasks (Trac #63).</li>
527 <li>Ant task <code>merge</code> added (Trac #52).</li>
528</ul>
529
530<h3>Fixed Bugs</h3>
531<ul>
532 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
533 application servers like Glassfish.</li>
534</ul>
535
536<h3>API Changes</h3>
537<ul>
538 <li>Agent option and Ant task parameter <code>file</code> changed to
539 <code>destfile</code> (Trac #59).</li>
540 <li>Agent option and Ant task parameter <code>merge</code> changed to
541 <code>append</code> (Trac #51).</li>
542</ul>
543
544<h2>Release 0.2.0 (2010/01/08)</h2>
545
546<h3>New Features</h3>
547
548<ul>
549 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
550 <li>Performance test becomes part of the build.</li>
551 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
552 as a resource (Trac #50).</li>
553</ul>
554
555<h3>Fixed Bugs</h3>
556
557<ul>
558 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
559 while instrumentation and analysis (Trac #44).</li>
560</ul>
561
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000562<h2>Release 0.1.0 (2009/10/28)</h2>
563
564<p>
565 The very first JaCoCo release.
566</p>
567
568</div>
569<div class="footer">
570 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
571 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
572</div>
573
574</body>
575</html>