From cdf9546df5d60d4e807a0b562bfa994542e3b65c Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Thu, 1 Apr 2021 16:30:45 -0400 Subject: [PATCH] Prepare for release 1.12.0. --- CHANGELOG.md | 14 ++++++++++++++ README.md | 6 +++--- gradle.properties | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 962e82b..59a013a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ Change Log ========== +## Version 1.12.0 + +_2021-04-01_ + + * New: Improve generated code performance when all properties are set. + * Fix: Don't crash on a missing type element like `@SuppressLint`. + * Fix: Update the JVM metadata library to avoid problems on Kotlin 1.5.0-M2. + * Fix: Support generic arrays with defaults in generated adapters. + * Fix: Don't generate code with simple name collisions. + * Upgrade: [Okio 2.10.0][okio_2_10_0]. + * Upgrade: [Kotlin 1.4.31][kotlin_1_4_31]. + ## Version 1.11.0 _2020-10-04_ @@ -482,7 +494,9 @@ _2015-06-16_ [gson]: https://github.com/google/gson [jackson]: http://wiki.fasterxml.com/JacksonHome [kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10 + [kotlin_1_4_31]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.31 [maven_provided]: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html [moshi_kotlin_docs]: https://github.com/square/moshi/blob/master/README.md#kotlin [okio_1_7_5]: https://square.github.io/okio/changelog/#version-1175 + [okio_2_10_0]: https://square.github.io/okio/changelog/#version-2100 [rfc_7159]: https://tools.ietf.org/html/rfc7159 diff --git a/README.md b/README.md index dadf9a6..c87ae52 100644 --- a/README.md +++ b/README.md @@ -623,7 +623,7 @@ The reflection adapter requires the following additional dependency: com.squareup.moshi moshi-kotlin - 1.11.0 + 1.12.0 ``` @@ -658,7 +658,7 @@ add the following to your build to enable the annotation processor: com.squareup.moshi moshi-kotlin-codegen - 1.11.0 + 1.12.0 provided ``` @@ -690,7 +690,7 @@ Download [the latest JAR][dl] or depend via Maven: com.squareup.moshi moshi - 1.11.0 + 1.12.0 ``` or Gradle: diff --git a/gradle.properties b/gradle.properties index 5ac4bfb..f9727bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m kapt.includeCompileClasspath=false GROUP=com.squareup.moshi -VERSION_NAME=1.11.1-SNAPSHOT +VERSION_NAME=1.12.0 POM_DESCRIPTION=A modern JSON API for Android and Java POM_URL=https://github.com/square/moshi/ POM_SCM_URL=https://github.com/square/moshi/