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 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 ## Version 1.9.1
_2019-10-30_ _2019-10-30_

View File

@@ -533,12 +533,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.9.1</version> <version>1.9.2</version>
</dependency> </dependency>
``` ```
```kotlin ```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 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> <dependency>
<groupId>com.squareup.moshi</groupId> <groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin-codegen</artifactId> <artifactId>moshi-kotlin-codegen</artifactId>
<version>1.9.1</version> <version>1.9.2</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
``` ```
```kotlin ```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 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> <dependency>
<groupId>com.squareup.moshi</groupId> <groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId> <artifactId>moshi</artifactId>
<version>1.9.1</version> <version>1.9.2</version>
</dependency> </dependency>
``` ```
or Gradle: or Gradle:
```kotlin ```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]. Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].