Skip to content

Commit

Permalink
Prepare for release 0.24.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Jul 22, 2023
1 parent 51cde27 commit 8975c53
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
Changelog
=========

0.24.0
------

_2023-07-22_

**New: Move proguard rule generation to a standalone KSP processor.**

This is necessary in order to support both K2 and avoid incremental compilation issues in Kotlin 1.9.x.

For moshi-sealed KSP users, there should be no changes necessary.

For moshi-ir users, you must now apply the KSP gradle plugin as well as the moshix plugin. MoshiX's gradle plugin does _not_ directly declare a transitive dependency on the KSP plugin to avoid Gradle classloader conflicts.

```diff
plugins {
// Other plugins
id("dev.zacsweers.moshix") version "x.y.z"
+ id("com.google.devtools.ksp") version "x.y.z"
}
```

If you don't want this or don't need proguard rule generation, you can opt out by setting the `moshix.generateProguardRules` gradle property to `false`.

- Update KSP to `1.9.0-1.0.12`.
- Update KotlinPoet to `1.14.2`.
- Update to kotlinx-metadata `0.7.0`.
- Update to Guava `32.1.1-jre`.

0.24.0-RC2
----------

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.25.0-SNAPSHOT
VERSION_NAME=0.24.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.25.0-SNAPSHOT
VERSION_NAME=0.24.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 8975c53

Please sign in to comment.