Update changelog for 1.9.1.

This commit is contained in:
Jesse Wilson
2019-10-30 23:23:29 -04:00
parent 092175ae90
commit 6ec87f0fc1
2 changed files with 17 additions and 6 deletions

View File

@@ -1,6 +1,17 @@
Change Log
==========
## Version 1.9.1
_2019-10-30_
* Fix: Generate code to support constructors with more than 32 parameters. The 1.9.0 release had
a regression where classes with 33+ parameters would crash upon decoding.
* Fix: Generate code to support more constructor cases, such as classes with non-property
parameters and classes with multiple constructors.
* Fix: Generate code to handle type aliases in type parameters.
## Version 1.9.0
_2019-10-29_

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.0</version>
<version>1.9.1</version>
</dependency>
```
```kotlin
implementation("com.squareup.moshi:moshi-kotlin:1.9.0")
implementation("com.squareup.moshi:moshi-kotlin:1.9.1")
```
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.0</version>
<version>1.9.1</version>
<scope>provided</scope>
</dependency>
```
```kotlin
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.0")
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.9.1")
```
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.0</version>
<version>1.9.1</version>
</dependency>
```
or Gradle:
```kotlin
implementation("com.squareup.moshi:moshi:1.9.0")
implementation("com.squareup.moshi:moshi:1.9.1")
```
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].