mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Prepare for release 1.12.0.
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,6 +1,18 @@
|
|||||||
Change Log
|
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
|
## Version 1.11.0
|
||||||
|
|
||||||
_2020-10-04_
|
_2020-10-04_
|
||||||
@@ -482,7 +494,9 @@ _2015-06-16_
|
|||||||
[gson]: https://github.com/google/gson
|
[gson]: https://github.com/google/gson
|
||||||
[jackson]: http://wiki.fasterxml.com/JacksonHome
|
[jackson]: http://wiki.fasterxml.com/JacksonHome
|
||||||
[kotlin_1_4_10]: https://github.com/JetBrains/kotlin/releases/tag/v1.4.10
|
[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
|
[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
|
[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_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
|
[rfc_7159]: https://tools.ietf.org/html/rfc7159
|
||||||
|
@@ -623,7 +623,7 @@ 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.11.0</version>
|
<version>1.12.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -658,7 +658,7 @@ 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.11.0</version>
|
<version>1.12.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@@ -690,7 +690,7 @@ 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.11.0</version>
|
<version>1.12.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
or Gradle:
|
or Gradle:
|
||||||
|
@@ -20,7 +20,7 @@ org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
|
|||||||
kapt.includeCompileClasspath=false
|
kapt.includeCompileClasspath=false
|
||||||
|
|
||||||
GROUP=com.squareup.moshi
|
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_DESCRIPTION=A modern JSON API for Android and Java
|
||||||
POM_URL=https://github.com/square/moshi/
|
POM_URL=https://github.com/square/moshi/
|
||||||
POM_SCM_URL=https://github.com/square/moshi/
|
POM_SCM_URL=https://github.com/square/moshi/
|
||||||
|
Reference in New Issue
Block a user