Skip to content

Releases: ZacSweers/kotlin-compile-testing

0.9.0

11 Sep 02:25
Compare
Choose a tag to compare
  • Update to Kotlin 2.2.20. This release requires 2.2.20 or later.
  • Build against KSP 2.2.20-2.0.2.

What's Changed

Full Changelog: 0.8.0...0.9.0

0.8.0

02 Jul 22:09
Compare
Choose a tag to compare
  • Update classgraph to 4.8.180.
  • Update okio to 3.15.0.
  • Update to Kotlin 2.2.0.
  • Update to KSP 2.2.0-2.0.2.
  • Remove KAPT4 support as this was removed in Kotlin 2.2.
  • Support K2 KAPT.

Special thanks to @eygraber for contributing to this release!

What's Changed

New Contributors

Full Changelog: 0.7.1...0.8.0

0.7.1

05 May 17:53
Compare
Choose a tag to compare
  • Remove references to useOldBackend, which is removed in Kotlin 2.2.0.

What's Changed

Full Changelog: 0.7.0...0.7.1

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