mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 15:39:22 +08:00
Version 1.15.2 change log (#1914)
This commit is contained in:
@@ -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_
|
||||
|
10
README.md
10
README.md
@@ -1063,12 +1063,12 @@ The reflection adapter requires the following additional dependency:
|
||||
<dependency>
|
||||
<groupId>com.squareup.moshi</groupId>
|
||||
<artifactId>moshi-kotlin</artifactId>
|
||||
<version>1.15.1</version>
|
||||
<version>1.15.2</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
```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:
|
||||
<dependency>
|
||||
<groupId>com.squareup.moshi</groupId>
|
||||
<artifactId>moshi</artifactId>
|
||||
<version>1.15.1</version>
|
||||
<version>1.15.2</version>
|
||||
</dependency>
|
||||
```
|
||||
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].
|
||||
|
Reference in New Issue
Block a user