diff --git a/CHANGELOG.md b/CHANGELOG.md index a6b5d73..603c41c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ Change Log ========== +## Version 1.15.2 + +_2024-12-05_ + + * Do not generate conditional shrinker rules (i.e., `-if`) when the rule is already predicated on the presence of the target type (as `-keepnames` and `-keepclassmembers` are). + This will improve shrinker performance for projects with hundreds of model types, as conditional rules are more expensive to evaluate. + + ## Version 1.15.1 _2024-01-30_ diff --git a/README.md b/README.md index b8d7149..60ca866 100644 --- a/README.md +++ b/README.md @@ -1063,12 +1063,12 @@ The reflection adapter requires the following additional dependency: com.squareup.moshi moshi-kotlin - 1.15.1 + 1.15.2 ``` ```kotlin -implementation("com.squareup.moshi:moshi-kotlin:1.15.1") +implementation("com.squareup.moshi:moshi-kotlin:1.15.2") ``` Note that the reflection adapter transitively depends on the `kotlin-reflect` library which is a @@ -1103,7 +1103,7 @@ plugins { } dependencies { - ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.1") + ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.2") } ``` @@ -1129,12 +1129,12 @@ Download [the latest JAR][dl] or depend via Maven: com.squareup.moshi moshi - 1.15.1 + 1.15.2 ``` or Gradle: ```kotlin -implementation("com.squareup.moshi:moshi:1.15.1") +implementation("com.squareup.moshi:moshi:1.15.2") ``` Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].