Skip to content

Releases: Kotlin/kotlinx-kover

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

0.5.0

01 Feb 16:27
Compare
Choose a tag to compare

Note that this is a full changelog relative to 0.4.4 version. Changelog relative to 0.5.0-RC2 can be found at the changelog file.

In this version, a merged report on all projects has been added, and the plugin API has been significantly redesigned. Also improved IntelliJ agent and reporter.

Features

  • Added reports filtering (#17)
  • Disabled running of all test tasks for single-project Kover tasks (#114)
  • Implemented aggregated multi-project report (#20, #43)
  • Unified coverage agents filters. Now only the characters '*' or '?' are used as wildcards for both IntelliJ and JaCoCo agents. Regular expressions are no longer supported by the IntelliJ agent as filters of instrumented classes. (#21)
  • Tasks for verification and reporting for single Gradle project were renamed according to the template like koverXmlReport -> koverXmlProjectReport
  • The isEnabled property has been renamed to isDisabled in extensions KoverExtension and KoverTaskExtension to make their purpose more obvious
  • The term module has been replaced with project for compatibility with Gradle terminology
  • Added the ability to disable the Kover for the specified Gradle project
  • Made tasks cache relocatable (#85)
  • Improved checks of disabled plugin before running Kover tasks
  • Upgraded IntelliJ Engine minimal version to 1.0.647
  • Upgraded IntelliJ Engine default version to 1.0.656

Bugfixes

  • Added support of parallel tests execution (#113)
  • Removed checking of parent projects for re-apply of the plugin (#116)
  • Added property to exclude Android classes from the instrumentation (#89)
  • Kotlin Multiplatform plugin adapter rewritten to use reflection (#100)

IntelliJ Agent Features (version 1.0.656)

  • Added the ability to count JVM instructions
  • Fixed getting into the report of objects and sealed classes
  • Added an excluding from the report of functions marked by Deprecated annotation with HIDDEN and ERROR levels

Internal features

  • Added functional test on branch counter
  • Added functional tests on instruction counter

0.5.0-RC2

17 Jan 10:03
Compare
Choose a tag to compare
0.5.0-RC2 Pre-release
Pre-release

In this version, the plugin API has been redesigned for more convenient and understandable work with multi-project
builds and merged reports. Also added filters for report and verification tasks.

Features

  • Added reports filtering (#17)
  • Disabled running of all test tasks for single-project Kover tasks (#114)
  • Upgraded IntelliJ Engine default version to 1.0.647

0.5.0-RC

26 Dec 12:47
Compare
Choose a tag to compare
0.5.0-RC Pre-release
Pre-release

This is a release candidate for the next version. In this version, an aggregated report on all projects has been added,
and the plugin API has been significantly redesigned. So we ask you to evaluate it and share your feedback on whether
the API has become more convenient.

Features

  • Implemented aggregated multi-project report (#20, #43)
  • Unified coverage agents filters. Now only the characters '*' or '?' are used as wildcards for both IntelliJ and JaCoCo agents. Regular expressions are no longer supported by the IntelliJ agent as filters of instrumented classes. (#21)
  • Tasks for verification and reporting for single Gradle project were renamed according to the template like koverXmlReport -> koverXmlProjectReport
  • The isEnabled property has been renamed to isDisabled in extensions KoverExtension and KoverTaskExtension to make their purpose more obvious
  • The term module has been replaced with project for compatibility with Gradle terminology
  • Added the ability to disable the Kover for the specified Gradle project
  • Made tasks cache relocatable (#85)
  • Upgraded IntelliJ Engine default version to 1.0.640

Bugfixes

  • Added property to exclude Android classes from the instrumentation (#89)
  • Kotlin Multiplatform plugin adapter rewritten to use reflection (#100)

v0.4.4

29 Nov 20:27
Compare
Choose a tag to compare

Bugfixes

  • Fixed escape characters in intellijreport.json (#82)