All Versions
36
Latest Version
Avg Release Cycle
133 days
Latest Release
114 days ago

Changelog History
Page 1

  • v2.8.6

    October 04, 2019

    2019-10-04 GitHub Diff

    • Added static nethods JsonParser.parseString and JsonParser.parseReader and deprecated instance method JsonParser.parse
    • Java 9 module-info support
  • v2.8.5

    May 22, 2018

    2018-05-21 GitHub Diff

    • Print Gson version while throwing AssertionError and IllegalArgumentException
    • Moved utils.VersionUtils class to internal.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, 2018

    2018-05-01 GitHub Diff

    • Added a new FieldNamingPolicy, LOWER_CASE_WITH_DOTS that mapps JSON name someFieldName to some.field.name
    • Fixed issue https://github.com/google/gson/issues/1305 by removing compile/runtime dependency on sun.misc.Unsafe
  • v2.8.3

    April 27, 2018

    2018-04-27 GitHub Diff

    • Added a new API, GsonBuilder.newBuilder() that clones the current builder
    • Preserving DateFormatter behavior on JDK 9
    • Numerous other bugfixes
  • v2.8.2

    September 20, 2017

    2017-09-19 GitHub Diff

    • Introduced a new API, JsonElement.deepCopy()
    • Numerous other bugfixes
  • v2.8.1

    May 31, 2017

    2017-05-30 GitHub Diff

    • New: JsonObject.keySet()
    • @JsonAdapter annotation can now use JsonSerializer and JsonDeserializer as well.
  • v2.8.0

    October 27, 2016
  • v2.7

    June 14, 2016

    2016-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, 2016

    2016-02-26 GitHub Diff

    • Fixed an NPE bug with @JsonAdapter annotation
    • Added back OSGI manifest
    • Some documentation typo fixes
  • v2.6.1

    February 12, 2016

    2016-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.