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