0.21.0
2022-12-28
New: Update to Kotlin 1.8.0
.
- For moshi-ir, this release is only compatible with Kotlin 1.8 or later.
- Migrate the IR and AnalysisHandlerExtension plugins to new
CompilerPluginRegistrar
entrypoint API.
New: Experimental support for the new K2 compiler in moshi-ir.
Note this comes with several caveats:
- There is no FIR plugin in moshi-ir itself (not needed). This just marks itself as compatible with the new compiler and avoids using incompatible IR APIs.
- This only works if proguard rule generation is disabled, as there is no support in FIR currently for generating files.
- K2 compiler itself is extremely experimental.
In short, this is only really to unblock anyone doing their own testing of K2 and don't want this
plugin to disable it. If you see any issues, please file a bug here and disable K2 in your project
in the meantime.
Misc
- Update JVM target to
11
. - Update Anvil
compiler-utils
to2.4.3
.
What's Changed
- Update plugin moshix to v0.20.0 by @renovate in #351
- Standardize options and descriptions by @ZacSweers in #356
- Update dependency com.squareup.anvil:compiler-utils to v2.4.3 by @renovate in #354
- Update dependency com.facebook:ktfmt to v0.42 by @renovate in #353
- Fix artifact ID setting by @ZacSweers in #357
- Kotlin 1.8.0 support by @ZacSweers in #352
- Update to JVM target 11 by @ZacSweers in #359
Full Changelog: 0.20.0...0.21.0