blob: 4e808f2150fe5d34f9d26421457db4485cb23fad [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 Mandrikov02f5af42014-09-13 12:57:18 +020021<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
22
Marc R. Hoffmann00920552014-12-26 17:47:32 +010023<h3>New Features</h3>
24<ul>
25 <li>For offline instrumemtation agent configuration supports system properties
26 replacements. Implementation based on pull request of GitHub user 'debugger'
27 (GitHub <a href="https://github.com/jacoco/jacoco/issues/262">#226</a>).</li>
28</ul>
29
Evgeny Mandrikovff5ffa32014-09-12 18:49:23 +020030<h2>Release 0.7.2 (2014/09/12)</h2>
Evgeny Mandrikov55c11f42014-05-11 03:00:39 +020031
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +020032<h3>Fixed Bugs</h3>
33<ul>
34 <li>Do not ignore synthetic lambda methods to get code coverage for Java 8
35 lambda expressions
36 (GitHub <a href="https://github.com/jacoco/jacoco/issues/232">#232</a>).</li>
37</ul>
38
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +020039<h3>New Features</h3>
40<ul>
41 <li>New configuration option for the JaCoCo agent
Marc R. Hoffmann1d8389b2014-05-20 13:44:17 +020042 <code>inclbootstrapclasses</code> to also instrument classes from the
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +020043 bootstrap class loader
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +020044 (GitHub <a href="https://github.com/jacoco/jacoco/issues/49">#49</a>).</li>
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +020045 <li>Agent uses unique file names to dump class files
Marc R. Hoffmann74a79502014-07-07 22:28:48 +020046 (GitHub <a href="https://github.com/jacoco/jacoco/issues/225">#225</a>).</li>
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +020047</ul>
48
Evgeny Mandrikov1755a4d2014-05-08 23:59:56 +020049<h2>Release 0.7.1 (2014/05/08)</h2>
Evgeny Mandrikovd65d20d2014-03-19 02:21:54 +010050
Marc R. Hoffmann82b13482014-03-23 17:03:43 +010051<h3>Fixed Bugs</h3>
52<ul>
Marc R. Hoffmann0acfc8f2014-05-07 07:33:02 +020053 <li>Fixed failure with default methods in Java 8 interfaces
Marc R. Hoffmann72793f82014-05-01 06:15:21 +020054 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
Marc R. Hoffmann82b13482014-03-23 17:03:43 +010055 <li>Better interoperability with JMockit, analysis and fix contributed by Rogério
56 Liesenfeld (GitHub <a href="https://github.com/jacoco/jacoco/issues/35">#35</a>
Marc R. Hoffmannd9aa3922014-05-07 06:05:43 +020057 and <a href="https://github.com/jacoco/jacoco/issues/54">#54</a>).</li>
Marc R. Hoffmann82b13482014-03-23 17:03:43 +010058</ul>
59
Marc R. Hoffmann488550f2014-03-26 06:22:16 +010060<h3>Non-functional Changes</h3>
61<ul>
Marc R. Hoffmannd9aa3922014-05-07 06:05:43 +020062 <li>JaCoCo now depends on ASM 5.0.1
Marc R. Hoffmann488550f2014-03-26 06:22:16 +010063 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
64</ul>
65
Evgeny Mandrikove8568e32014-03-18 23:30:00 +010066<h2>Release 0.7.0 (2014/03/18)</h2>
Evgeny Mandrikovf8176c42014-03-04 19:40:28 +010067
Marc R. Hoffmann351b20e2014-03-18 00:08:13 +010068<h3>New Features</h3>
69<ul>
70 <li>JaCoCo now supports Java 8
71 (GitHub <a href="https://github.com/jacoco/jacoco/issues/74">#74</a>).</li>
72</ul>
73
74<h3>Non-functional Changes</h3>
75<ul>
76 <li>JaCoCo now depends on ASM 5.0 using asm-debug-all instead of asm-all
77 (GitHub <a href="https://github.com/jacoco/jacoco/issues/199">#199</a>).</li>
78</ul>
79
Evgeny Mandrikovde1febf2014-03-03 22:24:25 +010080<h2>Release 0.6.5 (2014/03/03)</h2>
Evgeny Mandrikov94557aa2013-12-11 08:42:51 +010081
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +010082<h3>New Features</h3>
Marc R. Hoffmann68dc5eb2014-01-20 21:27:10 +010083<ul>
84 <li>Warnings are logged during report generation if different versions of
85 classes are used than at runtime (GitHub <a href="https://github.com/jacoco/jacoco/issues/185">#185</a>).</li>
Marc R. Hoffmann39d48af2014-02-22 10:26:53 +010086 <li>Signatures are removed from instrumented JAR files
87 (GitHub <a href="https://github.com/jacoco/jacoco/issues/186">#186</a>).</li>
Marc R. Hoffmann68dc5eb2014-01-20 21:27:10 +010088</ul>
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +010089
Mirko Friedenhagen3da5b2b2013-12-17 11:35:13 +010090<h3>Fixed Bugs</h3>
91<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +010092 <li>Skip jacoco instrumentation for mvn modules with package type ear (GitHub <a href="https://github.com/jacoco/jacoco/issues/169">#169</a>).</li>
Marc R. Hoffmann68dc5eb2014-01-20 21:27:10 +010093 <li>Align skip conditions and messages for Maven goals and give reasons. This
94 includes removal of the specific skip condition for packages e.g. POMs and
95 instead checks existence of <tt>target/classes</tt> in appropriate goals
96 (GitHub <a href="https://github.com/jacoco/jacoco/issues/171">#171</a>).</li>
Mirko Friedenhagen0d6990d2014-02-13 21:13:14 +010097 <li>GitHub #44: (Regression) Agent Mojo should set empty property, if execution was skipped
98 (GitHub <a href="https://github.com/jacoco/jacoco/issues/192">#192</a>).</li>
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +010099</ul>
100
101<h3>API Changes</h3>
102<ul>
Mirko Friedenhagen284fce92013-12-21 21:35:01 +0100103 <li>Restrict visibility of methods in abstract classes of jacoco-maven-plugin (GitHub <a href="https://github.com/jacoco/jacoco/issues/175">#175</a>).</li>
Mirko Friedenhagen3da5b2b2013-12-17 11:35:13 +0100104</ul>
105
Evgeny Mandrikov7c7d7e82013-12-10 12:12:08 +0100106<h2>Release 0.6.4 (2013/12/10)</h2>
Evgeny Mandrikov1a29d522013-06-03 10:27:38 +0200107
Marc R. Hoffmann54bf6f12013-06-13 23:42:32 +0200108<h3>New Features</h3>
109<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100110 <li>Support for Android <i>Strict Mode</i> (GitHub <a href="https://github.com/jacoco/jacoco/issues/113">#113</a>).</li>
111 <li>New dump Mojo for Maven plug-in (GitHub <a href="https://github.com/jacoco/jacoco/issues/107">#107</a>).</li>
Marc R. Hoffmannf49a3982013-08-27 12:42:55 +0200112 <li>New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100113 (GitHub <a href="https://github.com/jacoco/jacoco/issues/126">#126</a>).</li>
Marc R. Hoffmann8a830fa2013-11-15 21:03:51 +0100114 <li>Additional list of source files for every package in HTML report
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100115 (GitHub <a href="https://github.com/jacoco/jacoco/issues/142">#142</a>).</li>
Mirko Friedenhagenede9c632013-11-17 21:57:32 +0100116 <li>Additional report-integration and prepare-agent-integration goals for
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100117 integration tests. (GitHub <a href="https://github.com/jacoco/jacoco/issues/152">#152</a>, <a href="https://github.com/jacoco/jacoco/issues/161">#161</a>).</li>
Marc R. Hoffmann54bf6f12013-06-13 23:42:32 +0200118</ul>
119
Marc R. Hoffmannbd886f02013-10-11 18:37:05 +0200120<h3>Fixed Bugs</h3>
121<ul>
122 <li>Multiple executions of Maven goal "prepare-agent" should not lead to
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100123 incorrect configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/40">#40</a>).</li>
Marc R. Hoffmannb887be42013-10-25 18:36:58 +0200124 <li>Avoid direct dependency on java.lang.management APIs to allow usage on
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100125 Android (GitHub <a href="https://github.com/jacoco/jacoco/issues/150">#150</a>).</li>
126 <li>All JaCoCo Maven goals are marked as thread-safe (GitHub <a href="https://github.com/jacoco/jacoco/issues/133">#133</a>).</li>
Mirko Friedenhagen736f3542013-11-30 09:04:41 +0100127 <li>check and merge goal failures in jacoco-maven-plugin with Maven 2.2.1
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100128 due to incompatible configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/129">#129</a>).</li>
Marc R. Hoffmannbd886f02013-10-11 18:37:05 +0200129</ul>
130
Marc R. Hoffmannd3982ef2013-11-15 20:41:09 +0100131<h3>API Changes</h3>
132<ul>
133 <li>New API package <code>org.jacoco.core.tools</code> for shared high-level
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100134 tools. (GitHub <a href="https://github.com/jacoco/jacoco/issues/159">#159</a>).</li>
Marc R. Hoffmannd3982ef2013-11-15 20:41:09 +0100135</ul>
136
Evgeny Mandrikovf6b53262013-06-03 10:13:44 +0200137<h2>Release 0.6.3 (2013/06/03)</h2>
Evgeny Mandrikove16acdd2013-02-03 01:22:10 +0100138
Marc R. Hoffmannfc340a22013-03-22 11:13:24 +0100139<h3>New Features</h3>
140<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100141 <li>Support for archives in Pack200 format (GitHub <a href="https://github.com/jacoco/jacoco/issues/91">#91</a>).</li>
Marc R. Hoffmann55fae172013-03-20 11:55:53 +0100142 <li>The coverage check has been reworked to allow checks on all counter values
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100143 on all element types (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
144 <li>Coverage checks are now also available in Ant (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
Marc R. Hoffmannfc340a22013-03-22 11:13:24 +0100145</ul>
146
Marc R. Hoffmann1b1935e2013-03-01 19:55:43 +0100147<h3>Fixed Bugs</h3>
148<ul>
149 <li>Fixed inconsistent stackmap frames when instrumenting class files produced
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100150 by certain tools like ProGuard (GitHub <a href="https://github.com/jacoco/jacoco/issues/85">#85</a>).</li>
Marc R. Hoffmann1b1935e2013-03-01 19:55:43 +0100151</ul>
152
Marc R. Hoffmannac07e252013-05-20 12:56:11 +0200153<h3>Non-functional Changes</h3>
154<ul>
155 <li>More context information when exceptions occur during analysis or
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100156 instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li>
Marc R. Hoffmanne0482012013-06-01 12:19:09 +0200157 <li>If analysis is performed on offline instrumented classes - which is an
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100158 build configuration error - an exception is now thrown (GitHub <a href="https://github.com/jacoco/jacoco/issues/108">#108</a>).</li>
Marc R. Hoffmannac07e252013-05-20 12:56:11 +0200159</ul>
160
Marc R. Hoffmann55fae172013-03-20 11:55:53 +0100161<h3>API Changes</h3>
162<ul>
163 <li>The configuration of the Maven check goal has been reworked to support
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100164 checks on any element type (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
Marc R. Hoffmannac07e252013-05-20 12:56:11 +0200165 <li><code>Analyzer</code> and <code>Instrumenter</code> expect resource name
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100166 as additional parameter for better error messages (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li>
Marc R. Hoffmann55fae172013-03-20 11:55:53 +0100167</ul>
168
Evgeny Mandrikov6fd4f3a2013-02-03 01:09:10 +0100169<h2>Release 0.6.2 (2013/02/03)</h2>
Evgeny Mandrikova6a45e82012-12-23 22:24:47 +0100170
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100171<h3>New Features</h3>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +0100172<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100173 <li>Support for offline instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/4">#4</a>, <a href="https://github.com/jacoco/jacoco/issues/64">#64</a>).</li>
Marc Hoffmann60147ad2013-01-08 18:57:10 +0100174 <li>JaCoCo agent exposes runtime API for direct integration with application
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100175 under test (GitHub <a href="https://github.com/jacoco/jacoco/issues/61">#61</a>).</li>
Marc R. Hoffmann1a7ab6f2013-01-08 22:21:25 +0100176 <li>Support for parallel test execution: Different agents can now safely write
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100177 to the same <code>*.exec</code> file (GitHub <a href="https://github.com/jacoco/jacoco/issues/52">#52</a>).</li>
Evgeny Mandrikov446f1972013-01-09 18:17:11 +0100178 <li>New output mode 'none' can be used when agent is only controlled via JMX
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100179 or its new runtime API (GitHub <a href="https://github.com/jacoco/jacoco/issues/63">#63</a>).</li>
180 <li>Better error message in case of invalid stackmap frames (GitHub <a href="https://github.com/jacoco/jacoco/issues/73">#73</a>).</li>
Evgeny Mandrikov700361b2013-02-02 20:02:24 +0100181 <li>jacoco-maven-plugin: default phase for goal "report" - "verify"
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100182 (GitHub <a href="https://github.com/jacoco/jacoco/issues/72">#72</a>).</li>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +0100183</ul>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100184
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100185<h3>Non-functional Changes</h3>
186<ul>
187 <li>For every build the corresponding Git commit hash is included as
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100188 <code>Eclipse-SourceReferences</code> manifest headers (GitHub <a href="https://github.com/jacoco/jacoco/issues/7">#7</a>, <a href="https://github.com/jacoco/jacoco/issues/59">#59</a>).</li>
Marc R. Hoffmann73a22352013-05-27 07:41:24 +0200189 <li>Adjust saturation of red source highlighting in HTML reports to make
190 JaCoCo reports more accessible to red/green blind users.</li>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100191</ul>
192
Marc R. Hoffmanne2930e72013-01-08 21:18:35 +0100193<h3>API Changes</h3>
194<ul>
195 <li>The <code>output</code> mode <code>mbean</code> of the agent has been
196 dropped in favor of the new boolean option <code>jmx</code>. This allows
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100197 to combine JMX access with any other output mode (GitHub <a href="https://github.com/jacoco/jacoco/issues/62">#62</a>).</li>
Marc R. Hoffmanne2930e72013-01-08 21:18:35 +0100198</ul>
199
Evgeny Mandrikov0bb8d2d2012-12-23 20:33:58 +0100200<h2>Release 0.6.1 (2012/12/23)</h2>
Evgeny Mandrikov7764fe52012-10-06 23:44:26 +0400201
Evgeny Mandrikov2ea884b2012-11-10 13:47:51 +0100202<h3>New Features</h3>
203<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100204 <li>Add a coverage check Mojo, contributed by Kyle Lieber (GitHub <a href="https://github.com/jacoco/jacoco/issues/6">#6</a>).</li>
Evgeny Mandrikov2ea884b2012-11-10 13:47:51 +0100205</ul>
206
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100207<h3>Fixed Bugs</h3>
208<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100209 <li>jacocoant.jar should not conflict with ASM 3.x (GitHub <a href="https://github.com/jacoco/jacoco/issues/39">#39</a>).</li>
Evgeny Mandrikovca863832012-11-22 00:12:12 +0100210 <li>Agent Mojo should set empty property, if execution was skipped
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100211 (GitHub <a href="https://github.com/jacoco/jacoco/issues/44">#44</a>).</li>
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100212</ul>
213
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100214<h3>Non-functional Changes</h3>
215<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100216 <li>Upgrade to ASM 4.1 (GitHub <a href="https://github.com/jacoco/jacoco/issues/37">#37</a>).</li>
Marc R. Hoffmannfcc0a0f2012-11-10 20:37:05 +0100217 <li>Log location of merged execution data file in Ant <code>merge</code> task
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100218 (GitHub <a href="https://github.com/jacoco/jacoco/issues/29">#29</a>).</li>
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100219</ul>
220
Evgeny Mandrikov76f62ca2012-10-06 23:01:20 +0400221<h2>Release 0.6.0 (2012/10/06)</h2>
Evgeny Mandrikov13d966c2012-08-31 12:39:14 +0600222
Marc R. Hoffmannf22657e2012-09-20 21:45:49 +0200223<h3>New Features</h3>
224<ul>
225 <li>Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100226 on ASM 4.0 (GitHub <a href="https://github.com/jacoco/jacoco/issues/5">#5</a>).</li>
Marc R. Hoffmannf22657e2012-09-20 21:45:49 +0200227</ul>
228
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600229<h3>Fixed Bugs</h3>
230<ul>
231 <li>Maven plugin should skip creation of report if the execution data file is
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200232 missing. This avoids appearance of stack traces in case when JVM was not
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100233 forked, e.g. if there are no tests to run (SF #3563431, GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li>
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200234 <li>Maven plugin should fail if unable to read execution data file or create
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100235 report (GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li>
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600236</ul>
237
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200238<h3>API Changes</h3>
239<ul>
240 <li>Only colon as separator character supported in agent parameters. The
241 deprecated pipe character is no longer supported.</li>
242</ul>
243
Evgeny Mandrikovd3dd13c2012-08-31 12:32:50 +0600244<h2>Release 0.5.10 (2012/08/31)</h2>
Evgeny Mandrikov9e1a22e2012-07-30 07:35:07 +0000245
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000246<h3>Fixed Bugs</h3>
247<ul>
Marc R. Hoffmann632e70b2012-08-24 14:49:19 +0000248 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li>
249 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the
250 <code>coverage</code> Ant task (Trac #213).</li>
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000251</ul>
252
Marc R. Hoffmannbb80b762012-08-29 23:57:58 +0200253<h3>Non-functional Changes</h3>
254<ul>
255 <li>Source tree has been migrated to Git and is now hosted on Github at
256 <a href="https://github.com/jacoco/jacoco">https://github.com/jacoco/jacoco</a>.</li>
257</ul>
258
Evgeny Mandrikov7fa63e72012-07-30 07:26:38 +0000259<h2>Release 0.5.9 (2012/07/30)</h2>
Evgeny Mandrikov19e5caa2012-07-11 12:29:04 +0000260
Marc R. Hoffmann049e6042012-07-21 19:02:27 +0000261<h3>Fixed Bugs</h3>
262<ul>
263 <li>Don't produce invalid class files in case of unexpected stackmap frames
264 (SF #3543758).</li>
265</ul>
266
Evgeny Mandrikov5552b672012-07-11 12:23:15 +0000267<h2>Release 0.5.8 (2012/07/11)</h2>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000268
Marc R. Hoffmanncf41fc12012-06-30 00:15:43 +0000269<h3>New Features</h3>
270<ul>
271 <li>Support for parallel Maven builds (Trac #191).</li>
272 <li>New agent option <code>classdumpdir</code> to dump all class files seen
273 by the JaCoCo agent to disk. This option is also available for Ant and
274 Maven (Trac #208).</li>
275</ul>
276
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000277<h3>Fixed Bugs</h3>
278<ul>
279 <li>Allow instrumentation of classes with dead code (SF #3538112).</li>
Marc R. Hoffmann65c17152012-07-09 10:37:23 +0000280 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized
281 object exists on backward branch" with certain Java 7 class files
282 (Trac #154).</li>
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000283</ul>
284
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000285<h3>Non-functional Changes</h3>
286<ul>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000287 <li>Documentation now includes Maven example and Maven goal documentation
288 (Trac #201, #202).</li>
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000289</ul>
290
Evgeny Mandrikov976a90f2012-04-19 03:40:42 +0000291<h2>Release 0.5.7 (2012/04/19)</h2>
Evgeny Mandrikov022e3af2012-01-23 23:39:12 +0000292
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000293<h3>New Features</h3>
294<ul>
295 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li>
Marc R. Hoffmannc17f2b02012-04-07 09:05:00 +0000296 <li>Remove class file attributes with invalid code offsets caused by other
Marc R. Hoffmannc32282c2012-04-18 21:04:59 +0000297 byte code processing tools to avoid verifier errors (Trac #196).</li>
298 <li>Improved logging for Ant tasks (SF #3518429).</li>
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000299</ul>
300
Marc R. Hoffmannce117fd2012-03-29 12:55:41 +0000301<h3>Fixed Bugs</h3>
302<ul>
303 <li>In case of failures the agent should log the original exception.</li>
304</ul>
305
Evgeny Mandrikov99487a12012-01-23 23:33:12 +0000306<h2>Release 0.5.6 (2012/01/23)</h2>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000307
308<h3>New Features</h3>
309<ul>
310 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li>
Marc R. Hoffmann8b5d6a32012-01-18 20:24:45 +0000311 <li>The <code>report</code> Ant task now also supports directory resources to
312 specify source folders. This allows reading source files from multiple
313 directories. Contributed by Dominik Stadler (Trac #119).</li>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000314</ul>
315
316<h3>Fixed Bugs</h3>
317<ul>
318 <li>Don't insert stackmap frames for class files before version 1.6.</li>
319 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li>
320</ul>
321
322<h2>Release 0.5.5 (2011/12/15)</h2>
323
324<h3>Fixed Bugs</h3>
325<ul>
326 <li>Correct default value for the <code>append</code> property of the
327 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li>
328 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li>
329</ul>
330
331<h3>Non-functional Changes</h3>
332<ul>
333 <li>Upgrade to ASM 3.3.1.</li>
334</ul>
335
336<h2>Release 0.5.4 (2011/11/11)</h2>
337
338<h3>New Features</h3>
339<ul>
340 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code>
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000341 properties in report Mojo (Trac #160).
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000342 Also note that:
343<pre class="source lang-xml">
344&lt;configuration&gt;
345 &lt;includes&gt;org.foo.*:org.bar.*&lt;/includes&gt;
346 &lt;excludes&gt;com.foo.*:com.bar.*&lt;/excludes&gt;
347&lt;/configuration&gt;
348</pre>
349 must be replaced on:
350<pre class="source lang-xml">
351&lt;configuration&gt;
352 &lt;includes&gt;
353 &lt;include>org.foo.*&lt;/include&gt;
354 &lt;include>org.bar.*&lt;/include&gt;
355 &lt;/includes&gt;
356 &lt;excludes&gt;
357 &lt;exclude&gt;com.foo.*&lt;/exclude&gt;
358 &lt;exclude&gt;com.bar.*&lt;/exclude&gt;
359 &lt;/excludes&gt;
360&lt;/configuration&gt;
361</pre>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000362 </li>
363</ul>
364
365<h3>API Changes</h3>
366<ul>
367 <li><code>Instrumenter</code> now only requires
368 <code>IExecutionDataAccessorGenerator</code> instead of
369 <code>IRuntime</code> (Trac #174).</li>
370 <li>Removed reference to internal implementation classes from
371 <code>CoverageBuilder</code> API.</li>
372</ul>
373
374<h3>Non-functional Changes</h3>
375<ul>
376 <li>Release bundles from now on signed again.</li>
377 <li>Several documentation updates.</li>
378</ul>
379
380<h2>Release 0.5.3 (2011/07/06)</h2>
381
382<h3>New Features</h3>
383<ul>
384 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
385 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
386</ul>
387
388<h3>Fixed Bugs</h3>
389<ul>
390 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
391</ul>
392
393<h3>Non-functional Changes</h3>
394<ul>
395 <li>JaCoCo build based on Maven (Trac #136).</li>
396 <li>JaCoCo published to Maven repository (Trac #149).</li>
397</ul>
398
399<h2>Release 0.5.2 (2011/05/19)</h2>
400
401<h3>New Features</h3>
402<ul>
403 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
404 <li>For HTML reports the tab width can be specified on the
405 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
406 (Track #152).</li>
407</ul>
408
409<h3>Fixed Bugs</h3>
410<ul>
411 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
412 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
413 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
414 for reporting and analyzing this!</li>
415</ul>
416
417<h3>API Changes</h3>
418<ul>
419 <li><code>ICoverageNode</code> API has been extended for cyclomatic
420 complexity (Trac #129).</li>
421 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
422 (Trac #129).</li>
423 <li>New method <code>getTabWidth()</code> in callback interface
424 <code>ISourceFileLocator</code> instead of
425 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
426 (Trac #152).</li>
427</ul>
428
429<h2>Release 0.5.1 (2011/03/21)</h2>
430
431<h3>New Features</h3>
432<ul>
433 <li>Duplicate classes with identical identifiers are now ignored during
434 analysis.</li>
435 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
436</ul>
437
438<h3>Fixed Bugs</h3>
439<ul>
440 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li>
441 <li>Link source files also for classes in default package (Trac #151).</li>
442</ul>
443
444<h3>Non-functional Changes</h3>
445<ul>
446 <li>API documentation cleanup (Track #140).</li>
447 <li>Removed obsolete examples from documentation (Trac #141).</li>
448 <li>Added reporting API example (Trac #146).</li>
449 <li>Reduced file size of HTML report source pages (Trac #148).</li>
450</ul>
451
452<h3>API Changes</h3>
453<ul>
454 <li>Simplified reporting API (Trac #53).</li>
455 <li>Use colon as separator character in agent parameters (Trac #143).</li>
456 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
457</ul>
458
459<h2>Release 0.5.0 (2011/01/19)</h2>
460
461<h3>New Features</h3>
462<ul>
463 <li>JaCoCo now reports branch coverage (Track #66).</li>
464</ul>
465
466<h3>Fixed Bugs</h3>
467<ul>
468 <li>Only process actual Java class files during analysis (SF #3106102).</li>
469 <li>Fix broken source links due to sort hash (Track #125).</li>
470 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
471 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
472 <li>Provide proper error message in case of duplicate class names in the same
473 group (SF #3110219).</li>
474 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
475</ul>
476
477<h3>API Changes</h3>
478<ul>
479 <li>All analysis specific APIs have been moved to package
480 <code>org.jacoco.core.analysis</code>.</li>
481 <li>The <code>IStructureVisitor</code> interface has been replaced by a
482 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
483 <li>All counter creation and update APIs now accept <i>missed items</i> and
484 <i>covered items</i> as parameters (Track #131).</li>
485 <li>Instructions are now counted on a per line basis. Therefore some
486 interfaces in the <code>org.jacoco.core.analysis</code> package have
487 changed as well as the <code>line</code> element in the XML report
488 (Track #130).</li>
489 <li>Several internal implementation classes have removed from the core APIs or
490 have been replaced by new interfaces (Track #133).</li>
491</ul>
492
493<h2>Release 0.4.1 (2010/10/07)</h2>
494
495<h3>New Features</h3>
496<ul>
497 <li>New attribute <code>line</code> for <code>method</code> elements in the
498 XML report containing the first source line number of the method.
499 (Track #120).</li>
500 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
501 also available as an attribute of the <code>html</code> tag of the
502 <code>report</code> Ant task (Track #122).</li>
503 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
504 <li>The <code>report</code> Ant task issues a warning if source files are
505 provided but class files do not contain debug information to collect line
506 numbers (SF #3024486).</li>
507</ul>
508
509<h3>Non-functional Changes</h3>
510<ul>
511 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
512 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
513 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
514</ul>
515
516<h3>Fixed Bugs</h3>
517<ul>
518 <li>Better error message when multiple JaCoCo agents are specified
519 (Track #103).</li>
520 <li>Fixed potential NPE at shutdown when running agent in
521 <code>tcpserver</code> mode (Track #117).</li>
522 <li>Agent now fails at startup when execution data file can't be opened
523 (Track #121).</li>
524</ul>
525
526<h2>Release 0.4.0 (2010/06/04)</h2>
527
528<h3>New Features</h3>
529<ul>
530 <li>Execution data now includes session information: an arbitrary identifier,
531 the start time and dump time (Trac #88).</li>
532 <li>Added session information to XML report (Trac #92).</li>
533 <li>New "Sessions" page in the HTML report shows information about each
534 sessions wherein execution data has been collected for the report
535 (Trac #93). Additionally all classes with execution data available are
536 listed on this page (Trac #94).</li>
537 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
538 <li>New Ant task <code>dump</code> to remotely collect coverage data from
539 agents (Trac #100).</li>
540</ul>
541
542<h3>API Changes</h3>
543<ul>
544 <li>Execution data file header is written and read in any case (Trac #72).</li>
545 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
546 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
547 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
548 <li>Additional and modified methods in <code>IRuntime</code> to produce
549 session information (Trac #88).</li>
550 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
551 <li>Removed several internal APIs from package
552 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
553 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
554 <code>CSVFormatter</code> (upper case) for consistency with other
555 formatters.</li>
556</ul>
557
558<h2>Release 0.3.3 (2010/04/19)</h2>
559
560<h3>New Features</h3>
561<ul>
562 <li>Support for different archives (jar, war, ear etc.) and nested archives
563 (Trac #78).</li>
564 <li>XML report with line level coverage information (requested for Sonar).</li>
565</ul>
566
567<h3>Fixed Bugs</h3>
568<ul>
569 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
570 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
571 (Track #69).</li>
572 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
573</ul>
574
575<h2>Release 0.3.2 (2010/04/01)</h2>
576
577<h3>New Features</h3>
578<ul>
579 <li>New HTML report option to directly create a zip file containing the report
580 (Trac #12).</li>
581 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
582 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
583 <li>Classes without instructions are excluded from reports (Trac #73).</li>
584</ul>
585
586<h3>Fixed Bugs</h3>
587<ul>
588 <li>XML and CSV report output now also works for structures without groups
589 (Track #76).</li>
590</ul>
591
592<h3>API Changes</h3>
593<ul>
594 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
595 (Trac #72).</li>
596 <li>To support "off-line" instrumentation scenarios it is not required any
597 more to register instrumented classes with the runtime (Trac #74).</li>
598</ul>
599
600<h2>Release 0.3.1 (2010/02/09)</h2>
601
602<h3>Fixed Bugs</h3>
603<ul>
604 <li>Ant tasks broken on Linux (Trac #68).</li>
605</ul>
606
607<h2>Release 0.3.0 (2010/02/02)</h2>
608
609<h3>New Features</h3>
610<ul>
611 <li>Report renders anonymous classes with type information (Trac #46).</li>
612 <li><code>enabled</code> property added to <code>agent</code> and
613 <code>coverage</code> Ant tasks (Trac #63).</li>
614 <li>Ant task <code>merge</code> added (Trac #52).</li>
615</ul>
616
617<h3>Fixed Bugs</h3>
618<ul>
619 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
620 application servers like Glassfish.</li>
621</ul>
622
623<h3>API Changes</h3>
624<ul>
625 <li>Agent option and Ant task parameter <code>file</code> changed to
626 <code>destfile</code> (Trac #59).</li>
627 <li>Agent option and Ant task parameter <code>merge</code> changed to
628 <code>append</code> (Trac #51).</li>
629</ul>
630
631<h2>Release 0.2.0 (2010/01/08)</h2>
632
633<h3>New Features</h3>
634
635<ul>
636 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
637 <li>Performance test becomes part of the build.</li>
638 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
639 as a resource (Trac #50).</li>
640</ul>
641
642<h3>Fixed Bugs</h3>
643
644<ul>
645 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
646 while instrumentation and analysis (Trac #44).</li>
647</ul>
648
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000649<h2>Release 0.1.0 (2009/10/28)</h2>
650
651<p>
652 The very first JaCoCo release.
653</p>
654
655</div>
656<div class="footer">
657 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
658 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
659</div>
660
661</body>
662</html>