From 6ec87f0fc1d154af6be79773dd64ede33100e427 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Wed, 30 Oct 2019 23:23:29 -0400 Subject: [PATCH] Update changelog for 1.9.1. --- CHANGELOG.md | 11 +++++++++++ README.md | 12 ++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5df6b81..d5a25b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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_ diff --git a/README.md b/README.md index 33679ca..fe93480 100644 --- a/README.md +++ b/README.md @@ -533,12 +533,12 @@ The reflection adapter requires the following additional dependency: com.squareup.moshi moshi-kotlin - 1.9.0 + 1.9.1 ``` ```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: com.squareup.moshi moshi-kotlin-codegen - 1.9.0 + 1.9.1 provided ``` ```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: com.squareup.moshi moshi - 1.9.0 + 1.9.1 ``` 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].