blob: 5299b4e36a8ca2d24753e36f78bd714fc25d9e79 [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" />
Evgeny Mandrikov8b212982016-06-12 17:55:49 +02006 <link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
7 <link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +00008 <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 Mandrikovb3da4222018-03-22 08:29:16 +010021<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>
22
Evgeny Mandrikov26a7a022018-04-04 06:22:02 +020023<h3>New Features</h3>
24<ul>
25 <li>Synthetic classes are filtered out during generation of report
26 (GitHub <a href="https://github.com/jacoco/jacoco/issues/668">#668</a>).</li>
Nikolay Krasko281538b2018-06-07 03:39:28 +030027 <li>Methods added by the Kotlin compiler are filtered out during generation
28 of report. Idea and implementation by Nikolay Krasko
29 (GitHub <a href="https://github.com/jacoco/jacoco/issues/689">#689</a>).</li>
Evgeny Mandrikov26a7a022018-04-04 06:22:02 +020030</ul>
31
Marc R. Hoffmann65ad7352018-04-02 22:07:10 +020032<h3>Fixed Bugs</h3>
33<ul>
34 <li>Don't insert stackmap frames into class files with version &lt; 1.6,
35 this fixes regression which was introduced in version 0.6.5
36 (GitHub <a href="https://github.com/jacoco/jacoco/issues/667">#667</a>).</li>
Marc R. Hoffmann1a56c962018-04-15 22:29:50 +020037 <li>Question mark in filter expressions now correctly matches exactly one character
38 (GitHub <a href="https://github.com/jacoco/jacoco/issues/672">#672</a>).</li>
Marc R. Hoffmann65ad7352018-04-02 22:07:10 +020039</ul>
40
Marc R. Hoffmann766763d2018-06-27 20:33:06 +020041<h3>Non-functional Changes</h3>
42<ul>
43 <li>Improved error message when already instrumented classes are used for
44 instrumentation or analysis
45 (GitHub <a href="https://github.com/jacoco/jacoco/issues/703">#703</a>).</li>
46</ul>
47
Evgeny Mandrikov6d4d8532018-03-21 10:16:58 +010048<h2>Release 0.8.1 (2018/03/21)</h2>
Evgeny Mandrikov8685ca82018-01-03 23:52:02 +010049
Evgeny Mandrikov06e8f362018-02-12 13:45:50 +010050<h3>New Features</h3>
51<ul>
Evgeny Mandrikove0681662018-03-21 05:23:26 +010052 <li>JaCoCo now supports Java 10
53 (GitHub <a href="https://github.com/jacoco/jacoco/issues/629">#629</a>).</li>
Evgeny Mandrikov06e8f362018-02-12 13:45:50 +010054 <li>Empty constructor without parameters in enum is filtered out during
55 generation of report
56 (GitHub <a href="https://github.com/jacoco/jacoco/issues/649">#649</a>).</li>
57</ul>
58
Evgeny Mandrikov6a0c0972018-01-02 21:22:40 +010059<h2>Release 0.8.0 (2018/01/02)</h2>
Evgeny Mandrikov7432e172017-02-06 11:12:45 +010060
Evgeny Mandrikov296f9922017-02-27 15:03:44 +010061<h3>New Features</h3>
62<ul>
Marc R. Hoffmann6f375762018-01-01 23:05:18 +010063 <li>JaCoCo now officially supports Java 9
64 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
65 <li>JaCoCo now comes with a simple command line interface
66 (GitHub <a href="https://github.com/jacoco/jacoco/issues/525">#525</a>).</li>
67 <li>Limit configuration of Maven <code>check</code> goal and Ant
68 <code>check</code> element now also supports percentage values
Marc R. Hoffmann129201d2017-05-18 21:07:07 +020069 (GitHub <a href="https://github.com/jacoco/jacoco/issues/534">#534</a>).</li>
Marc R. Hoffmann6f375762018-01-01 23:05:18 +010070 <li>Manifests of JAR files now have <code>Automatic-Module-Name</code> for Java 9
71 (GitHub <a href="https://github.com/jacoco/jacoco/issues/565">#565</a>).</li>
Chas Hontonbb2ecb52017-08-10 10:46:17 -070072 <li>Maven aggregated reports will now also include modules of <code>runtime</code>
73 and <code>provided</code> dependencies
74 (GitHub <a href="https://github.com/jacoco/jacoco/issues/498">#498</a>,
75 <a href="https://github.com/jacoco/jacoco/issues/572">#572</a>).</li>
Evgeny Mandrikov296f9922017-02-27 15:03:44 +010076</ul>
77
Marc R. Hoffmann6f375762018-01-01 23:05:18 +010078<p>
79 During creation of reports various compiler generated artifacts are filtered
80 out, which otherwise require unnecessary and sometimes impossible tricks to
81 not have partial or missed coverage:
82</p>
83
84<ul>
85 <li>Methods <code>valueOf</code> and <code>values</code> of enum types
86 (GitHub <a href="https://github.com/jacoco/jacoco/issues/491">#491</a>).</li>
87 <li>Private empty no-argument constructors
88 (GitHub <a href="https://github.com/jacoco/jacoco/issues/529">#529</a>).</li>
89 <li>Methods annotated with <code>@lombok.Generated</code> to better integrate
90 with Lombok >= 1.16.14. Initial analysis and contribution by RĂ¼diger zu Dohna
91 (GitHub <a href="https://github.com/jacoco/jacoco/issues/513">#513</a>).</li>
92 <li>Methods annotated with <code>@groovy.transform.Generated</code> to better
93 integrate with Groovy >= 2.5.0. Thanks to Andres Almiray for adding the annotation to Groovy
94 (GitHub <a href="https://github.com/jacoco/jacoco/issues/610">#610</a>).</li>
95 <li>Part of bytecode for <code>synchronized</code> blocks
96 (GitHub <a href="https://github.com/jacoco/jacoco/issues/501">#501</a>).</li>
97 <li>Part of bytecode for try-with-resources statements
98 (GitHub <a href="https://github.com/jacoco/jacoco/issues/500">#500</a>).</li>
99 <li>Part of bytecode for <code>finally</code> blocks
100 (GitHub <a href="https://github.com/jacoco/jacoco/issues/604">#604</a>).</li>
101 <li>Part of bytecode for <code>switch</code> statements on
102 <code>java.lang.String</code> values
103 (GitHub <a href="https://github.com/jacoco/jacoco/issues/596">#596</a>).</li>
104</ul>
105
106<p>
107 Note: Tools that directly read <code>exec</code> files and embed JaCoCo for
108 this (such as SonarQube or Jenkins) will provide filtering functionality only
109 after they updated to this version of JaCoCo.
110</p>
111
Marc R. Hoffmann10f3ff02017-05-25 00:14:30 +0200112<h3>Fixed Bugs</h3>
113<ul>
Allen Haire050f192017-12-20 14:46:56 -0800114 <li>Fixed bug in instrumentation of exception handlers, which was causing damage
115 of structured locking in certain situations and as consequence poor
116 performance of instrumented methods, analysis and fix contributed by Allen Hair
117 (GitHub <a href="https://github.com/jacoco/jacoco/issues/627">#627</a>).</li>
Marc R. Hoffmann10f3ff02017-05-25 00:14:30 +0200118 <li><code>dump</code> commands now report error when server unexpectedly
119 closes connection without sending response
120 (GitHub <a href="https://github.com/jacoco/jacoco/issues/538">#538</a>).</li>
Evgeny Mandrikovc10af132017-06-29 09:59:26 +0200121 <li>Reduced chance of conflict with other agents
122 (GitHub <a href="https://github.com/jacoco/jacoco/issues/555">#555</a>).</li>
Evgeny Mandrikov05a2aa72017-07-04 21:48:43 +0200123 <li>Restored Maven <code>help</code> goal that was missing in version 0.7.9
124 (GitHub <a href="https://github.com/jacoco/jacoco/issues/559">#559</a>).</li>
Roberto Araujocaa820e2017-10-19 19:51:22 -0200125 <li><code>NullPointerException</code> during offline instrumentation of
126 <code>module-info.class</code>
Marc R. Hoffmann6f375762018-01-01 23:05:18 +0100127 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>,
128 GitHub <a href="https://github.com/jacoco/jacoco/issues/634">#634</a>).</li>
Roberto Araujocaa820e2017-10-19 19:51:22 -0200129 <li>Incorrect update of frames caused by bug in ASM library
130 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
131 <li>Loss of <code>InnerClasses</code> attribute caused by bug in ASM library
132 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
133 <li><code>NegativeArraySizeException</code> during instrumentation caused by bug
134 in ASM library
135 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
Marc R. Hoffmann10f3ff02017-05-25 00:14:30 +0200136</ul>
137
Evgeny Mandrikova9732672017-05-04 20:01:15 +0200138<h3>Non-functional Changes</h3>
139<ul>
Roberto Araujocaa820e2017-10-19 19:51:22 -0200140 <li>JaCoCo now depends on ASM 6.0
141 (GitHub <a href="https://github.com/jacoco/jacoco/issues/600">#600</a>).</li>
Evgeny Mandrikova9732672017-05-04 20:01:15 +0200142 <li>More information about context is provided when unable to read input during
143 instrumentation
144 (GitHub <a href="https://github.com/jacoco/jacoco/issues/527">#527</a>).</li>
Marc R. Hoffmann6f375762018-01-01 23:05:18 +0100145 <li>More information about context is provided when unable to read stream during
146 analysis
147 (GitHub <a href="https://github.com/jacoco/jacoco/issues/541">#541</a>).</li>
Evgeny Mandrikova9732672017-05-04 20:01:15 +0200148</ul>
149
Evgeny Mandrikovec516e42017-02-05 22:54:33 +0100150<h2>Release 0.7.9 (2017/02/05)</h2>
Evgeny Mandrikov248723e2016-12-11 20:55:45 +0100151
Brett Kail055e8e42016-12-14 01:48:49 +0100152<h3>Fixed Bugs</h3>
153<ul>
Evgeny Mandrikovb2085942017-01-04 13:59:51 +0200154 <li>"<code>java.lang.ClassFormatError: Short length on BootstrapMethods in class file</code>"
155 caused by bug in ASM library
156 (GitHub <a href="https://github.com/jacoco/jacoco/issues/462">#462</a>).</li>
Evgeny Mandrikoved979062017-01-04 13:15:29 +0200157 <li>Do not recompute frames in case of large methods, otherwise
158 <code>java.lang.ClassNotFoundException</code> might be thrown
159 (GitHub <a href="https://github.com/jacoco/jacoco/issues/177">#177</a>).</li>
Brett Kail055e8e42016-12-14 01:48:49 +0100160 <li><code>ExecutionDataWriter.FORMAT_VERSION</code> is not a compile-time constant
161 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li>
Evgeny Mandrikov2b1d4b22017-02-05 19:16:38 +0100162 <li>Maven goal "prepare-agent" should not overwrite existing property value if execution was skipped
163 (GitHub <a href="https://github.com/jacoco/jacoco/issues/486">#486</a>).</li>
Brett Kail055e8e42016-12-14 01:48:49 +0100164</ul>
165
Brett Kaileeb3aa82016-12-14 01:48:40 +0100166<h3>API Changes</h3>
167<ul>
168 <li><code>JaCoCo.ASM_API_VERSION</code> removed
169 (GitHub <a href="https://github.com/jacoco/jacoco/issues/474">#474</a>).</li>
170</ul>
171
Evgeny Mandrikoved979062017-01-04 13:15:29 +0200172<h3>Non-functional Changes</h3>
173<ul>
174 <li>JaCoCo now depends on ASM 5.2.</li>
Evgeny Mandrikovd1a0f192017-01-17 22:42:02 +0100175 <li>OSGi metadata now generated automatically and additionally include
176 <code>uses</code> directives, <code>Require-Capability</code> attribute,
177 and export of all internal packages with <code>x-internal:=true</code> directive
178 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li>
179 <li>Removed OSGi attributes that were mistakenly added in version 0.6.1 into
180 <code>jacocoant.jar</code> that contains all dependencies
181 (GitHub <a href="https://github.com/jacoco/jacoco/issues/211">#211</a>).</li>
Evgeny Mandrikoved979062017-01-04 13:15:29 +0200182</ul>
183
Evgeny Mandrikov6e9b6f22016-12-10 00:11:36 +0100184<h2>Release 0.7.8 (2016/12/09)</h2>
Evgeny Mandrikova9f48b82016-06-05 21:16:22 +0200185
Evgeny Mandrikov209b27c2016-06-11 13:51:33 +0200186<h3>New Features</h3>
187<ul>
188 <li>User property <code>jacoco.dataFile</code> for parameter <code>dataFile</code>
189 of Maven <code>report</code> goal
190 (GitHub <a href="https://github.com/jacoco/jacoco/issues/322">#322</a>).</li>
191</ul>
192
Evgeny Mandrikov08a2d0d2016-06-20 18:50:31 +0200193<h3>Fixed Bugs</h3>
194<ul>
Evgeny Mandrikov9b1c6f52016-09-26 20:20:07 +0200195 <li>Use <code>RoundingMode#FLOOR</code> instead of
196 <code>RoundingMode#HALF_EVEN</code> for percentages in HTML report, so that
197 "99.5" is displayed as "99%", not as "100%"
198 (GitHub <a href="https://github.com/jacoco/jacoco/issues/452">#452</a>).</li>
Evgeny Mandrikov54334f22016-08-16 21:29:36 +0200199 <li>Do not add useless members into Java 8 interfaces that have only interface
200 initialization and abstract methods
201 (GitHub <a href="https://github.com/jacoco/jacoco/issues/441">#441</a>).</li>
Evgeny Mandrikov28a112c2016-08-16 04:06:56 +0200202 <li>Fix instrumentation to not violate Java Virtual Machine Specification regarding
203 initialization of final fields, otherwise <code>IllegalAccessError</code>
204 will be thrown starting from OpenJDK 9 EA b127
205 (GitHub <a href="https://github.com/jacoco/jacoco/issues/434">#434</a>).</li>
Evgeny Mandrikov70565302016-06-24 11:23:49 +0200206 <li>Fix instrumentation of interfaces with default methods to not create incorrect
207 constant pool entries, which lead to <code>IncompatibleClassChangeError</code>
208 starting from OpenJDK 9 EA b122
209 (GitHub <a href="https://github.com/jacoco/jacoco/issues/428">#428</a>).</li>
Evgeny Mandrikov08a2d0d2016-06-20 18:50:31 +0200210 <li>Add Maven goal <code>report-aggregate</code> to lifecycle-mapping-metadata.xml
211 (GitHub <a href="https://github.com/jacoco/jacoco/issues/427">#427</a>).</li>
212</ul>
213
Evgeny Mandrikov52284d12016-12-09 23:37:06 +0100214<h3>Non-functional Changes</h3>
215<ul>
216 <li>Released JaCoCo JARs are not signed any more. Signed versions of JaCoCo are
217 now available from the Eclipse Orbit project
218 (GitHub <a href="https://github.com/jacoco/jacoco/issues/466">#466</a>).</li>
Evgeny Mandrikovbb8e46c2016-12-10 00:06:04 +0100219 <li>Simplified numbering of versions - JaCoCo JARs in Maven Central repository
220 do not have qualifier any more
221 (GitHub <a href="https://github.com/jacoco/jacoco/issues/468">#468</a>).</li>
Evgeny Mandrikov52284d12016-12-09 23:37:06 +0100222</ul>
223
Evgeny Mandrikov342ce882016-06-06 08:04:26 +0200224<h2>Release 0.7.7 (2016/06/06)</h2>
Evgeny Mandrikovd189a2c2016-02-18 10:07:44 +0100225
Marc R. Hoffmannc181f602016-04-19 13:22:01 +0200226<h3>New Features</h3>
227<ul>
228 <li>New Maven goal <code>report-aggregate</code> to create reports for
229 multi-module projects
230 (GitHub <a href="https://github.com/jacoco/jacoco/issues/388">#388</a>).</li>
231 <li>New parameters <code>title</code> and <code>footer</code> for Maven
232 reporting goals allow customization of generated reports.</li>
Marc R. Hoffmann8bc34b12016-05-03 10:13:58 +0200233 <li>Renamed "dot" resources in generated HTML reports to become more web
234 hosting friendly
235 (GitHub <a href="https://github.com/jacoco/jacoco/issues/401">#401</a>).</li>
Evgeny Mandrikov3cf1d3c2016-05-20 23:26:00 +0200236 <li>Experimental support for Java 9 class files
237 (GitHub <a href="https://github.com/jacoco/jacoco/issues/406">#406</a>).</li>
Marc R. Hoffmannc181f602016-04-19 13:22:01 +0200238</ul>
239
Marc R. Hoffmanndb837432016-04-17 09:34:29 +0200240<h3>Fixed Bugs</h3>
241<ul>
242 <li>Don't suppress EOF errors in case of truncated execution data files
243 (GitHub <a href="https://github.com/jacoco/jacoco/issues/397">#397</a>).</li>
244</ul>
245
Evgeny Mandrikovc5c7ddb2016-02-19 15:13:51 +0100246<h3>Non-functional Changes</h3>
247<ul>
Evgeny Mandrikov8e73ea62016-05-27 20:00:12 +0200248 <li>JaCoCo now depends on ASM 5.1.</li>
Marc R. Hoffmannea2f49f2016-03-21 23:06:48 +0100249 <li>Empty probe arrays are not written to execution data files any more. This
250 reduces exec file size significantly for per-test data dumps.
251 (GitHub <a href="https://github.com/jacoco/jacoco/issues/387">#387</a>).</li>
Evgeny Mandrikovfde254d2016-05-14 09:33:09 +0200252 <li>More information about context is provided when unable to read input during
253 analysis.
254 (GitHub <a href="https://github.com/jacoco/jacoco/issues/400">#400</a>).</li>
Evgeny Mandrikovc5c7ddb2016-02-19 15:13:51 +0100255 <li>Require at least Maven 3.0 for build of JaCoCo.</li>
256</ul>
257
258
Evgeny Mandrikov930a8182016-02-18 09:13:46 +0100259<h2>Release 0.7.6 (2016/02/18)</h2>
Evgeny Mandrikov76bb13b2015-05-25 19:12:54 +0200260
Marc R. Hoffmannc24f7732015-10-02 00:04:39 +0200261<h3>New Features</h3>
262<ul>
Marc R. Hoffmann26daee42016-01-12 22:33:05 +0100263 <li>New agent option <code>inclnolocationclasses</code> to support execution
264 environments like Android where no source location is provided with classes
265 (GitHub <a href="https://github.com/jacoco/jacoco/issues/288">#288</a>).</li>
Marc R. Hoffmannc24f7732015-10-02 00:04:39 +0200266 <li>Improved error message in case of incompatible execution data files.
267 (GitHub <a href="https://github.com/jacoco/jacoco/issues/319">#319</a>).</li>
Marc R. Hoffmann94e9a3f2015-11-13 00:02:12 +0100268 <li>Command line agent options now supports comma in file names. Contributed
269 by Jochen Berger.
270 (GitHub <a href="https://github.com/jacoco/jacoco/issues/358">#358</a>).</li>
Marc R. Hoffmannc24f7732015-10-02 00:04:39 +0200271</ul>
272
Marc R. Hoffmannc5a652a2015-09-30 23:46:38 +0200273<h3>Fixed Bugs</h3>
274<ul>
275 <li>Fix <code>MBeanClient</code> example
276 (GitHub <a href="https://github.com/jacoco/jacoco/issues/333">#333</a>).</li>
Marc R. Hoffmann12164ff2015-12-04 18:36:41 +0100277 <li>Avoid <code>ConcurrentModificationException</code> during shutdown
278 (GitHub <a href="https://github.com/jacoco/jacoco/issues/364">#364</a>).</li>
Marc R. Hoffmannc5a652a2015-09-30 23:46:38 +0200279</ul>
280
Marc R. Hoffmannc24f7732015-10-02 00:04:39 +0200281<h3>API Changes</h3>
282<ul>
283 <li>In case of incompatible execution data formats read from another JaCoCo
284 version <code>ExecutionDataReader.read()</code> now throws a
285 <code>IncompatibleExecDataVersionException</code>.</li>
286</ul>
287
Marc R. Hoffmannec3266a2015-11-16 22:31:24 +0100288<h3>Non-functional Changes</h3>
289<ul>
290 <li>JaCoCo now depends on ASM 5.0.4.</li>
291</ul>
292
Marc R. Hoffmannc24f7732015-10-02 00:04:39 +0200293
Evgeny Mandrikov887abac2015-05-24 21:50:15 +0200294<h2>Release 0.7.5 (2015/05/24)</h2>
Evgeny Mandrikov65ffb0f2015-02-27 20:11:07 +0100295
Evgeny Mandrikov6b72d5a2015-03-29 23:15:25 +0200296<h3>New Features</h3>
297<ul>
Marc R. Hoffmann87311452015-02-16 09:09:25 +0100298 <li>Better detection of coverage in code blocks with implicit exceptions.
299 (GitHub <a href="https://github.com/jacoco/jacoco/issues/310">#310</a>).</li>
Evgeny Mandrikov6b72d5a2015-03-29 23:15:25 +0200300 <li>Added lifecycle-mapping-metadata.xml for M2E
301 (GitHub <a href="https://github.com/jacoco/jacoco/issues/203">#203</a>).</li>
Marc R. Hoffmannd4ef46a2015-03-27 08:15:40 +0100302 <li>Allow locales with country and variant for Ant report task
303 (GitHub <a href="https://github.com/jacoco/jacoco/issues/289">#289</a>).</li>
Evgeny Mandrikov6b72d5a2015-03-29 23:15:25 +0200304</ul>
305
Marc R. Hoffmannd5946162015-04-26 18:50:28 +0200306<h3>Fixed Bugs</h3>
307<ul>
308 <li>For the Ant tasks <code>coverage</code> and <code>agent</code> the
309 <code>destfile</code> attribute is now passed as an absolute path also in
310 the default case
311 (GitHub <a href="https://github.com/jacoco/jacoco/issues/301">#301</a>).</li>
312</ul>
313
Marc R. Hoffmann87311452015-02-16 09:09:25 +0100314<h3>API Changes</h3>
315<ul>
316 <li>The exec file version has been updated and is not compatible with previous
317 versions.</li>
318</ul>
319
Evgeny Mandrikovb2403862015-02-26 22:49:51 +0100320<h2>Release 0.7.4 (2015/02/26)</h2>
Evgeny Mandrikovf686e5e2015-02-20 21:07:27 +0100321
Marc R. Hoffmannbe29a422015-02-24 22:21:23 +0100322<h3>Fixed Bugs</h3>
323<ul>
324 <li>Restored exec file compatibility with version 0.7.2 by fixing missing
325 probes in case of try/catch blocks which are jump targets.
326 (GitHub <a href="https://github.com/jacoco/jacoco/issues/286">#286</a>).</li>
327</ul>
328
329
Evgeny Mandrikov0004ed22015-02-19 21:53:45 +0100330<h2>Release 0.7.3 (2015/02/19)</h2>
Evgeny Mandrikov02f5af42014-09-13 12:57:18 +0200331
Marc R. Hoffmann00920552014-12-26 17:47:32 +0100332<h3>New Features</h3>
333<ul>
334 <li>For offline instrumemtation agent configuration supports system properties
335 replacements. Implementation based on pull request of GitHub user 'debugger'
Marc R. Hoffmann6754cd12015-01-04 20:54:07 +0100336 (GitHub <a href="https://github.com/jacoco/jacoco/issues/262">#262</a>).</li>
Marc R. Hoffmannbc47c022015-01-19 22:57:25 +0100337 <li>Exclude dynamically generated classes from instrumentation for better
338 interoperability with JMockit, analysis contributed by Rogério Liesenfeld
339 (GitHub <a href="https://github.com/jacoco/jacoco/issues/272">#272</a>).</li>
Marc R. Hoffmann6754cd12015-01-04 20:54:07 +0100340</ul>
341
342<h3>Fixed Bugs</h3>
343<ul>
344 <li>Instrumented bytecode now compatible with Android ART runtime, analysis
345 and fix contributed by Allen Hair
346 (GitHub <a href="https://github.com/jacoco/jacoco/issues/265">#265</a>).</li>
347</ul>
348
Evgeny Mandrikovff5ffa32014-09-12 18:49:23 +0200349<h2>Release 0.7.2 (2014/09/12)</h2>
Evgeny Mandrikov55c11f42014-05-11 03:00:39 +0200350
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +0200351<h3>Fixed Bugs</h3>
352<ul>
353 <li>Do not ignore synthetic lambda methods to get code coverage for Java 8
354 lambda expressions
355 (GitHub <a href="https://github.com/jacoco/jacoco/issues/232">#232</a>).</li>
356</ul>
357
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +0200358<h3>New Features</h3>
359<ul>
360 <li>New configuration option for the JaCoCo agent
Marc R. Hoffmann1d8389b2014-05-20 13:44:17 +0200361 <code>inclbootstrapclasses</code> to also instrument classes from the
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +0200362 bootstrap class loader
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +0200363 (GitHub <a href="https://github.com/jacoco/jacoco/issues/49">#49</a>).</li>
Marc R. Hoffmann8ffcb712014-08-20 22:20:38 +0200364 <li>Agent uses unique file names to dump class files
Marc R. Hoffmann74a79502014-07-07 22:28:48 +0200365 (GitHub <a href="https://github.com/jacoco/jacoco/issues/225">#225</a>).</li>
Marc R. Hoffmann310b7d12014-05-16 20:30:20 +0200366</ul>
367
Evgeny Mandrikov1755a4d2014-05-08 23:59:56 +0200368<h2>Release 0.7.1 (2014/05/08)</h2>
Evgeny Mandrikovd65d20d2014-03-19 02:21:54 +0100369
Marc R. Hoffmann82b13482014-03-23 17:03:43 +0100370<h3>Fixed Bugs</h3>
371<ul>
Marc R. Hoffmann0acfc8f2014-05-07 07:33:02 +0200372 <li>Fixed failure with default methods in Java 8 interfaces
Marc R. Hoffmann72793f82014-05-01 06:15:21 +0200373 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
Marc R. Hoffmann82b13482014-03-23 17:03:43 +0100374 <li>Better interoperability with JMockit, analysis and fix contributed by Rogério
375 Liesenfeld (GitHub <a href="https://github.com/jacoco/jacoco/issues/35">#35</a>
Marc R. Hoffmannd9aa3922014-05-07 06:05:43 +0200376 and <a href="https://github.com/jacoco/jacoco/issues/54">#54</a>).</li>
Marc R. Hoffmann82b13482014-03-23 17:03:43 +0100377</ul>
378
Marc R. Hoffmann488550f2014-03-26 06:22:16 +0100379<h3>Non-functional Changes</h3>
380<ul>
Marc R. Hoffmannd9aa3922014-05-07 06:05:43 +0200381 <li>JaCoCo now depends on ASM 5.0.1
Marc R. Hoffmann488550f2014-03-26 06:22:16 +0100382 (GitHub <a href="https://github.com/jacoco/jacoco/issues/201">#201</a>).</li>
383</ul>
384
Evgeny Mandrikove8568e32014-03-18 23:30:00 +0100385<h2>Release 0.7.0 (2014/03/18)</h2>
Evgeny Mandrikovf8176c42014-03-04 19:40:28 +0100386
Marc R. Hoffmann351b20e2014-03-18 00:08:13 +0100387<h3>New Features</h3>
388<ul>
389 <li>JaCoCo now supports Java 8
390 (GitHub <a href="https://github.com/jacoco/jacoco/issues/74">#74</a>).</li>
391</ul>
392
393<h3>Non-functional Changes</h3>
394<ul>
395 <li>JaCoCo now depends on ASM 5.0 using asm-debug-all instead of asm-all
396 (GitHub <a href="https://github.com/jacoco/jacoco/issues/199">#199</a>).</li>
397</ul>
398
Evgeny Mandrikovde1febf2014-03-03 22:24:25 +0100399<h2>Release 0.6.5 (2014/03/03)</h2>
Evgeny Mandrikov94557aa2013-12-11 08:42:51 +0100400
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +0100401<h3>New Features</h3>
Marc R. Hoffmann68dc5eb2014-01-20 21:27:10 +0100402<ul>
403 <li>Warnings are logged during report generation if different versions of
404 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 +0100405 <li>Signatures are removed from instrumented JAR files
406 (GitHub <a href="https://github.com/jacoco/jacoco/issues/186">#186</a>).</li>
Marc R. Hoffmann68dc5eb2014-01-20 21:27:10 +0100407</ul>
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +0100408
Mirko Friedenhagen3da5b2b2013-12-17 11:35:13 +0100409<h3>Fixed Bugs</h3>
410<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100411 <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 +0100412 <li>Align skip conditions and messages for Maven goals and give reasons. This
413 includes removal of the specific skip condition for packages e.g. POMs and
414 instead checks existence of <tt>target/classes</tt> in appropriate goals
415 (GitHub <a href="https://github.com/jacoco/jacoco/issues/171">#171</a>).</li>
Mirko Friedenhagen0d6990d2014-02-13 21:13:14 +0100416 <li>GitHub #44: (Regression) Agent Mojo should set empty property, if execution was skipped
417 (GitHub <a href="https://github.com/jacoco/jacoco/issues/192">#192</a>).</li>
Marc R. Hoffmannf40e5212014-01-07 07:01:25 +0100418</ul>
419
420<h3>API Changes</h3>
421<ul>
Mirko Friedenhagen284fce92013-12-21 21:35:01 +0100422 <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 +0100423</ul>
424
Evgeny Mandrikov7c7d7e82013-12-10 12:12:08 +0100425<h2>Release 0.6.4 (2013/12/10)</h2>
Evgeny Mandrikov1a29d522013-06-03 10:27:38 +0200426
Marc R. Hoffmann54bf6f12013-06-13 23:42:32 +0200427<h3>New Features</h3>
428<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100429 <li>Support for Android <i>Strict Mode</i> (GitHub <a href="https://github.com/jacoco/jacoco/issues/113">#113</a>).</li>
430 <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 +0200431 <li>New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100432 (GitHub <a href="https://github.com/jacoco/jacoco/issues/126">#126</a>).</li>
Marc R. Hoffmann8a830fa2013-11-15 21:03:51 +0100433 <li>Additional list of source files for every package in HTML report
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100434 (GitHub <a href="https://github.com/jacoco/jacoco/issues/142">#142</a>).</li>
Mirko Friedenhagenede9c632013-11-17 21:57:32 +0100435 <li>Additional report-integration and prepare-agent-integration goals for
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100436 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 +0200437</ul>
438
Marc R. Hoffmannbd886f02013-10-11 18:37:05 +0200439<h3>Fixed Bugs</h3>
440<ul>
441 <li>Multiple executions of Maven goal "prepare-agent" should not lead to
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100442 incorrect configuration (GitHub <a href="https://github.com/jacoco/jacoco/issues/40">#40</a>).</li>
Marc R. Hoffmannb887be42013-10-25 18:36:58 +0200443 <li>Avoid direct dependency on java.lang.management APIs to allow usage on
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100444 Android (GitHub <a href="https://github.com/jacoco/jacoco/issues/150">#150</a>).</li>
445 <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 +0100446 <li>check and merge goal failures in jacoco-maven-plugin with Maven 2.2.1
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100447 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 +0200448</ul>
449
Marc R. Hoffmannd3982ef2013-11-15 20:41:09 +0100450<h3>API Changes</h3>
451<ul>
452 <li>New API package <code>org.jacoco.core.tools</code> for shared high-level
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100453 tools. (GitHub <a href="https://github.com/jacoco/jacoco/issues/159">#159</a>).</li>
Marc R. Hoffmannd3982ef2013-11-15 20:41:09 +0100454</ul>
455
Evgeny Mandrikovf6b53262013-06-03 10:13:44 +0200456<h2>Release 0.6.3 (2013/06/03)</h2>
Evgeny Mandrikove16acdd2013-02-03 01:22:10 +0100457
Marc R. Hoffmannfc340a22013-03-22 11:13:24 +0100458<h3>New Features</h3>
459<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100460 <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 +0100461 <li>The coverage check has been reworked to allow checks on all counter values
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100462 on all element types (GitHub <a href="https://github.com/jacoco/jacoco/issues/106">#106</a>).</li>
463 <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 +0100464</ul>
465
Marc R. Hoffmann1b1935e2013-03-01 19:55:43 +0100466<h3>Fixed Bugs</h3>
467<ul>
468 <li>Fixed inconsistent stackmap frames when instrumenting class files produced
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100469 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 +0100470</ul>
471
Marc R. Hoffmannac07e252013-05-20 12:56:11 +0200472<h3>Non-functional Changes</h3>
473<ul>
474 <li>More context information when exceptions occur during analysis or
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100475 instrumentation (GitHub <a href="https://github.com/jacoco/jacoco/issues/104">#104</a>).</li>
Marc R. Hoffmanne0482012013-06-01 12:19:09 +0200476 <li>If analysis is performed on offline instrumented classes - which is an
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100477 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 +0200478</ul>
479
Marc R. Hoffmann55fae172013-03-20 11:55:53 +0100480<h3>API Changes</h3>
481<ul>
482 <li>The configuration of the Maven check goal has been reworked to support
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100483 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 +0200484 <li><code>Analyzer</code> and <code>Instrumenter</code> expect resource name
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100485 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 +0100486</ul>
487
Evgeny Mandrikov6fd4f3a2013-02-03 01:09:10 +0100488<h2>Release 0.6.2 (2013/02/03)</h2>
Evgeny Mandrikova6a45e82012-12-23 22:24:47 +0100489
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100490<h3>New Features</h3>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +0100491<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100492 <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 +0100493 <li>JaCoCo agent exposes runtime API for direct integration with application
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100494 under test (GitHub <a href="https://github.com/jacoco/jacoco/issues/61">#61</a>).</li>
Marc R. Hoffmann1a7ab6f2013-01-08 22:21:25 +0100495 <li>Support for parallel test execution: Different agents can now safely write
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100496 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 +0100497 <li>New output mode 'none' can be used when agent is only controlled via JMX
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100498 or its new runtime API (GitHub <a href="https://github.com/jacoco/jacoco/issues/63">#63</a>).</li>
499 <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 +0100500 <li>jacoco-maven-plugin: default phase for goal "report" - "verify"
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100501 (GitHub <a href="https://github.com/jacoco/jacoco/issues/72">#72</a>).</li>
Marc R. Hoffmann47990a42012-12-28 13:54:23 +0100502</ul>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100503
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100504<h3>Non-functional Changes</h3>
505<ul>
506 <li>For every build the corresponding Git commit hash is included as
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100507 <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 +0200508 <li>Adjust saturation of red source highlighting in HTML reports to make
509 JaCoCo reports more accessible to red/green blind users.</li>
Evgeny Mandrikov4a77e402012-12-26 12:03:58 +0100510</ul>
511
Marc R. Hoffmanne2930e72013-01-08 21:18:35 +0100512<h3>API Changes</h3>
513<ul>
514 <li>The <code>output</code> mode <code>mbean</code> of the agent has been
515 dropped in favor of the new boolean option <code>jmx</code>. This allows
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100516 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 +0100517</ul>
518
Evgeny Mandrikov0bb8d2d2012-12-23 20:33:58 +0100519<h2>Release 0.6.1 (2012/12/23)</h2>
Evgeny Mandrikov7764fe52012-10-06 23:44:26 +0400520
Evgeny Mandrikov2ea884b2012-11-10 13:47:51 +0100521<h3>New Features</h3>
522<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100523 <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 +0100524</ul>
525
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100526<h3>Fixed Bugs</h3>
527<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100528 <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 +0100529 <li>Agent Mojo should set empty property, if execution was skipped
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100530 (GitHub <a href="https://github.com/jacoco/jacoco/issues/44">#44</a>).</li>
Evgeny Mandrikoveb0cfdf2012-11-10 18:00:41 +0100531</ul>
532
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100533<h3>Non-functional Changes</h3>
534<ul>
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100535 <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 +0100536 <li>Log location of merged execution data file in Ant <code>merge</code> task
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100537 (GitHub <a href="https://github.com/jacoco/jacoco/issues/29">#29</a>).</li>
Marc R. Hoffmann1e1df5b2012-11-02 22:58:50 +0100538</ul>
539
Evgeny Mandrikov76f62ca2012-10-06 23:01:20 +0400540<h2>Release 0.6.0 (2012/10/06)</h2>
Evgeny Mandrikov13d966c2012-08-31 12:39:14 +0600541
Marc R. Hoffmannf22657e2012-09-20 21:45:49 +0200542<h3>New Features</h3>
543<ul>
544 <li>Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100545 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 +0200546</ul>
547
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600548<h3>Fixed Bugs</h3>
549<ul>
550 <li>Maven plugin should skip creation of report if the execution data file is
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200551 missing. This avoids appearance of stack traces in case when JVM was not
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100552 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 +0200553 <li>Maven plugin should fail if unable to read execution data file or create
Mirko Friedenhagena6bd6ea2013-12-17 11:50:26 +0100554 report (GitHub <a href="https://github.com/jacoco/jacoco/issues/19">#19</a>).</li>
Abraham Lin47c3fbb2012-09-13 23:27:32 +0600555</ul>
556
Marc R. Hoffmann8bcab032012-09-20 22:28:29 +0200557<h3>API Changes</h3>
558<ul>
559 <li>Only colon as separator character supported in agent parameters. The
560 deprecated pipe character is no longer supported.</li>
561</ul>
562
Evgeny Mandrikovd3dd13c2012-08-31 12:32:50 +0600563<h2>Release 0.5.10 (2012/08/31)</h2>
Evgeny Mandrikov9e1a22e2012-07-30 07:35:07 +0000564
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000565<h3>Fixed Bugs</h3>
566<ul>
Marc R. Hoffmann632e70b2012-08-24 14:49:19 +0000567 <li>Correct stackmap frames for new <code>long[]</code> arrays (SF #3553210).</li>
568 <li>Properly resolve the <code>fork</code> variable for tasks wrapped by the
569 <code>coverage</code> Ant task (Trac #213).</li>
Marc R. Hoffmannababcec2012-08-16 19:07:26 +0000570</ul>
571
Marc R. Hoffmannbb80b762012-08-29 23:57:58 +0200572<h3>Non-functional Changes</h3>
573<ul>
574 <li>Source tree has been migrated to Git and is now hosted on Github at
575 <a href="https://github.com/jacoco/jacoco">https://github.com/jacoco/jacoco</a>.</li>
576</ul>
577
Evgeny Mandrikov7fa63e72012-07-30 07:26:38 +0000578<h2>Release 0.5.9 (2012/07/30)</h2>
Evgeny Mandrikov19e5caa2012-07-11 12:29:04 +0000579
Marc R. Hoffmann049e6042012-07-21 19:02:27 +0000580<h3>Fixed Bugs</h3>
581<ul>
582 <li>Don't produce invalid class files in case of unexpected stackmap frames
583 (SF #3543758).</li>
584</ul>
585
Evgeny Mandrikov5552b672012-07-11 12:23:15 +0000586<h2>Release 0.5.8 (2012/07/11)</h2>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000587
Marc R. Hoffmanncf41fc12012-06-30 00:15:43 +0000588<h3>New Features</h3>
589<ul>
590 <li>Support for parallel Maven builds (Trac #191).</li>
591 <li>New agent option <code>classdumpdir</code> to dump all class files seen
592 by the JaCoCo agent to disk. This option is also available for Ant and
593 Maven (Trac #208).</li>
594</ul>
595
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000596<h3>Fixed Bugs</h3>
597<ul>
598 <li>Allow instrumentation of classes with dead code (SF #3538112).</li>
Marc R. Hoffmann65c17152012-07-09 10:37:23 +0000599 <li>Reworked instrumentation strategy to avoid verifier error "Uninitialized
600 object exists on backward branch" with certain Java 7 class files
601 (Trac #154).</li>
Marc R. Hoffmann9308f8a2012-07-04 19:00:06 +0000602</ul>
603
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000604<h3>Non-functional Changes</h3>
605<ul>
Marc R. Hoffmann871836b2012-05-12 12:28:13 +0000606 <li>Documentation now includes Maven example and Maven goal documentation
607 (Trac #201, #202).</li>
Marc R. Hoffmann78309272012-05-02 19:25:44 +0000608</ul>
609
Evgeny Mandrikov976a90f2012-04-19 03:40:42 +0000610<h2>Release 0.5.7 (2012/04/19)</h2>
Evgeny Mandrikov022e3af2012-01-23 23:39:12 +0000611
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000612<h3>New Features</h3>
613<ul>
614 <li>Support for class redefinitions by other agents like JMockit (SF #3509409).</li>
Marc R. Hoffmannc17f2b02012-04-07 09:05:00 +0000615 <li>Remove class file attributes with invalid code offsets caused by other
Marc R. Hoffmannc32282c2012-04-18 21:04:59 +0000616 byte code processing tools to avoid verifier errors (Trac #196).</li>
617 <li>Improved logging for Ant tasks (SF #3518429).</li>
Marc R. Hoffmann2a363b82012-03-31 10:00:06 +0000618</ul>
619
Marc R. Hoffmannce117fd2012-03-29 12:55:41 +0000620<h3>Fixed Bugs</h3>
621<ul>
622 <li>In case of failures the agent should log the original exception.</li>
623</ul>
624
Evgeny Mandrikov99487a12012-01-23 23:33:12 +0000625<h2>Release 0.5.6 (2012/01/23)</h2>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000626
627<h3>New Features</h3>
628<ul>
629 <li>jacoco-maven-plugin can be used together with maven-site-plugin (Trac #181).</li>
Marc R. Hoffmann8b5d6a32012-01-18 20:24:45 +0000630 <li>The <code>report</code> Ant task now also supports directory resources to
631 specify source folders. This allows reading source files from multiple
632 directories. Contributed by Dominik Stadler (Trac #119).</li>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000633</ul>
634
635<h3>Fixed Bugs</h3>
636<ul>
637 <li>Don't insert stackmap frames for class files before version 1.6.</li>
638 <li>Regression, which was introduced in 0.5.4 - restored compatibility of jacoco-maven-plugin with Maven 2 (Trac #182).</li>
639</ul>
640
641<h2>Release 0.5.5 (2011/12/15)</h2>
642
643<h3>Fixed Bugs</h3>
644<ul>
645 <li>Correct default value for the <code>append</code> property of the
646 <code>dump</code> Ant task is <code>true</code> (Trac #178).</li>
647 <li>Try/catch blocks must not be counted as instructions (Trac #179).</li>
648</ul>
649
650<h3>Non-functional Changes</h3>
651<ul>
652 <li>Upgrade to ASM 3.3.1.</li>
653</ul>
654
655<h2>Release 0.5.4 (2011/11/11)</h2>
656
657<h3>New Features</h3>
658<ul>
659 <li>Maven plug-in: respect <code>includes</code> and <code>excludes</code>
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000660 properties in report Mojo (Trac #160).
Evgeny Mandrikov8e7d6992011-11-11 20:26:38 +0000661 Also note that:
662<pre class="source lang-xml">
663&lt;configuration&gt;
664 &lt;includes&gt;org.foo.*:org.bar.*&lt;/includes&gt;
665 &lt;excludes&gt;com.foo.*:com.bar.*&lt;/excludes&gt;
666&lt;/configuration&gt;
667</pre>
668 must be replaced on:
669<pre class="source lang-xml">
670&lt;configuration&gt;
671 &lt;includes&gt;
672 &lt;include>org.foo.*&lt;/include&gt;
673 &lt;include>org.bar.*&lt;/include&gt;
674 &lt;/includes&gt;
675 &lt;excludes&gt;
676 &lt;exclude&gt;com.foo.*&lt;/exclude&gt;
677 &lt;exclude&gt;com.bar.*&lt;/exclude&gt;
678 &lt;/excludes&gt;
679&lt;/configuration&gt;
680</pre>
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000681 </li>
682</ul>
683
684<h3>API Changes</h3>
685<ul>
686 <li><code>Instrumenter</code> now only requires
687 <code>IExecutionDataAccessorGenerator</code> instead of
688 <code>IRuntime</code> (Trac #174).</li>
689 <li>Removed reference to internal implementation classes from
690 <code>CoverageBuilder</code> API.</li>
691</ul>
692
693<h3>Non-functional Changes</h3>
694<ul>
695 <li>Release bundles from now on signed again.</li>
696 <li>Several documentation updates.</li>
697</ul>
698
699<h2>Release 0.5.3 (2011/07/06)</h2>
700
701<h3>New Features</h3>
702<ul>
703 <li>New Maven plug-in for JaCoCo agent setup and basic reporting (Trac #25).</li>
704 <li>Additional output mode implementation for JaCoCo agent based on JMX.</li>
705</ul>
706
707<h3>Fixed Bugs</h3>
708<ul>
709 <li>Fixed problem with reporting of nested group structures (Trac #157).</li>
710</ul>
711
712<h3>Non-functional Changes</h3>
713<ul>
714 <li>JaCoCo build based on Maven (Trac #136).</li>
715 <li>JaCoCo published to Maven repository (Trac #149).</li>
716</ul>
717
718<h2>Release 0.5.2 (2011/05/19)</h2>
719
720<h3>New Features</h3>
721<ul>
722 <li>JaCoCo reports cyclomatic complexity numbers (Trac #129).</li>
723 <li>For HTML reports the tab width can be specified on the
724 <code>sourcefiles</code> attribute of the <code>report</code> Ant task
725 (Track #152).</li>
726</ul>
727
728<h3>Fixed Bugs</h3>
729<ul>
730 <li>Removed duplicate counters in the root node of XML reports (Trac #155).</li>
731 <li>Avoid <code>StackOverflowException</code> when analyzing methods with very
732 long instruction sequences (Trac #156). Many thanks to Jean-Eric Cuendet
733 for reporting and analyzing this!</li>
734</ul>
735
736<h3>API Changes</h3>
737<ul>
738 <li><code>ICoverageNode</code> API has been extended for cyclomatic
739 complexity (Trac #129).</li>
740 <li>XML and CSV report includes new counter type <code>COMPLEXITY</code>
741 (Trac #129).</li>
742 <li>New method <code>getTabWidth()</code> in callback interface
743 <code>ISourceFileLocator</code> instead of
744 <code>HTMLReportFormatter.setTabWidth()</code> which has been removed.
745 (Trac #152).</li>
746</ul>
747
748<h2>Release 0.5.1 (2011/03/21)</h2>
749
750<h3>New Features</h3>
751<ul>
752 <li>Duplicate classes with identical identifiers are now ignored during
753 analysis.</li>
754 <li>Added support for TestNG to Ant task Coverage (Track #144).</li>
755</ul>
756
757<h3>Fixed Bugs</h3>
758<ul>
759 <li>Calculate correct stackmap frames for Java 1.6 branches (Trac #139).</li>
760 <li>Link source files also for classes in default package (Trac #151).</li>
761</ul>
762
763<h3>Non-functional Changes</h3>
764<ul>
765 <li>API documentation cleanup (Track #140).</li>
766 <li>Removed obsolete examples from documentation (Trac #141).</li>
767 <li>Added reporting API example (Trac #146).</li>
768 <li>Reduced file size of HTML report source pages (Trac #148).</li>
769</ul>
770
771<h3>API Changes</h3>
772<ul>
773 <li>Simplified reporting API (Trac #53).</li>
774 <li>Use colon as separator character in agent parameters (Trac #143).</li>
775 <li>Now also empty files are accepted as <code>*.exec</code> files (Trac #150).</li>
776</ul>
777
778<h2>Release 0.5.0 (2011/01/19)</h2>
779
780<h3>New Features</h3>
781<ul>
782 <li>JaCoCo now reports branch coverage (Track #66).</li>
783</ul>
784
785<h3>Fixed Bugs</h3>
786<ul>
787 <li>Only process actual Java class files during analysis (SF #3106102).</li>
788 <li>Fix broken source links due to sort hash (Track #125).</li>
789 <li>Fixed invalid OSGi headers in MANIFEST.MF files (Track #127).</li>
790 <li>Try to avoid interference with Hibernate (SF #3134190).</li>
791 <li>Provide proper error message in case of duplicate class names in the same
792 group (SF #3110219).</li>
793 <li>Allow any number of probes in static interface initializers (SF #3161106).</li>
794</ul>
795
796<h3>API Changes</h3>
797<ul>
798 <li>All analysis specific APIs have been moved to package
799 <code>org.jacoco.core.analysis</code>.</li>
800 <li>The <code>IStructureVisitor</code> interface has been replaced by a
801 simplified version called <code>ICoverageVisitor</code> (Track #132).</li>
802 <li>All counter creation and update APIs now accept <i>missed items</i> and
803 <i>covered items</i> as parameters (Track #131).</li>
804 <li>Instructions are now counted on a per line basis. Therefore some
805 interfaces in the <code>org.jacoco.core.analysis</code> package have
806 changed as well as the <code>line</code> element in the XML report
807 (Track #130).</li>
808 <li>Several internal implementation classes have removed from the core APIs or
809 have been replaced by new interfaces (Track #133).</li>
810</ul>
811
812<h2>Release 0.4.1 (2010/10/07)</h2>
813
814<h3>New Features</h3>
815<ul>
816 <li>New attribute <code>line</code> for <code>method</code> elements in the
817 XML report containing the first source line number of the method.
818 (Track #120).</li>
819 <li>Optional <code>locale</code> attribute for number rendering HTML reports,
820 also available as an attribute of the <code>html</code> tag of the
821 <code>report</code> Ant task (Track #122).</li>
822 <li>Coverage tables in HTML report are now sortable (Track #98).</li>
823 <li>The <code>report</code> Ant task issues a warning if source files are
824 provided but class files do not contain debug information to collect line
825 numbers (SF #3024486).</li>
826</ul>
827
828<h3>Non-functional Changes</h3>
829<ul>
830 <li>Reduced memory footprint for coverage data by 30% (Track #106).</li>
831 <li>Moved to Eclipse 3.6.x as development environment (Trac #115).</li>
832 <li>All delivered bundles and JAR files are signed (Trac #118).</li>
833</ul>
834
835<h3>Fixed Bugs</h3>
836<ul>
837 <li>Better error message when multiple JaCoCo agents are specified
838 (Track #103).</li>
839 <li>Fixed potential NPE at shutdown when running agent in
840 <code>tcpserver</code> mode (Track #117).</li>
841 <li>Agent now fails at startup when execution data file can't be opened
842 (Track #121).</li>
843</ul>
844
845<h2>Release 0.4.0 (2010/06/04)</h2>
846
847<h3>New Features</h3>
848<ul>
849 <li>Execution data now includes session information: an arbitrary identifier,
850 the start time and dump time (Trac #88).</li>
851 <li>Added session information to XML report (Trac #92).</li>
852 <li>New "Sessions" page in the HTML report shows information about each
853 sessions wherein execution data has been collected for the report
854 (Trac #93). Additionally all classes with execution data available are
855 listed on this page (Trac #94).</li>
856 <li>The agent now supports remote dumps via TCP/IP connections (Trac #82).</li>
857 <li>New Ant task <code>dump</code> to remotely collect coverage data from
858 agents (Trac #100).</li>
859</ul>
860
861<h3>API Changes</h3>
862<ul>
863 <li>Execution data file header is written and read in any case (Trac #72).</li>
864 <li>Added <code>dumponexit</code> to agent options (Trac #82).</li>
865 <li>Added <code>sessionid</code> to agent options (Trac #88).</li>
866 <li>Added <code>output, address and port</code> to agent options (Trac #82).</li>
867 <li>Additional and modified methods in <code>IRuntime</code> to produce
868 session information (Trac #88).</li>
869 <li>Coverage element type <code>SESSION</code> removed (Trac #95).</li>
870 <li>Removed several internal APIs from package
871 <code>org.jacoco.core.instr</code> used for class instrumentation.</li>
872 <li>Renamed class <code>org.jacoco.report.csv.CsvFormatter</code> to
873 <code>CSVFormatter</code> (upper case) for consistency with other
874 formatters.</li>
875</ul>
876
877<h2>Release 0.3.3 (2010/04/19)</h2>
878
879<h3>New Features</h3>
880<ul>
881 <li>Support for different archives (jar, war, ear etc.) and nested archives
882 (Trac #78).</li>
883 <li>XML report with line level coverage information (requested for Sonar).</li>
884</ul>
885
886<h3>Fixed Bugs</h3>
887<ul>
888 <li>Correct stackmap frames for Java 1.6 class files. (Track #81).</li>
889 <li>Avoid usage of <code>LocalVariableSorter</code> due to ASM bug #314563
890 (Track #69).</li>
891 <li>Nested Java/JUnit Ant tasks not being executed when coverage task disabled. (Track #85).</li>
892</ul>
893
894<h2>Release 0.3.2 (2010/04/01)</h2>
895
896<h3>New Features</h3>
897<ul>
898 <li>New HTML report option to directly create a zip file containing the report
899 (Trac #12).</li>
900 <li>Code coverage for static initializers in interfaces (Trac #21).</li>
901 <li>Better error handling for <code>report</code> Ant task (Trac #71).</li>
902 <li>Classes without instructions are excluded from reports (Trac #73).</li>
903</ul>
904
905<h3>Fixed Bugs</h3>
906<ul>
907 <li>XML and CSV report output now also works for structures without groups
908 (Track #76).</li>
909</ul>
910
911<h3>API Changes</h3>
912<ul>
913 <li>Consistent usage of the term "Missed" instead of "NotCovered" in all APIs
914 (Trac #72).</li>
915 <li>To support "off-line" instrumentation scenarios it is not required any
916 more to register instrumented classes with the runtime (Trac #74).</li>
917</ul>
918
919<h2>Release 0.3.1 (2010/02/09)</h2>
920
921<h3>Fixed Bugs</h3>
922<ul>
923 <li>Ant tasks broken on Linux (Trac #68).</li>
924</ul>
925
926<h2>Release 0.3.0 (2010/02/02)</h2>
927
928<h3>New Features</h3>
929<ul>
930 <li>Report renders anonymous classes with type information (Trac #46).</li>
931 <li><code>enabled</code> property added to <code>agent</code> and
932 <code>coverage</code> Ant tasks (Trac #63).</li>
933 <li>Ant task <code>merge</code> added (Trac #52).</li>
934</ul>
935
936<h3>Fixed Bugs</h3>
937<ul>
938 <li>New <code>IRuntime</code> implementation enables JaCoCo usage for J2EE
939 application servers like Glassfish.</li>
940</ul>
941
942<h3>API Changes</h3>
943<ul>
944 <li>Agent option and Ant task parameter <code>file</code> changed to
945 <code>destfile</code> (Trac #59).</li>
946 <li>Agent option and Ant task parameter <code>merge</code> changed to
947 <code>append</code> (Trac #51).</li>
948</ul>
949
950<h2>Release 0.2.0 (2010/01/08)</h2>
951
952<h3>New Features</h3>
953
954<ul>
955 <li>Simplified probe data structure reduces memory usage (Trac #47).</li>
956 <li>Performance test becomes part of the build.</li>
957 <li>New bundle <code>org.jacoco.agent</code> that provides the Java agent
958 as a resource (Trac #50).</li>
959</ul>
960
961<h3>Fixed Bugs</h3>
962
963<ul>
964 <li><code>ArrayIndexOutOfBoundsException</code> due to inconsistent processing
965 while instrumentation and analysis (Trac #44).</li>
966</ul>
967
Evgeny Mandrikov82a92ca2012-01-15 20:25:48 +0000968<h2>Release 0.1.0 (2009/10/28)</h2>
969
970<p>
971 The very first JaCoCo release.
972</p>
973
974</div>
975<div class="footer">
976 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
977 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
978</div>
979
980</body>
981</html>