All Versions
36
Latest Version
Avg Release Cycle
133 days
Latest Release
471 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.8.6
October 04, 20192019-10-04 GitHub Diff
- Added static nethods
JsonParser.parseString
andJsonParser.parseReader
and deprecated instance methodJsonParser.parse
- Java 9 module-info support
- Added static nethods
-
v2.8.5
May 22, 20182018-05-21 GitHub Diff
- Print Gson version while throwing AssertionError and IllegalArgumentException
- Moved
utils.VersionUtils
class tointernal.JavaVersion
. This is a potential backward incompatible change from 2.8.4 - Fixed issue https://github.com/google/gson/issues/1310 by supporting Debian Java 9
-
v2.8.4
May 01, 20182018-05-01 GitHub Diff
- Added a new FieldNamingPolicy,
LOWER_CASE_WITH_DOTS
that mapps JSON namesomeFieldName
tosome.field.name
- Fixed issue https://github.com/google/gson/issues/1305 by removing compile/runtime dependency on
sun.misc.Unsafe
- Added a new FieldNamingPolicy,
-
v2.8.3
April 27, 20182018-04-27 GitHub Diff
- Added a new API,
GsonBuilder.newBuilder()
that clones the current builder - Preserving DateFormatter behavior on JDK 9
- Numerous other bugfixes
- Added a new API,
-
v2.8.2
September 20, 20172017-09-19 GitHub Diff
- Introduced a new API,
JsonElement.deepCopy()
- Numerous other bugfixes
- Introduced a new API,
-
v2.8.1
May 31, 20172017-05-30 GitHub Diff
- New:
JsonObject.keySet()
@JsonAdapter
annotation can now useJsonSerializer
andJsonDeserializer
as well.
- New:
-
v2.8.0
October 27, 2016 -
v2.7
June 14, 20162016-06-14 GitHub Diff
- Added support for JsonSerializer/JsonDeserializer in @JsonAdapter annotation
- Exposing Gson properties excluder(), fieldNamingStrategy(), serializeNulls(), htmlSafe()
- Added JsonObject.size() method
- Added JsonWriter.value(Boolean value) method
- Using ArrayDeque, ConcurrentHashMap, and other JDK 1.6 features
- Better error reporting
- Plenty of other bug fixes
-
v2.6.2
February 27, 20162016-02-26 GitHub Diff
- Fixed an NPE bug with @JsonAdapter annotation
- Added back OSGI manifest
- Some documentation typo fixes
-
v2.6.1
February 12, 20162016-02-11 GitHub Diff
- Fix: The 2.6 release targeted Java 1.7, but we intend to target Java 1.6. The 2.6.1 release is identical to 2.6, but it targets Java 1.6.