Changelog for 1.9.2.

This commit is contained in:
Jesse Wilson
2019-11-17 09:51:12 -05:00
parent f49f677bfc
commit 5e52af3645
2 changed files with 15 additions and 6 deletions

View File

@@ -1,6 +1,15 @@
Change Log
==========
## Version 1.9.2
_2019-11-17_
* Fix: Generate correct adapters for several special cases including reified inline types, public
classes enclosed in internal classes, deprecated types with `-Werror`, primitives in type
parameters, nullables in type parameters, and type aliases in type parameters.
## Version 1.9.1
_2019-10-30_

View File

@@ -533,12 +533,12 @@ The reflection adapter requires the following additional dependency:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin</artifactId>
<version>1.9.1</version>
<version>1.9.2</version>
</dependency>
```
```kotlin
implementation("com.squareup.moshi:moshi-kotlin:1.9.1")
implementation("com.squareup.moshi:moshi-kotlin:1.9.2")
```
Note that the reflection adapter transitively depends on the `kotlin-reflect` library which is a
@@ -568,13 +568,13 @@ add the following to your build to enable the annotation processor:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin-codegen</artifactId>
<version>1.9.1</version>
<version>1.9.2</version>
<scope>provided</scope>
</dependency>
```
```kotlin
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.1")
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.2")
```
You must also have the `kotlin-stdlib` dependency on the classpath during compilation in order for
@@ -600,12 +600,12 @@ Download [the latest JAR][dl] or depend via Maven:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId>
<version>1.9.1</version>
<version>1.9.2</version>
</dependency>
```
or Gradle:
```kotlin
implementation("com.squareup.moshi:moshi:1.9.1")
implementation("com.squareup.moshi:moshi:1.9.2")
```
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].