Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
PR #607

Co-authored-by: Leonid Startsev <[email protected]>
  • Loading branch information
shanshin and sandwwraith committed May 15, 2024
1 parent 746fe0c commit b1fc261
Show file tree
Hide file tree
Showing 17 changed files with 77 additions and 18 deletions.
59 changes: 59 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
0.8.0 / 2024-05-15
===================
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](https://github.com/Kotlin/kotlinx-kover/blob/v0.8.0/docs/gradle-plugin/migrations/migration-to-0.8.0.md).

## Kover Gradle Plugin
### Features
* [`#461`](https://github.com/Kotlin/kotlinx-kover/issues/461) Implemented DSL revision 4
* [`#410`](https://github.com/Kotlin/kotlinx-kover/issues/410) Add possibility of lazy configuration of Kover extensions
* [`#462`](https://github.com/Kotlin/kotlinx-kover/issues/462) Redesign the concept of default reports
* [`#463`](https://github.com/Kotlin/kotlinx-kover/issues/463) Add the ability to create custom report variants
* [`#338`](https://github.com/Kotlin/kotlinx-kover/issues/338) Create an interface for Kover tasks
* [`#66`](https://github.com/Kotlin/kotlinx-kover/issues/66) Added support for the publishing plugin to Gradle Plugin Portal
* [`#466`](https://github.com/Kotlin/kotlinx-kover/issues/466) Implemented multi-project shortcuts
* [`#339`](https://github.com/Kotlin/kotlinx-kover/issues/339) Implemented warn on verification error
* [`#572`](https://github.com/Kotlin/kotlinx-kover/issues/572) Added DslMarker to Kover public interfaces
* [`#570`](https://github.com/Kotlin/kotlinx-kover/issues/570) Added overload for functions of KoverVariantCreateConfig
* [`#590`](https://github.com/Kotlin/kotlinx-kover/issues/590) Expose reportDir property in KoverHtmlReport interface
* [`#587`](https://github.com/Kotlin/kotlinx-kover/issues/587) Added property variantName to KoverReport interface
* [`#584`](https://github.com/Kotlin/kotlinx-kover/issues/584) Added project filter for reports
* [`#274`](https://github.com/Kotlin/kotlinx-kover/issues/274) Allow for classes to be Included by annotation
* [`#454`](https://github.com/Kotlin/kotlinx-kover/issues/454) Added a report filter by parent class or interface
### Bugfixes
* [`#557`](https://github.com/Kotlin/kotlinx-kover/issues/557) Changed log level for print coverage task
* [`#520`](https://github.com/Kotlin/kotlinx-kover/issues/520) Fixed error: Kover requires extension with name 'androidComponents'

### Internal features
* [`#567`](https://github.com/Kotlin/kotlinx-kover/issues/567) Used compile dependency to Kover Features in Kover Gradle Plugin
### Documentation
* [`#531`](https://github.com/Kotlin/kotlinx-kover/issues/531) Added explanations about applying of the plugin
* [`#486`](https://github.com/Kotlin/kotlinx-kover/issues/486) Increased the readability of the Kover documentation

## Kover JVM Agent
### Features
* [`#464`](https://github.com/Kotlin/kotlinx-kover/issues/464) Repacked the intellij-agent artifact to kover-jvm-agent

### Bugfixes
* [`#583`](https://github.com/Kotlin/kotlinx-kover/issues/583) Excluded from report companion objects with only constants
* [`#548`](https://github.com/Kotlin/kotlinx-kover/issues/548) Fixed coverage drop in case of using different classloaders for same class

## Changelog relative to version `0.8.0-Beta2`
### Kover Gradle Plugin
#### Features
* [`#590`](https://github.com/Kotlin/kotlinx-kover/issues/590) Expose reportDir property in KoverHtmlReport interface
* [`#587`](https://github.com/Kotlin/kotlinx-kover/issues/587) Added property variantName to KoverReport interface
* [`#584`](https://github.com/Kotlin/kotlinx-kover/issues/584) Added project filter for reports
* [`#274`](https://github.com/Kotlin/kotlinx-kover/issues/274) Allow for classes to be Included by annotation
* [`#454`](https://github.com/Kotlin/kotlinx-kover/issues/454) Added a report filter by parent class or interface

#### Documentation
* [`#486`](https://github.com/Kotlin/kotlinx-kover/issues/486) Increased the readability of the Kover documentation for 0.8.0

### Kover JVM Agent
#### Bugfixes
* [`#583`](https://github.com/Kotlin/kotlinx-kover/issues/583) Excluded from report companion objects with only constants
* [`#548`](https://github.com/Kotlin/kotlinx-kover/issues/548) Fixed coverage drop in case of using different classloaders for same class


0.8.0-Beta2 / 2024-03-28
===================
## Kover Gradle Plugin
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version=0.8.0-SNAPSHOT
version=0.8.1-SNAPSHOT
group=org.jetbrains.kotlinx

# version of the latest release
kover.release.version=0.8.0-Beta2
kover.release.version=0.8.0
kotlin.code.style=official
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]

intellij-coverage = "1.0.753"
intellij-coverage = "1.0.754"
junit = "5.9.0"
kotlinx-bcv = "0.13.2"
kotlinx-dokka = "1.8.10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ plugins {
id("com.android.library") version "7.4.0" apply false
id ("com.android.dynamic-feature") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0" apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0" apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ plugins {
id 'com.android.application' version '7.4.0' apply false
id 'com.android.library' version '7.4.0' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
id 'org.jetbrains.kotlinx.kover' version '0.8.0-Beta2' apply false
id 'org.jetbrains.kotlinx.kover' version '0.8.0' apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0" apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
kotlin("multiplatform") version ("1.8.20") apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0" apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ plugins {
id("com.android.application") version "7.4.0" apply false
id("com.android.library") version "7.4.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0" apply false
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id("com.android.library") version "7.4.0" apply false
kotlin("android") version "1.8.20" apply false
kotlin("jvm") version "1.8.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion kover-gradle-plugin/examples/jvm/merged/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.7.10"
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("multiplatform") version "1.9.20"
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

kotlin {
Expand Down
2 changes: 1 addition & 1 deletion kover-gradle-plugin/examples/jvm/single/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.7.10"
id("org.jetbrains.kotlinx.kover") version "0.8.0-Beta2"
id("org.jetbrains.kotlinx.kover") version "0.8.0"
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public object KoverVersions {
/**
* Kover coverage tool version.
*/
public const val KOVER_TOOL_VERSION = "1.0.753"
public const val KOVER_TOOL_VERSION = "1.0.754"

/**
* JaCoCo coverage tool version used by default.
Expand Down
4 changes: 2 additions & 2 deletions kover-offline-runtime/examples/runtime-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ configurations.register("koverCli") {
}

dependencies {
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.0-Beta2")
add("koverCli", "org.jetbrains.kotlinx:kover-cli:0.8.0")

implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.0-Beta2")
implementation("org.jetbrains.kotlinx:kover-offline-runtime:0.8.0")

testImplementation(kotlin("test"))
}
Expand Down

0 comments on commit b1fc261

Please sign in to comment.