Version 1.15.2 change log (#1914)

This commit is contained in:
Jake Wharton
2024-12-05 14:00:34 -05:00
committed by GitHub
parent 7aea91d719
commit 71d5c84c89
2 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,14 @@
Change Log 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 ## Version 1.15.1
_2024-01-30_ _2024-01-30_

View File

@@ -1063,12 +1063,12 @@ The reflection adapter requires the following additional dependency:
<dependency> <dependency>
<groupId>com.squareup.moshi</groupId> <groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin</artifactId> <artifactId>moshi-kotlin</artifactId>
<version>1.15.1</version> <version>1.15.2</version>
</dependency> </dependency>
``` ```
```kotlin ```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 Note that the reflection adapter transitively depends on the `kotlin-reflect` library which is a
@@ -1103,7 +1103,7 @@ plugins {
} }
dependencies { 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:
<dependency> <dependency>
<groupId>com.squareup.moshi</groupId> <groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId> <artifactId>moshi</artifactId>
<version>1.15.1</version> <version>1.15.2</version>
</dependency> </dependency>
``` ```
or Gradle: or Gradle:
```kotlin ```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]. Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].