mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Update changelog for 1.1.0.
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,6 +1,19 @@
|
|||||||
Change Log
|
Change Log
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
## Version 1.1.0
|
||||||
|
|
||||||
|
_2016-01-19_
|
||||||
|
|
||||||
|
* New: Support [RFC 7159][rfc_7159], the latest JSON specification. This removes the constraint
|
||||||
|
that the root value must be an array or an object. It may now take any value: array, object,
|
||||||
|
string, number, boolean, or null. Previously this was only permitted if the adapter was
|
||||||
|
configured to be lenient.
|
||||||
|
* New: Enum constants may be annotated with `@Json` to customize their encoded value.
|
||||||
|
* New: Create new builder from Moshi instance with `Moshi.newBuilder()`.
|
||||||
|
* New: `Types.getRawType()` and `Types.collectionElementType()` APIs to assist in defining generic
|
||||||
|
type adapter factories.
|
||||||
|
|
||||||
## Version 1.0.0
|
## Version 1.0.0
|
||||||
|
|
||||||
_2015-09-27_
|
_2015-09-27_
|
||||||
@@ -41,3 +54,4 @@ _2015-06-16_
|
|||||||
|
|
||||||
|
|
||||||
[dates_example]: https://github.com/square/moshi/blob/master/examples/src/main/java/com/squareup/moshi/recipes/ReadAndWriteRfc3339Dates.java
|
[dates_example]: https://github.com/square/moshi/blob/master/examples/src/main/java/com/squareup/moshi/recipes/ReadAndWriteRfc3339Dates.java
|
||||||
|
[rfc_7159]: https://tools.ietf.org/html/rfc7159
|
||||||
|
@@ -368,12 +368,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.0.0</version>
|
<version>1.1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
or Gradle:
|
or Gradle:
|
||||||
```groovy
|
```groovy
|
||||||
compile 'com.squareup.moshi:moshi:1.0.0'
|
compile 'com.squareup.moshi:moshi:1.1.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
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].
|
||||||
|
2
pom.xml
2
pom.xml
@@ -28,7 +28,7 @@
|
|||||||
<java.version>1.7</java.version>
|
<java.version>1.7</java.version>
|
||||||
|
|
||||||
<!-- Dependencies -->
|
<!-- Dependencies -->
|
||||||
<okio.version>1.4.0</okio.version>
|
<okio.version>1.6.0</okio.version>
|
||||||
|
|
||||||
<!-- Test Dependencies -->
|
<!-- Test Dependencies -->
|
||||||
<junit.version>4.12</junit.version>
|
<junit.version>4.12</junit.version>
|
||||||
|
Reference in New Issue
Block a user