Releases: ansman/kotshi
3.0.0
Changes
K2 / KSP 2 support
Kotshi now supports Kotlin 2.0 and KSP2. Going forward only Kotlin 2.0 or later will be officially supported. Support for KSP1 will continue in the 2.x versions of Kotshi.
Removal of support for abstract factories
Having abstract classes or interfaces for your factories has been deprecated and is now removed. Factories must now be objects that implement the factory interface and delegate to the generated factory.
Details
- Bump org.jetbrains.kotlinx:kotlinx-metadata-jvm from 0.8.0 to 0.9.0 by @dependabot in #286
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.13.2 to 0.14.0 by @dependabot in #289
- Bump ksp from 1.9.22-1.0.16 to 1.9.22-1.0.17 by @dependabot in #287
- Bump org.jetbrains.dokka:dokka-gradle-plugin from 1.9.10 to 1.9.20 by @dependabot in #293
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.22 to 1.9.23 by @dependabot in #294
- Bump ksp from 1.9.22-1.0.17 to 1.9.23-1.0.19 by @dependabot in #295
- Update update-gradle-wrapper.yml by @ansman in #297
- Bump org.ow2.asm:asm from 9.6 to 9.7 by @dependabot in #298
- Bump com.squareup.moshi:moshi from 1.8.0 to 1.15.1 by @dependabot in #290
- Bump org.junit.jupiter:junit-jupiter from 5.10.1 to 5.10.2 by @dependabot in #291
- Bump kotlinpoet from 1.15.3 to 1.16.0 by @dependabot in #288
- Update to Java 21 by @ansman in #299
- Bump compileTesting from 0.4.0 to 0.4.1 by @dependabot in #301
- Make it an error to use non data objects by @ansman in #300
- Update Gradle Wrapper from 8.5 to 8.7 by @ansman-gradle-wrapper-update in #302
- Bump ksp from 1.9.23-1.0.19 to 1.9.23-1.0.20 by @dependabot in #304
- Bump com.willowtreeapps.assertk:assertk-jvm from 0.28.0 to 0.28.1 by @dependabot in #305
- Update to Kotlin 1.9.24 by @ansman in #308
- Fix typos in README by @simon-aira in #313
- Bump kotlinpoet from 1.16.0 to 1.17.0 by @dependabot in #312
- Update Gradle Wrapper from 8.7 to 8.8 by @ansman-gradle-wrapper-update in #314
- Bump org.junit.jupiter:junit-jupiter from 5.10.2 to 5.10.3 by @dependabot in #317
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.14.0 to 0.15.1 by @dependabot in #321
- Update Gradle Wrapper from 8.8 to 8.9 by @ansman-gradle-wrapper-update in #322
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.15.1 to 0.16.0 by @dependabot in #325
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.24 to 2.0.0 by @dependabot in #310
- Bump compileTesting from 0.4.1 to 0.5.1 by @dependabot in #318
- Bump kotlinpoet from 1.17.0 to 1.18.1 by @dependabot in #324
New Contributors
- @simon-aira made their first contribution in #313
Full Changelog: 2.15.0...3.0.0
2.15.0
What's Changed
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.20 to 1.9.21 by @dependabot in #273
- Bump ksp from 1.9.20-1.0.14 to 1.9.21-1.0.15 by @dependabot in #274
- Bump org.jetbrains.kotlinx:kotlinx-metadata-jvm from 0.7.0 to 0.8.0 by @dependabot in #279
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.21 to 1.9.22 by @dependabot in #282
- Bump ksp from 1.9.21-1.0.15 to 1.9.22-1.0.16 by @dependabot in #283
- Bump com.willowtreeapps.assertk:assertk-jvm from 0.27.0 to 0.28.0 by @dependabot in #278
- Bump kotlinpoet from 1.14.2 to 1.15.3 by @dependabot in #276
- Ensure Kotshi runs on the oldest supported Moshi version by @ansman in #284
- Remove the legacy options by @ansman in #285
Full Changelog: 2.14.0...2.15.0
2.14.0
Changes
Kotlin update
Kotlin has been updated to 1.9.20.
What's Changed
- Bump com.gradle.enterprise from 3.13.4 to 3.14.1 by @dependabot in #256
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.0 to 1.9.10 by @dependabot in #259
- Bump ksp from 1.9.0-1.0.13 to 1.9.10-1.0.13 by @dependabot in #260
- Bump org.jetbrains.dokka:dokka-gradle-plugin from 1.8.20 to 1.9.0 by @dependabot in #261
- Bump com.willowtreeapps.assertk:assertk-jvm from 0.26.1 to 0.27.0 by @dependabot in #263
- Bump com.gradle.enterprise from 3.14.1 to 3.15 by @dependabot in #262
- Bump org.ow2.asm:asm from 9.5 to 9.6 by @dependabot in #264
- Bump com.gradle.enterprise from 3.15 to 3.15.1 by @dependabot in #265
- Bump org.jetbrains.dokka:dokka-gradle-plugin from 1.9.0 to 1.9.10 by @dependabot in #266
- Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 1.9.20 by @dependabot in #267
- Bump ksp from 1.9.10-1.0.13 to 1.9.20-1.0.13 by @dependabot in #268
- Bump ksp from 1.9.20-1.0.13 to 1.9.20-1.0.14 by @dependabot in #269
- Bump org.junit.jupiter:junit-jupiter from 5.10.0 to 5.10.1 by @dependabot in #270
Full Changelog: 2.13.1...2.14.0
2.13.1
Changes
Fix for data classes with keywords as property names
Thanks to @dmgd, a bug was fixed that would generate invalid code when a keyword (in
for example) was used as a property name.
Details
- Bump ksp from 1.9.0-1.0.11 to 1.9.0-1.0.12 by @dependabot in #254
- Bump org.junit.jupiter:junit-jupiter from 5.9.3 to 5.10.0 by @dependabot in #255
- Bump ksp from 1.9.0-1.0.12 to 1.9.0-1.0.13 by @dependabot in #257
- Render field names as names rather than literals so that they're escaped when necessary by @dmgd in #258
New Contributors
Full Changelog: 2.13.0...2.13.1
2.13.0
Changes
Fix for data objects
Data objects would lead to an exception thrown during processing.
Deprecation of serialization of non data objects
Serializable objects should now be data objects. A warning is logged for now but this will become an error in the future.
Details
- Bump org.jetbrains.kotlinx:kotlinx-metadata-jvm from 0.6.2 to 0.7.0 by @dependabot in #249
- Fix the tests not running by @ansman in #250
- Treat warnings as errors by @ansman in #251
- Log a warning when non data objecs are annotated by @ansman in #252
Full Changelog: 2.12.0...2.13.0
2.12.0
Changes
Kotlin 1.9 support
With 2.12.0, Kotshi now supports Kotlin 1.9
Details
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.13.1 to 0.13.2 by @dependabot in #237
- Bump com.gradle.enterprise from 3.13.3 to 3.13.4 by @dependabot in #244
- Update to Kotlin 1.9.0 by @ansman in #248
Full Changelog: 2.11.4...2.12.0
2.11.4
Changes
Fix for incremental KSP
This fixes an issue relating to incremental KSP.
Details
- Bump org.jetbrains.dokka:dokka-gradle-plugin from 1.8.10 to 1.8.20 by @dependabot in #238
- Bump kotlin from 1.8.21 to 1.8.22 by @dependabot in #239
- Bump ksp from 1.8.21-1.0.11 to 1.8.22-1.0.11 by @dependabot in #240
- Bump auto-service from 1.1.0 to 1.1.1 by @dependabot in #241
- Bump com.google.auto:auto-common from 1.2.1 to 1.2.2 by @dependabot in #242
- Fix an issue with incremental KSP by @ansman in #245
Full Changelog: 2.11.3...2.11.4
2.11.3
Features
Moshi 1.15 support
Moshi 1.15 is now officially supported.
Experimental support for language version 2.0
With the release of kotlinx-metadata version 0.6.2 there is limited support for language version 2.0 for those that want to try out the K2 compiler.
What's Changed
- Bump com.willowtreeapps.assertk:assertk-jvm from 0.25 to 0.26 by @dependabot in #227
- Support Moshi 1.15 by @ansman in #229
- Bump com.gradle.enterprise from 3.13.1 to 3.13.2 by @dependabot in #226
- Bump com.willowtreeapps.assertk:assertk-jvm from 0.26 to 0.26.1 by @dependabot in #230
- Bump auto-service from 1.0.1 to 1.1.0 by @dependabot in #231
- Bump com.gradle.enterprise from 3.13.2 to 3.13.3 by @dependabot in #232
- Bump org.jetbrains.kotlinx:kotlinx-metadata-jvm from 0.6.0 to 0.6.2 by @dependabot in #236
- Bump kotlinpoet from 1.13.2 to 1.14.2 by @dependabot in #234
Full Changelog: 2.11.2...2.11.3
2.11.2
Features
kotlinx.metadata
shaded
kotlinx.metadata
has been shaded to prevent conflict with other libraries such as Dagger and Room.
What's Changed
- Bump org.junit.jupiter:junit-jupiter from 5.9.1 to 5.9.3 by @dependabot in #224
- Bump com.gradle.enterprise from 3.9 to 3.13.1 by @dependabot in #223
- Shade kotlinx metadata to prevent conflict with other libraries by @ansman in #225
Full Changelog: 2.11.1...2.11.2
2.11.1
Features
Update to Kotlin 1.8.21
Kotlin 1.8.21 is now supported.
What's Changed since 2.10.2
- Modernize the build scripts by @ansman in #207
- Update the github actions config by @ansman in #209
- Bump compileTesting from 1.4.9 to 1.5.0 by @dependabot in #212
- Update kotlin 1.8.21 by @ansman in #208
- Update to Gradle 8.1.1 by @ansman in #221
- Bump kotlinpoet from 1.12.0 to 1.13.2 by @dependabot in #213
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.11.0 to 0.13.1 by @dependabot in #214
- Bump junit:junit from 4.12 to 4.13.2 by @dependabot in #216
- Bump org.ow2.asm:asm from 9.3 to 9.5 by @dependabot in #217
- Bump incap from 0.3 to 1.0.0 by @dependabot in #218
- Switch to Junit 5 by @ansman in #222
Misc
Version 2.11.0 was skipped due to a publishing error.
Full Changelog: 2.10.2...2.11.1