Skip to content

Releases: Kotlin/kotlinx-kover

0.7.3

27 Jul 13:20
0855c64
Compare
Choose a tag to compare

Kover Gradle Plugin

Features

  • Added ability to specify verification rules in the root of reports config
  • #423 Implemented task of generating binary report

Bugfixes

  • #405 Fixed lookup for tests if unit tests are disabled in Android config
  • #415 Fixed usage of Kover Gradle Plugin in buildSrc directory
  • #431 Fixed excluding of companion object by annotation from report

Kover Offline

Features

  • Added API for getting coverage inside a running application, instrumented offline

0.7.2

27 Jun 15:41
fc70ab3
Compare
Choose a tag to compare

Features

  • #362 Removed the dependency on the order of applying of the plugin
  • #229 Added task to print coverage to logs
  • #394 Added DSL accessors for Kover Default report tasks
  • #400 Added descriptions for Kover report tasks
  • #409 Added ability to generate reports even if there are no tests in the project
  • Upgraded default JaCoCo version to 0.8.10

Bugfixes

  • #413 Fixed issues with cache miss of build cache at the time of project relocation

Documentation

  • Fixed docs typo: dependency {} -> dependencies {}

Internal features

  • Moved Kover Gradle Plugin to the separate subproject
  • Migrated from buildSrc to composite build
  • Added support of the version catalog
  • IntelliJ coverage dependency versions upgraded to 1.0.724

0.7.1

01 Jun 15:02
e577790
Compare
Choose a tag to compare

Features

  • Added a filter for source sets (#376)

Bugfixes

  • Fixed up-to-date checks for Kover tasks (#371)

Documentation

  • Updated documentation on filtering by annotations (#370)
  • Improved Kover documentation (#282)
  • Fix broken migration link in CHANGELOG.md
  • Fix documentation for KoverReportExtension
  • Fixed Kover Plugin ID for legacy plugin application

Internal features

  • Implemented Worker API for use with Kover toolset
  • Updated Gradle and Kotlin versions
  • IntelliJ coverage dependency versions upgraded to 1.0.721

0.7.0

16 May 14:23
Compare
Choose a tag to compare

This release introduce API rework in order to support configuration cache, project isolation model, Android Gradle plugin.
It is incompatible with the previous version, and we provide best-effort migration assistance as well as migration guide

Features

  • Implemented improved Kover DSL (#284)
  • Added Gradle project isolation support (#144)
  • Introduced API for Coverage Tools (#195)
  • Added support of Android build variants (#18)
  • Implemented support filtering of source sets for Kotlin JVM and Kotlin compilations for Kotlin multiplatform (#245)
  • Added customizable header in HTML report for Kover and JaCoCo report generator (#194)
  • Added advanced support of Android projects, flavors and flavor dimensions (#316, #319)
  • Introduced Kover Tool artifacts for CLI and runtime for offline instrumentation (#322)
  • Added support charset for HTML report

Internal features

  • Added dokka docs
  • Added binary compatibility validator (#305)
  • IntelliJ coverage dependency versions upgraded to 1.0.716

Bugfixes

  • Fixed Cannot run Project.afterEvaluate (#221)
  • Fixed missing report path in logs for cached HTML task (#283)
  • Disabled artifact generation when calling the assemble task (#353)
  • Fixed variant level filters for reports (#366)

0.7.0-Beta

21 Apr 16:25
Compare
Choose a tag to compare
0.7.0-Beta Pre-release
Pre-release

Features

  • Added advanced support of Android projects, flavors and flavor dimensions (#316, #319)
  • Introduced Kover Tool artifacts for CLI and runtime for offline instrumentation (#322)

Internal features

  • Added dokka docs
  • Added binary compatibility validator (#305)

0.7.0-Alpha

27 Feb 16:14
7aadd75
Compare
Choose a tag to compare
0.7.0-Alpha Pre-release
Pre-release

This is a preview version of new major release with the API rework in order to support configuration cache, project isolation model, Android Gradle plugin and source-set level granularity of configuration.

This release is incompatible with the previous version, and we provide best-effort migration assistance as well as migration guide

Features

  • Implemented improved Kover DSL (#284)
  • Added Gradle project isolation support (#144)
  • Introduced API for Coverage Tools (#195)
  • Added support of Android build variants (#18)
  • Implemented support filtering of source sets for Kotlin JVM and Kotlin compilations for Kotlin multiplatform (#245)
  • Added customizable header in HTML report for Kover and JaCoCo report generator (#194)
  • Minimal and default Kover Tool versions upgraded to 1.0.709

Bugfixes

  • Fixed Cannot run Project.afterEvaluate (#221)
  • Fixed missing report path in logs for cached HTML task (#283)

0.6.1

03 Oct 19:12
Compare
Choose a tag to compare

Features

  • Implemented filtering of reports by annotation (#121)
  • Minimal and default agent versions upgraded to 1.0.683

Bugfixes

  • Added filtering out projects without a build file (#222)
  • Added JaCoCo reports filtering (#220)
  • Fixed coverage for function reference (#148)
  • Fixed incorrect multiplatform lookup adapter (#193)
  • Fixed ArrayIndexOutOfBoundsException during class instrumentation (#166)

Internal features

  • Upgraded Gradle version to 7.5.1
  • Rewritten functional tests infrastructure
  • Added example projects
  • XML and HTML report generation moved to Kover Aggregator

Documentation

  • Added contribution guide
  • Added section Building and contributing into Table of contents
  • Fix migration to 0.6.0 documentation

0.6.0

23 Aug 17:42
0fcc584
Compare
Choose a tag to compare

Note that this is a full changelog relative to 0.6.0 version. Changelog relative to 0.6.0-Beta can be found at the changelog file.

In this version, the plugin API has been completely redesigned. The new API allows you to configure Kover in a more flexible manner, there is no need to configure Kover or test tasks separately.

Please refer to migration guide in order to migrate from previous versions.

Features

  • Implemented a new plugin API (#19)
  • Added support of instruction and branch counters for verification tasks (#128)
  • Ordered report tasks before verification tasks (#209)
  • Minimal and default agent versions upgraded to 1.0.680

Bugfixes

  • Verification task is no longer executed if there are no rules (#168)
  • Added instrumentation filtering by common filters (#201)
  • Fixed instrumentation counter in IntelliJ verifier (#210, #211, #212)

Internal features

  • Kotlin version upgraded to 1.7.10
  • instrumentation config added to the test framework
  • added test on instrumentation config

Documentation

  • Updated docs for onCheck properties (#213)

0.6.0-Beta

02 Aug 10:08
f1f8f2f
Compare
Choose a tag to compare
0.6.0-Beta Pre-release
Pre-release

In this version, the plugin API has been fully redesigned. The new API allows you to configure Kover in a more flexible manner, there is no need to configure Kover or test tasks separately.

Refer to migration guide in order to migrate.

This is a beta release, the stability of all features is not guaranteed. The beta version is released to collect feedback on the new API and its usability.

Features

  • Implemented a new plugin API (#19)
  • Minimal and default agent versions upgraded to 1.0.675
  • Added support of instruction and branch counters for verification tasks (#128)

Bugfixes

  • Verification task is no longer executed if there are no rules (#168)

Internal features

  • Kotlin version upgraded to 1.7.10
  • instrumentation config added to the test framework
  • added test on instrumentation config

0.5.1

11 May 12:27
ffc023c
Compare
Choose a tag to compare

Features

  • Added Gradle configuration cache support (#142)
  • Implemented the use of the full path to the project for the exclusion (#151)
  • Supported IntelliJ Verifier
  • Upgraded default and minimal IntelliJ Coverage Engine version to 1.0.668

IntelliJ Agent

  • Fixed coverage counter for $DefaultImpls (#149)

Internal features

  • Added functional tests on verification
  • Implemented simple JSON parser and serializer

Requirements

  • Upgraded minimal supported Gradle version to 6.6