Skip to content

Releases: ansman/kotshi

3.0.0

20 Jul 01:56
c9222a3
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 2.15.0...3.0.0

2.15.0

29 Dec 14:56
4e295a2
Compare
Choose a tag to compare

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

07 Nov 14:03
70b0c7d
Compare
Choose a tag to compare

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

14 Aug 13:46
1bec0be
Compare
Choose a tag to compare

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

  • @dmgd made their first contribution in #258

Full Changelog: 2.13.0...2.13.1

2.13.0

17 Jul 00:49
c178ecb
Compare
Choose a tag to compare

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

10 Jul 13:25
10bdbfb
Compare
Choose a tag to compare

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

20 Jun 14:30
e11a86f
Compare
Choose a tag to compare

Changes

Fix for incremental KSP

This fixes an issue relating to incremental KSP.

Details

Full Changelog: 2.11.3...2.11.4

2.11.3

03 Jun 00:18
68fa737
Compare
Choose a tag to compare

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

Full Changelog: 2.11.2...2.11.3

2.11.2

10 May 00:21
8d34977
Compare
Choose a tag to compare

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

07 May 21:23
7a93ef4
Compare
Choose a tag to compare

Features

Update to Kotlin 1.8.21

Kotlin 1.8.21 is now supported.

What's Changed since 2.10.2

Misc

Version 2.11.0 was skipped due to a publishing error.

Full Changelog: 2.10.2...2.11.1