Skip to content

0.34.0

Choose a tag to compare

@ZacSweers ZacSweers released this 23 Nov 03:34
· 128 commits to main since this release

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 MetadataKotlinJsonAdapterFactory with the recently upstreamed implementation in Moshi.

Special thanks to @BraisGabin for contributing to this release!

What's Changed

New Contributors

Full Changelog: 0.33.0...0.34.0