Skip to content

Releases: Kotlin/kotlinx-kover

0.8.3

19 Jul 15:54
Compare
Choose a tag to compare

This release introduces the Maven plugin for Kover.

Kover Maven Plugin

  • #51 Implemented Kover Maven Plugin

Kover Aggregation Plugin

  • Added support for Android projects in Kover Aggregation Plugin

0.8.2

27 Jun 18:09
82a65bc
Compare
Choose a tag to compare

Kover Aggregation Plugin

Implemented prototype of Kover Aggregation Plugin - an alternative to the existing Kover Gradle Plugin, it makes it easier to set up a configuration and collect coverage reactively, depending on the compilation and test tasks running.

This is not a production-ready plugin, it is in an incubation state.

Please refer to the GitHub issue and documentation for details.

Kover Gradle Plugin

Bugfixes

  • #621 Fixed coverage evaluation for enum in K2
  • #633 Fix issue with identical cache keys between projects
  • #613 Fixed JaCoCo error: Can't add different class with same name
  • #601 Fixed support of Compose functions
  • #646 Fixed reusing of configuration cache
  • #628 Fixed coverage evaluation of try-finally and try-with-resources for Java code

Features

  • Disable caching on kover artifact tasks

0.8.1

10 Jun 11:59
44e2328
Compare
Choose a tag to compare

Kover Gradle Plugin

Features

  • #600 Apply recommendations for improving DSL
  • Added DSL to copy one report variant

Bugfixes

  • #610 Fixed KoverCriticalException with a certain order of applying of plugins

0.8.0

15 May 17:55
Compare
Choose a tag to compare

This release introduces DSL rework to simplify the work with Android build variants, adds the possibility of lazy configuration, allows for the creation of custom report variants, and expands the ability of reports filtering.

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

Kover Gradle Plugin

Features

  • #461 Implemented DSL revision 4
  • #410 Add possibility of lazy configuration of Kover extensions
  • #462 Redesign the concept of default reports
  • #463 Add the ability to create custom report variants
  • #338 Create an interface for Kover tasks
  • #66 Added support for the publishing plugin to Gradle Plugin Portal
  • #466 Implemented multi-project shortcuts
  • #339 Implemented warn on verification error
  • #572 Added DslMarker to Kover public interfaces
  • #570 Added overload for functions of KoverVariantCreateConfig
  • #590 Expose reportDir property in KoverHtmlReport interface
  • #587 Added property variantName to KoverReport interface
  • #584 Added project filter for reports
  • #274 Allow for classes to be Included by annotation
  • #454 Added a report filter by parent class or interface

Bugfixes

  • #557 Changed log level for print coverage task
  • #520 Fixed error: Kover requires extension with name 'androidComponents'

Internal features

  • #567 Used compile dependency to Kover Features in Kover Gradle Plugin

Documentation

  • #531 Added explanations about applying of the plugin
  • #486 Increased the readability of the Kover documentation

Kover JVM Agent

Features

  • #464 Repacked the intellij-agent artifact to kover-jvm-agent

Bugfixes

  • #583 Excluded from report companion objects with only constants
  • #548 Fixed coverage drop in case of using different classloaders for same class

0.8.0-Beta2

28 Mar 16:00
3aa7cbd
Compare
Choose a tag to compare
0.8.0-Beta2 Pre-release
Pre-release

Kover Gradle Plugin

Features

  • #339 Implemented warn on verification error
  • #572 Added DslMarker to Kover public interfaces
  • #570 Added overload for functions of KoverVariantCreateConfig

Bugfixes

  • #557 Changed log level for print coverage task
  • #338 Extended org.gradle.api.Task in KoverReport interface

Internal features

  • #567 Used compile dependency to Kover Features in Kover Gradle Plugin

0.8.0-Beta

29 Feb 16:12
8f6bbb6
Compare
Choose a tag to compare
0.8.0-Beta Pre-release
Pre-release

Kover Gradle Plugin

This is a beta release, the plugin DSL is experimental and can be changed after receiving feedback.

Detailed documentation is still in the process of writing.

Features

  • #410 Add possibility of lazy configuration of Kover extensions
  • #462 Redesign the concept of default reports
  • #463 Add the ability to create custom report variants
  • #338 Create an interface for Kover tasks
  • #66 Added support for the publishing plugin to Gradle Plugin Portal
  • #466 Implemented multiproject shortcuts

Bugfixes

  • #520 Fixed error: Kover requires extension with name 'androidComponents

Documentation

  • #531 Added explanations about apply of the plugin

Kover JVM Agent

  • #464 Repacked the intellij-agent artifact to kover-jvm-agent

0.7.6

17 Feb 22:22
Compare
Choose a tag to compare

Kover Gradle Plugin

Features

  • 527 Added the ability to specify a header for an XML report

Bugfixes

  • 510 Fixed Stream closed error when generating Kover HTML report
  • 513 Fixed breaking configuration cache
  • 517 Fixed incorrect marking of first function line when parameters with default value are used
  • 530 Fixed the presence of classes instrumented with Robolectric in Jacoco reports
  • 543 Fixed package exclusion in reports for JaCoCo

Kover Offline

Features

  • 534 Created Kover features artifact to invoke the capabilities of Kover programmatically

0.7.5

28 Nov 14:04
Compare
Choose a tag to compare

Kover Gradle Plugin

Features

  • #503 Introduced Offline Runtime API for saving binary report

Bugfixes

  • #478 Added Kover dependency check
  • #451 Skip Kotlin object if it is containing only constants
  • #459 Fixed applying of the root verification rules
  • #489 Fixed adding data to an already existing binary report file

0.7.4

10 Oct 18:35
ca040f1
Compare
Choose a tag to compare

Kover Gradle Plugin

Features

  • #441 Added support for Android dynamic feature plugins

Bugfixes

  • #440 Replaced absolute paths in the Kover artifact with relative ones
  • #446 Disabled writing of FreeMarker logs to stdout when generating an HTML report
  • #470 Update HTML report path to be clickable
  • #385 Exclude nested functions in function excluded by annotation
  • #303 Optional function parameters should not be considered a "branch"
  • #436 Fixed random koverHtmlReport fails with "Stream closed" or "zip file closed"

Build features

  • Upgraded Gradle version to 8.2.1

Test features

  • #437 Added functional test on Gradle nested classes validation error

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