Skip to content

Releases: ZacSweers/kotlin-compile-testing

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

0.2.0

29 Dec 03:57
Compare
Choose a tag to compare
  • Deprecate KotlinCompilation.singleModule option as it no longer exists in kotlinc.
  • Propagate @ExperimentalCompilerApi annotations
  • KotlinJsCompilation.irOnly and KotlinJsCompilation.irProduceJs now default to true and are the only supported options.
  • Expose new KotlinCompilation.compilerPluginRegistrars property for adding CompilerPluginRegistrar instances (the new entrypoint API for compiler plugins)
    KotlinCompilation().apply {
      compilerPluginRegistrars = listOf(MyCompilerPluginRegistrar())
    }
  • Deprecate KotlinCompilation.compilerPlugins in favor of KotlinCompilation.componentRegistrars. The latter is also deprecated, but this is at least a clearer name.
    KotlinCompilation().apply {
    -  compilerPlugins = listOf(MyComponentRegistrar())
    +  componentRegistrars = listOf(MyComponentRegistrar())
    }
  • Don't try to set removed kotlinc args. If they're removed, they're removed forever. This library will just track latest kotlin releases with its own.
  • Dependency updates:
    Kotlin (and its associated artifacts) 1.8.0
    KSP 1.8.0
    Classgraph: 4.8.153
    

Special thanks to @bnorm for contributing to this release.

What's Changed

  • Configure Renovate by @renovate in #104
  • Update dependency io.github.classgraph:classgraph to v4.8.152 by @renovate in #106
  • Update dependency org.mockito:mockito-core to v4.10.0 by @renovate in #107
  • Update plugin com.gradle.enterprise to v3.12 by @renovate in #109
  • Update dependency org.mockito:mockito-core to v4.11.0 by @renovate in #113
  • Update dependency io.github.classgraph:classgraph to v4.8.153 by @renovate in #112
  • Update plugin com.gradle.enterprise to v3.12.1 by @renovate in #111
  • Kotlin 1.8 support by @ZacSweers in #103

New Contributors

Full Changelog: 0.1.0...0.2.0

0.1.0

01 Dec 22:08
Compare
Choose a tag to compare

Initial release. Changes from the original repo are as follows

Base commit: tschuchortdev@4f394fe

  • New: Add supportsK2 option to KotlinCompilation to allow testing the new K2 compiler.
  • Update to Kotlin 1.7.22.
  • Update to KSP 1.7.22-1.0.8.