diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index e8eb256d..0eb90b0d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,7 +24,7 @@ If this is not feasible, give an example of the code on which the problem manife If applicable, report files or screenshots. **Environment** - - Kover Gradle Plugin version: [e.g. 0.6.1] + - Kover Gradle Plugin version: [e.g. 0.7.0-Alpha] - Gradle version: [e.g. 7.5.1] - Kotlin project type: [e.g. Kotlin/JVM, Kotlin/Multiplatform, Kotlin/Android] - Coverage Engine version (if customized in build script): [e.g. DefaultJacocoEngine, KoverEngine("1.0.656")] diff --git a/CHANGELOG.md b/CHANGELOG.md index bda8701f..7b90485b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +0.7.0-Alpha / 2023-02-27 +=================== +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](https://github.com/Kotlin/kotlinx-kover/blob/v0.7.0-Alpha/docs/migration-to-0.7.0.md) +### 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 / 2022-10-03 =================== diff --git a/examples/android/minimal_groovy/build.gradle b/examples/android/minimal_groovy/build.gradle index 714e6519..8376225a 100644 --- a/examples/android/minimal_groovy/build.gradle +++ b/examples/android/minimal_groovy/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.android.application' version '7.2.2' apply false id 'com.android.library' version '7.2.2' apply false id 'org.jetbrains.kotlin.android' version '1.7.21' apply false - id 'org.jetbrains.kotlinx.kover' version '0.6.1' apply false + id 'org.jetbrains.kotlinx.kover' version '0.7.0-Alpha' apply false } diff --git a/examples/android/minimal_kts/build.gradle.kts b/examples/android/minimal_kts/build.gradle.kts index 4501de44..47b5ac68 100644 --- a/examples/android/minimal_kts/build.gradle.kts +++ b/examples/android/minimal_kts/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.2.2" apply false id("com.android.library") version "7.2.2" apply false id("org.jetbrains.kotlin.android") version "1.7.21" apply false - id("org.jetbrains.kotlinx.kover") version "0.6.1" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha" apply false } diff --git a/examples/android/multiproject/build.gradle.kts b/examples/android/multiproject/build.gradle.kts index 4501de44..47b5ac68 100644 --- a/examples/android/multiproject/build.gradle.kts +++ b/examples/android/multiproject/build.gradle.kts @@ -2,5 +2,5 @@ plugins { id("com.android.application") version "7.2.2" apply false id("com.android.library") version "7.2.2" apply false id("org.jetbrains.kotlin.android") version "1.7.21" apply false - id("org.jetbrains.kotlinx.kover") version "0.6.1" apply false + id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha" apply false } diff --git a/examples/jvm/defaults/build.gradle.kts b/examples/jvm/defaults/build.gradle.kts index e60298a7..6ef3b570 100644 --- a/examples/jvm/defaults/build.gradle.kts +++ b/examples/jvm/defaults/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.6.1" + id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha" } repositories { diff --git a/examples/jvm/merged/build.gradle.kts b/examples/jvm/merged/build.gradle.kts index bb761cc4..76edc35f 100644 --- a/examples/jvm/merged/build.gradle.kts +++ b/examples/jvm/merged/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.6.1" + id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha" } repositories { diff --git a/examples/jvm/minimal/build.gradle.kts b/examples/jvm/minimal/build.gradle.kts index 372840c1..5a22f0f9 100644 --- a/examples/jvm/minimal/build.gradle.kts +++ b/examples/jvm/minimal/build.gradle.kts @@ -1,6 +1,6 @@ plugins { kotlin("jvm") version "1.7.10" - id("org.jetbrains.kotlinx.kover") version "0.6.1" + id("org.jetbrains.kotlinx.kover") version "0.7.0-Alpha" } repositories { diff --git a/gradle.properties b/gradle.properties index 0e43ec87..e751212b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,6 +2,6 @@ version=0.7.0-SNAPSHOT group=org.jetbrains.kotlinx # version of the latest release -kover.release.version=0.6.1 +kover.release.version=0.7.0-Alpha kotlinVersion=1.7.10 kotlin.code.style=official diff --git a/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt b/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt index 21844735..0cedfe8c 100644 --- a/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt +++ b/src/main/kotlin/kotlinx/kover/gradle/plugin/dsl/KoverVersions.kt @@ -15,12 +15,12 @@ public object KoverVersions { /** * Minimal supported Kover coverage tool version. */ - public const val KOVER_TOOL_MINIMAL_VERSION = "1.0.708" + public const val KOVER_TOOL_MINIMAL_VERSION = "1.0.709" /** * Kover coverage tool version used by default. */ - public const val KOVER_TOOL_DEFAULT_VERSION = "1.0.708" + public const val KOVER_TOOL_DEFAULT_VERSION = "1.0.709" /** * JaCoCo coverage tool version used by default.