All Versions
39
Latest Version
Avg Release Cycle
133 days
Latest Release
-

Changelog History
Page 1

  • v2.8.9 Changes

    • ๐Ÿ‘‰ Make OSGi bundle's dependency on sun.misc optional (#1993).
    • ๐Ÿ—„ Deprecate Gson.excluder() exposing internal Excluder class (#1986).
    • Prevent Java deserialization of internal classes (#1991).
    • ๐Ÿ‘Œ Improve number strategy implementation (#1987).
    • ๐Ÿ›  Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990).
    • ๐Ÿ‘Œ Support arbitrary Number implementation for Object and Number deserialization (#1290).
    • โฌ†๏ธ Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (#1980).
    • Don't exclude static local classes (#1969).
    • ๐Ÿ›  Fix RuntimeTypeAdapterFactory depending on internal Streams class (#1959).
    • ๐Ÿ‘Œ Improve Maven build (#1964).
    • ๐Ÿ‘‰ Make dependency on java.sql optional (#1707).
  • v2.8.8 Changes

    • ๐Ÿ›  Fixed issue with recursive types (#1390).
    • ๐Ÿ‘ Better behaviour with Java 9+ and Unsafe if there is a security manager (#1712).
    • ๐Ÿ‘ EnumTypeAdapter now works better when ProGuard has obfuscated enum fields (#1495).
  • v2.8.7 Changes

    • ๐Ÿ›  Fixed ISO8601UtilsTest failing on systems with UTC+X.
    • ๐Ÿ‘Œ Improved javadoc for JsonStreamParser.
    • โšก๏ธ Updated proguard.cfg (#1693).
    • ๐Ÿ›  Fixed IllegalStateException in JsonTreeWriter (#1592).
    • โž• Added JsonArray.isEmpty() (#1640).
    • โž• Added new test cases (#1638).
    • ๐Ÿ›  Fixed OSGi metadata generation to work on JavaSE < 9 (#1603).
  • v2.8.6 Changes

    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 Changes

    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 Changes

    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 Changes

    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 Changes

    September 20, 2017

    2017-09-19 GitHub Diff

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

    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