Skip to content

Commit

Permalink
Prepare for release 0.21.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Dec 29, 2022
1 parent 5173e1e commit 70ceead
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Changelog
=========

Version 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 FIR 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` to `2.4.3`.

Version 0.20.0
--------------

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8

GROUP=dev.zacsweers.moshix
VERSION_NAME=0.21.0-SNAPSHOT
VERSION_NAME=0.21.0
POM_DESCRIPTION=Moshi Extensions
POM_URL=https://github.com/ZacSweers/MoshiX
POM_SCM_URL=https://github.com/ZacSweers/MoshiX
Expand Down
2 changes: 1 addition & 1 deletion moshi-ir/moshi-gradle-plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ POM_ARTIFACT_ID=moshi-gradle-plugin
POM_PACKAGING=jar

GROUP=dev.zacsweers.moshix
VERSION_NAME=0.21.0-SNAPSHOT
VERSION_NAME=0.21.0
POM_DESCRIPTION=A Kotlin compiler plugin that generates Moshi JsonAdapter classes.
POM_URL=https://github.com/ZacSweers/MoshiX/
POM_SCM_URL=https://github.com/ZacSweers/MoshiX/
Expand Down

0 comments on commit 70ceead

Please sign in to comment.