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
|
||||
==========
|
||||
|
||||
## 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
|
||||
|
||||
_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
|
||||
[rfc_7159]: https://tools.ietf.org/html/rfc7159
|
||||
|
@@ -368,12 +368,12 @@ Download [the latest JAR][dl] or depend via Maven:
|
||||
<dependency>
|
||||
<groupId>com.squareup.moshi</groupId>
|
||||
<artifactId>moshi</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.1.0</version>
|
||||
</dependency>
|
||||
```
|
||||
or Gradle:
|
||||
```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].
|
||||
|
Reference in New Issue
Block a user