Skip to content

Releases: ZacSweers/kotlin-compile-testing

0.7.0

29 Nov 02:17
Compare
Choose a tag to compare
  • Remove irOnly option from KotlinJsCompilation.
  • Default to the current language/api version if one isn't specified in KSP2 invocations.
  • Update to Kotlin 2.1.0.
  • Update to KSP 2.1.0-1.0.29.

What's Changed

Full Changelog: 0.6.0...0.7.0

0.6.0

11 Nov 22:23
Compare
Choose a tag to compare
  • Enhancement: Cleanup old sources between compilations.
  • Update to Kotlin 2.0.21.
  • Update to KSP 2.0.21-1.0.27. Note that this is now the minimum version of KSP for KSP2 support.
  • Update classgraph to 4.8.177.
  • Update Okio to 3.9.1.

Special thanks to @ansman for contributing to this release!

What's Changed

New Contributors

Full Changelog: 0.5.1...0.6.0

0.5.1

28 Jun 20:45
Compare
Choose a tag to compare
  • New: Capture diagnostics with a severity level. This allows the output to be more easily filtered after the fact.

Special thanks to @evant for contributing to this release!

What's Changed

  • Update dependency org.assertj:assertj-core to v3.26.0 by @renovate in #255
  • Update plugin mavenPublish to v0.29.0 by @renovate in #262
  • Update dependency io.github.classgraph:classgraph to v4.8.174 by @renovate in #259
  • Update actions/checkout digest to 692973e by @renovate in #258
  • Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.2.0 by @renovate in #256
  • Capture diagnostics with a severity level by @evant in #260
  • Update dependency com.google.truth:truth to v1.4.3 by @renovate in #264
  • Fix package names by @ZacSweers in #266

New Contributors

Full Changelog: 0.5.0...0.5.1

0.5.0

06 Jun 02:21
Compare
Choose a tag to compare
  • Update to Kotlin 2.0.0.
  • Update to KSP 2.0.0-1.0.22.
  • Change supportsK2 to true by default.
  • Change disableStandardScript to true by default. This doesn't seem to work reliably in K2 testing.
  • Update kapt class location references.
  • Support Kapt4 (AKA kapt.k2).
  • Support KSP2.
  • Introduce a new KotlinCompilation.useKsp() API to simplify KSP configuration.
  • Update to ClassGraph 4.8.173.

Note that in order to test Kapt 3 or KSP 1, you must now also set languageVersion to 1.9 in your KotlinCompilation configuration.

What's Changed

Full Changelog: 0.4.1...0.5.0

0.4.1

26 Mar 03:34
Compare
Choose a tag to compare
  • Fix: Fix decoding of classloader resources.
  • Update to Kotlin 1.9.23.
  • Update to KSP 1.9.2301.0.19.
  • Update to classgraph 4.8.168.
  • Update to Okio 3.9.0.

Special thanks to @jbarr21 for contributing to this release!

What's Changed

New Contributors

Full Changelog: 0.4.0...0.4.1

0.4.0

31 Oct 19:37
Compare
Choose a tag to compare
  • Enhancement: Create parent directories of SourceFile in compilations.
  • Update to Kotlin 1.9.20.
  • Update to KSP 1.9.20-1.0.13.
  • Update to ClassGraph 4.8.162.
  • Update to Okio 3.6.0.

Special thanks to @BraisGabin for contributing to this release!

What's Changed

New Contributors

Full Changelog: 0.3.2...0.4.0

0.3.2

02 Aug 07:49
Compare
Choose a tag to compare
  • Fix: Include KSP-generated Java files in java compilation. This is particularly useful for KSP processors that generate Java code.
  • Enhancement: Print full diagnostic messages when javac compilation fails, not just the cause. The cause message alone was often not very helpful.

What's Changed

  • Fix generated java sources from KSP not getting compiled by @ZacSweers in #172

Full Changelog: 0.3.1...0.3.2

0.3.1

22 Jul 18:36
Compare
Choose a tag to compare
  • Fix: Set required languageVersionSettings property in KspOptions.
  • Update to KSP 1.9.0-1.0.12.
  • Update to Okio 3.4.0.

What's Changed

  • Update dependency dev.zacsweers.autoservice:auto-service-ksp to v1.1.0 by @renovate in #169
  • Update dependency com.squareup.okio:okio to v3.4.0 by @renovate in #168
  • Update dependency gradle to v8.2.1 by @renovate in #170
  • Update ksp to v1.9.0-1.0.12 by @renovate in #171

Full Changelog: 0.3.0...0.3.1

0.3.0

06 Jul 22:24
Compare
Choose a tag to compare
  • New: Refactor results into common CompilationResult hierarchy.
  • Fix: Missing UTF-8 encoding of logs resulting in unknown chars.
  • Fix: Set resources path when compilerPluginRegistrars not empty.
  • useIR is now enabled by default.
  • Update to Kotlin 1.9.0.
  • Update to KSP 1.9.0-1.0.11.

Special thanks to @SimonMarquis and @bennyhuo for contributing to this release!

What's Changed

  • Update ksp to v1.8.10-1.0.9 by @renovate in #126
  • Update dependency org.mockito:mockito-core to v5 by @renovate in #125
  • Update dependency com.squareup.okio:okio to v3.3.0 by @renovate in #122
  • Update dependency org.assertj:assertj-core to v3.24.2 by @renovate in #121
  • Update dependency io.github.classgraph:classgraph to v4.8.154 by @renovate in #118
  • Update plugin mavenPublish to v0.24.0 by @renovate in #117
  • Fix typo in tschuchortdev/kotlin-compile-testing link by @SimonMarquis in #120
  • Set resources path when compilerPluginRegistrars not empty. by @bennyhuo in #124
  • Update kotlin monorepo by @renovate in #115
  • Make useIr enabled by default by @ZacSweers in #134
  • Refactor results into common CompilationResult hierarchy by @ZacSweers in #136
  • Update dependency gradle to v8 by @renovate in #138
  • Update dependency gradle to v8.0.2 by @renovate in #139
  • Update plugin dokka to v1.8.10 by @renovate in #141
  • Update dependency io.github.classgraph:classgraph to v4.8.157 by @renovate in #140
  • Update dependency org.mockito:mockito-core to v5.2.0 by @renovate in #142
  • Update dependency org.mockito:mockito-core to v5.3.1 by @renovate in #147
  • Update dependency io.github.classgraph:classgraph to v4.8.160 by @renovate in #150
  • Update dependency com.squareup:kotlinpoet to v1.13.2 by @renovate in #146
  • Update dependency gradle to v8.1.1 by @renovate in #148
  • Update plugin mavenPublish to v0.25.2 by @renovate in #143
  • Kotlin 1.8.21 by @ZacSweers in #133
  • Update dependency com.google.auto.service:auto-service-annotations to v1.1.0 by @renovate in #151
  • Update dependency com.squareup:kotlinpoet to v1.14.0 by @renovate in #153
  • Update dependency io.github.classgraph:classgraph to v4.8.161 by @renovate in #160
  • Update plugin mavenPublish to v0.25.3 by @renovate in #164
  • Update dependency org.mockito:mockito-core to v5.4.0 by @renovate in #161
  • Update dependency gradle to v8.2 by @renovate in #163
  • Fix missing UTF-8 encoding of logs resulting in unknown chars by @SimonMarquis in #162
  • Update dependency com.google.truth:truth to v1.1.5 by @renovate in #155
  • Update plugin dokka to v1.8.20 by @renovate in #156
  • Update ksp to v1.8.22-1.0.11 by @renovate in #157
  • Update dependency com.squareup:kotlinpoet to v1.14.2 by @renovate in #154
  • Update dependency com.google.auto.service:auto-service-annotations to v1.1.1 by @renovate in #158
  • Update to Kotlin 1.9.0 by @ZacSweers in #152

New Contributors

Full Changelog: 0.2.1...0.3.0

0.2.1

09 Jan 21:28
Compare
Choose a tag to compare

Happy new year!

  • New: Expose the API to pass flags to KAPT. This is necessary in order to use KAPT's new JVM IR support.

What's Changed

New Contributors

Full Changelog: 0.2.0...0.2.1