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