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