0.34.0
Full value classes support
This release fully supports encoding/decoding of value classes in both MetadataKotlinJsonAdapterFactory and moshi-ir. Note that MoshiX does not propagate inlining to JSON. For example: @JvmInline value class Color(val raw: Int) is serialized to {"raw": 12345}.
Misc
- Align
MetadataKotlinJsonAdapterFactorywith the recently upstreamed implementation in Moshi.
Special thanks to @BraisGabin for contributing to this release!
What's Changed
- Update plugin moshix to v0.33.0 by @renovate[bot] in #823
- Remove KSP references from IR README by @BraisGabin in #824
- Update okhttp monorepo to v5.3.1 by @renovate[bot] in #825
- Update plugin spotless to v8.1.0 by @renovate[bot] in #829
- Update ksp monorepo to v2.3.3 by @renovate[bot] in #832
- Update actions/checkout action to v6 by @renovate[bot] in #831
- Update kotlinCompileTesting to v0.11.1 by @renovate[bot] in #830
- Update dependency com.android.tools:r8 to v8.13.17 by @renovate[bot] in #828
- Update okhttp monorepo to v5.3.2 by @renovate[bot] in #827
- Update Gradle to v9.2.1 by @renovate[bot] in #826
- Align MetadataKotlinJsonAdapterFactory with upstream by @ZacSweers in #833
- Align IR code gen with metadata IR value classes by @ZacSweers in #834
New Contributors
- @BraisGabin made their first contribution in #824
Full Changelog: 0.33.0...0.34.0