Releases: ZacSweers/kotlin-compile-testing
Releases · ZacSweers/kotlin-compile-testing
0.7.0
- Remove
irOnly
option fromKotlinJsCompilation
. - 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
- Update ksp to v2.0.21-1.0.28 by @renovate in #301
- Update dependency io.github.classgraph:classgraph to v4.8.179 - autoclosed by @renovate in #300
- Prep for Kotlin 2.1.0 by @ZacSweers in #288
Full Changelog: 0.6.0...0.7.0
0.6.0
- 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
- Update kotlinpoet to v1.18.1 by @renovate in #267
- Update dependency com.google.truth:truth to v1.4.4 by @renovate in #271
- Update dependency gradle to v8.9 by @renovate in #269
- Update dependency org.assertj:assertj-core to v3.26.3 by @renovate in #268
- Update ksp to v2.0.0-1.0.23 by @renovate in #270
- Cleanup old sources between compilations by @ansman in #273
- Update kotlin monorepo to v2.0.10 by @renovate in #278
- Update ksp to v2.0.10-1.0.24 by @renovate in #275
- Update dependency org.mockito:mockito-core to v5.13.0 by @renovate in #284
- Update dependency com.squareup.okio:okio to v3.9.1 by @renovate in #286
- Update ksp to v2.0.20-1.0.25 by @renovate in #283
- Update dependency gradle to v8.10.1 by @renovate in #280
- Update gradle/actions action to v4 by @renovate in #276
- Update kotlin monorepo to v2.0.20 by @renovate in #282
- Update dependency io.github.classgraph:classgraph to v4.8.176 by @renovate in #281
- Update dependency org.mockito:mockito-core to v5.14.2 by @renovate in #290
- Update dependency gradle to v8.11 by @renovate in #289
- Update kotlinpoet to v2 (major) by @renovate in #297
- Update plugin mavenPublish to v0.30.0 by @renovate in #295
- Update actions/checkout digest to 11bd719 by @renovate in #292
- Update dependency io.github.classgraph:classgraph to v4.8.177 by @renovate in #291
- Update ksp to v2.0.21-1.0.27 by @renovate in #294
New Contributors
Full Changelog: 0.5.1...0.6.0
0.5.1
- 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
- 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
- Update dependency gradle to v8.7 by @renovate in #236
- Update dependency io.github.classgraph:classgraph to v4.8.170 by @renovate in #237
- Update idea to v242.8057 by @renovate in #240
- Update actions/checkout digest to 0ad4b8f by @renovate in #243
- Update gradle/wrapper-validation-action action to v3 by @renovate in #242
- Update dependency io.github.classgraph:classgraph to v4.8.172 by @renovate in #241
- Update ksp to v1.9.23-1.0.20 by @renovate in #239
- Update dependency org.mockito:mockito-core to v5.12.0 by @renovate in #246
- Update actions/checkout digest to a5ac7e5 by @renovate in #247
- Update dependency io.github.classgraph:classgraph to v4.8.173 by @renovate in #252
- Update to K2 by @ZacSweers in #196
- Update dependency gradle to v8.8 by @renovate in #254
Full Changelog: 0.4.1...0.5.0
0.4.1
- 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
- Update idea to v232 (major) by @renovate in #193
- Update dependency org.mockito:mockito-core to v5.7.0 by @renovate in #195
- Update idea to v232.10227.11 by @renovate in #194
- Update dependency com.squareup.okio:okio to v3.7.0 by @renovate in #209
- Update idea to v241 (major) - autoclosed by @renovate in #207
- Update dependency com.squareup:kotlinpoet to v1.16.0 by @renovate in #206
- Update ksp to v1.9.22-1.0.17 by @renovate in #205
- Update dependency io.github.classgraph:classgraph to v4.8.165 by @renovate in #203
- Update dependency org.mockito:mockito-core to v5.10.0 by @renovate in #202
- Update actions/setup-java action to v4 by @renovate in #201
- Update dependency gradle to v8.6 by @renovate in #200
- Update kotlin monorepo to 1.9.22 by @renovate in #204
- Update gradle/wrapper-validation-action action to v2 by @renovate in #215
- Update plugin mavenPublish to v0.27.0 by @renovate in #214
- Update dependency org.assertj:assertj-core to v3.25.3 by @renovate in #213
- Update dependency com.google.truth:truth to v1.4.0 by @renovate in #210
- Update dependency com.squareup.okio:okio to v3.8.0 by @renovate in #217
- Update ksp to v1.9.22-1.0.18 by @renovate in #220
- Update dependency com.google.truth:truth to v1.4.1 by @renovate in #219
- Update dependency com.google.truth:truth to v1.4.2 by @renovate in #222
- Update dependency org.mockito:mockito-core to v5.11.0 by @renovate in #223
- Update dependency io.github.classgraph:classgraph to v4.8.166 by @renovate in #225
- Update plugin dokka to v1.9.20 by @renovate in #224
- Update idea to v241.14980 by @renovate in #232
- Update dependency com.squareup.okio:okio to v3.9.0 by @renovate in #231
- Update plugin mavenPublish to v0.28.0 by @renovate in #230
- Update idea to v242 (major) by @renovate in #229
- Update ksp to v1.9.23-1.0.19 by @renovate in #228
- Update dependency io.github.classgraph:classgraph to v4.8.168 by @renovate in #227
- Fix decoding of classloader resources by @jbarr21 in #234
New Contributors
Full Changelog: 0.4.0...0.4.1
0.4.0
- 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
- Update dependency com.squareup.okio:okio to v3.5.0 by @renovate in #173
- Update ksp to v1.9.10-1.0.13 by @renovate in #174
- Update dependency io.github.classgraph:classgraph to v4.8.162 by @renovate in #175
- Update dependency gradle to v8.3 by @renovate in #178
- Update dependency org.mockito:mockito-core to v5.5.0 by @renovate in #180
- Update plugin dokka to v1.9.0 by @renovate in #181
- Update actions/checkout action to v4 by @renovate in #182
- Update kotlin monorepo to v1.9.10 by @renovate in #179
- Update dependency org.mockito:mockito-core to v5.6.0 by @renovate in #187
- Update actions/checkout digest to b4ffde6 - autoclosed by @renovate in #185
- Update dependency gradle to v8.4 by @renovate in #186
- Create parent directories of SourceFile by @BraisGabin in #189
- Prepare for Kotlin 1.9.20 by @ZacSweers in #184
New Contributors
- @BraisGabin made their first contribution in #189
Full Changelog: 0.3.2...0.4.0
0.3.2
- 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
- Fix: Set required
languageVersionSettings
property inKspOptions
. - 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
- 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
- @SimonMarquis made their first contribution in #120
- @bennyhuo made their first contribution in #124
Full Changelog: 0.2.1...0.3.0