gson-comments/CHANGELOG.md

21 lines
905 B
Markdown
Raw Normal View History

2015-09-27 01:43:55 +02:00
Change Log
==========
## Version 2.4.0
2015-10-04 07:30:43 +02:00
_2015-10-04_
2015-09-27 01:43:55 +02:00
* **Drop `IOException` from `TypeAdapter.toJson()`.** This is a binary-compatible change, but may
cause compiler errors where `IOExceptions` are being caught but no longer thrown. The correct fix
for this problem is to remove the unnecessary `catch` clause.
* New: `Gson.newJsonWriter` method returns configured `JsonWriter` instances.
2015-09-27 01:46:09 +02:00
* New: `@SerializedName` now works with [AutoValues][autovalue] abstract property methods.
2015-10-04 07:30:43 +02:00
* New: `@SerializedName` permits alternate names when deserializing.
2015-09-27 01:43:55 +02:00
* New: `JsonWriter#jsonValue` writes raw JSON values.
* New: APIs to add primitives directly to `JsonArray` instances.
2015-10-04 07:31:09 +02:00
* New: ISO 8601 date type adapter. Find this in _extras_.
2015-09-27 01:46:09 +02:00
* Fix: `FieldNamingPolicy` now works properly when running on a device with a Turkish locale.
2015-09-27 01:43:55 +02:00
2015-09-27 01:46:09 +02:00
[autovalue]: https://github.com/google/auto/tree/master/value
2015-09-27 01:43:55 +02:00