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