Skip to content

Releases: jacoco/jacoco

0.7.2

13 Sep 10:58
Compare
Choose a tag to compare

Fixed Bugs

  • Do not ignore synthetic lambda methods to get code coverage for Java 8 lambda expressions (GitHub #232).

New Features

  • New configuration option for the JaCoCo agent inclbootstrapclasses to also instrument classes from the bootstrap class loader (GitHub #49).
  • Agent uses unique file names to dump class files (GitHub #225).

All Resolved Issues

0.7.1

11 May 10:41
Compare
Choose a tag to compare

Fixed Bugs

  • Fixed failure with default methods in Java 8 interfaces (GitHub #201).
  • Better interoperability with JMockit, analysis and fix contributed by Rogério Liesenfeld (GitHub #35 and #54).

Non-functional Changes

  • JaCoCo now depends on ASM 5.0.1 (GitHub #201).

All Resolved Issues

0.7.0

19 Mar 01:33
Compare
Choose a tag to compare

New Features

  • JaCoCo now supports Java 8 (GitHub #74).

Non-functional Changes

  • JaCoCo now depends on ASM 5.0 using asm-debug-all instead of asm-all (GitHub #199).

All Resolved Issues

0.6.5

05 Mar 20:42
Compare
Choose a tag to compare

New Features

  • Warnings are logged during report generation if different versions of classes are used than at runtime (GitHub #185).
  • Signatures are removed from instrumented JAR files (GitHub #186).

Fixed Bugs

  • Skip jacoco instrumentation for mvn modules with package type ear (GitHub #169).
  • Align skip conditions and messages for Maven goals and give reasons. This includes removal of the specific skip condition for packages e.g. POMs and instead checks existence of target/classes in appropriate goals (GitHub #171).
  • GitHub #44: (Regression) Agent Mojo should set empty property, if execution was skipped (GitHub #192).

API Changes

  • Restrict visibility of methods in abstract classes of jacoco-maven-plugin (GitHub #175).

All Resolved Issues

0.6.4

11 Dec 21:13
Compare
Choose a tag to compare

New Features

  • Support for Android Strict Mode (GitHub #113).
  • New dump Mojo for Maven plug-in (GitHub #107).
  • New merge Mojo for Maven plug-in, contributed by Mads Mohr Christensen (GitHub #126).
  • Additional list of source files for every package in HTML report (GitHub #142).
  • Additional report-integration and prepare-agent-integration goals for integration tests. (GitHub #152, #161).

Fixed Bugs

  • Multiple executions of Maven goal prepare-agent should not lead to incorrect configuration (GitHub #40).
  • Avoid direct dependency on java.lang.management APIs to allow usage on Android (GitHub #150).
  • All JaCoCo Maven goals are marked as thread-safe (GitHub #133).
  • check and merge goal failures in jacoco-maven-plugin with Maven 2.2.1 due to incompatible configuration (GitHub #129).

API Changes

  • New API package org.jacoco.core.tools for shared high-level tools. (GitHub #159).

All Resolved Issues

0.6.3

01 Sep 19:28
Compare
Choose a tag to compare

New Features

  • Support for archives in Pack200 format (GitHub #91).
  • The coverage check has been reworked to allow checks on all counter values on all element types (GitHub #106).
  • Coverage checks are now also available in Ant (GitHub #106).

Fixed Bugs

  • Fixed inconsistent stackmap frames when instrumenting class files produced by certain tools like ProGuard (GitHub #85).

Non-functional Changes

  • More context information when exceptions occur during analysis or instrumentation (GitHub #104).
  • If analysis is performed on offline instrumented classes - which is an build configuration error - an exception is now thrown (GitHub #108).

API Changes

  • The configuration of the Maven check goal has been reworked to support checks on any element type (GitHub #106).
  • Analyzer and Instrumenter expect resource name as additional parameter for better error messages (GitHub #104).

All Resolved Issues

0.6.2

01 Sep 19:29
Compare
Choose a tag to compare

New Features

  • Support for offline instrumentation (GitHub #4, #64).
    JaCoCo agent exposes runtime API for direct integration with application under test (GitHub #61).
  • Support for parallel test execution: Different agents can now safely write to the same *.exec file (GitHub #52).
  • New output mode 'none' can be used when agent is only controlled via JMX or its new runtime API (GitHub #63).
  • Better error message in case of invalid stackmap frames (GitHub #73).
  • jacoco-maven-plugin: default phase for goal "report" - "verify" (GitHub #72).

Non-functional Changes

  • For every build the corresponding Git commit hash is included as Eclipse-SourceReferences manifest headers (GitHub #7, #59).
  • Adjust saturation of red source highlighting in HTML reports to make JaCoCo reports more accessible to red/green blind users.

API Changes

  • The output mode mbean of the agent has been dropped in favor of the new boolean option jmx. This allows to combine JMX access with any other output mode (GitHub #62).

All Resolved Issues

0.6.1

01 Sep 19:36
Compare
Choose a tag to compare

New Features

  • Add a coverage check Mojo, contributed by Kyle Lieber (GitHub #6).

Fixed Bugs

  • jacocoant.jar should not conflict with ASM 3.x (GitHub #39).
  • Agent Mojo should set empty property, if execution was skipped (GitHub #44).

Non-functional Changes

  • Upgrade to ASM 4.1 (GitHub #37).
  • Log location of merged execution data file in Ant merge task (GitHub #29).

All Resolved Issues

0.6.0

01 Sep 19:37
Compare
Choose a tag to compare

New Features

  • Full support for Java 7 including INVOKEDYNAMIC as JaCoCo is now based on ASM 4.0 (GitHub #5).

Fixed Bugs

  • Maven plugin should skip creation of report if the execution data file is missing. This avoids appearance of stack traces in case when JVM was not forked, e.g. if there are no tests to run (SF #3563431, GitHub #19).
  • Maven plugin should fail if unable to read execution data file or create report (GitHub #19).

API Changes

  • Only colon as separator character supported in agent parameters. The deprecated pipe character is no longer supported.

All Resolved Issues

0.5.10

01 Sep 19:39
Compare
Choose a tag to compare

Fixed Bugs

  • Correct stackmap frames for new long[] arrays (SF 3553210).
  • Properly resolve the fork variable for tasks wrapped by the coverage Ant task (Trac 213).

Non-functional Changes