Skip to content

0.26.0

Compare
Choose a tag to compare
@ZacSweers ZacSweers released this 12 May 19:41
· 20 commits to main since this release

New: Publish a new moshi-immutable-adapters artifact with support for kotlinx.collections.immutable.

Gradle dependency

dependencies {
  implementation("dev.zacsweers.moshix:moshi-immutable-adapters:<version>")
}

In code

val moshi = Moshi.Builder().add(ImmutableCollectionsJsonAdapterFactory()).build()

Supported types

  • ImmutableCollection
  • ImmutableList
  • ImmutableSet
  • ImmutableMap
  • PersistentCollection
  • PersistentList
  • PersistentSet
  • PersistentMap

Misc

  • Omit the stdlib from transitive dependencies on the compiler plugin and Gradle plugin artifacts. Both kotlinc and Gradle impose their own versions on the classpath.
  • Update Moshi to 1.15.1.
  • Update kotlinx-metadata to 0.9.0.
  • Update KotlinPoet to 1.16.0.
  • Update Kotlin to 1.9.24.
  • Update KSP to 1.9.24-1.0.20.
  • Update Guava to 33.2.0-jre.
  • Compile against Gradle 8.7.

What's Changed

Full Changelog: 0.25.1...0.26.0