Skip to content

Update dependency com.google.code.gson:gson to v2.9.1

RenovateBot requested to merge renovate/com.google.code.gson-gson-2.x into develop

This MR contains the following updates:

Package Type Update Change
com.google.code.gson:gson dependencies minor 2.8.7 -> 2.9.1

Release Notes

google/gson

v2.9.1

  • Make Object and JsonElement deserialization iterative rather than recursive (#​1912)
  • Added parsing support for enum that has overridden toString() method (#​1950)
  • Removed support for building Gson with Gradle (#​2081)
  • Removed obsolete codegen hierarchy (#​2099)
  • Add support for reflection access filter (#​1905)
  • Improve TypeToken creation validation (#​2072)
  • Add explicit support for float in JsonWriter (#​2130, #​2132)
  • Fail when parsing invalid local date (#​2134)

Also many small improvements to javadoc.

v2.9.0

The minimum supported Java version changes from 6 to 7.

  • Change target Java version to 7 (#​2043)
  • Put module-info.class into Multi-Release JAR folder (#​2013)
  • Improve error message when abstract class cannot be constructed (#​1814)
  • Support EnumMap deserialization (#​2071)
  • Add LazilyParsedNumber default adapter (#​2060)
  • Fix JsonReader.hasNext() returning true at end of document (#​2061)
  • Remove Gradle build support. Build script was outdated and not actively maintained anymore (#​2063)
  • Add GsonBuilder.disableJdkUnsafe() (#​1904)
  • Add UPPER_CASE_WITH_UNDERSCORES in FieldNamingPolicy (#​2024)
  • Fix failing to serialize Collection or Map with inaccessible constructor (#​1902)
  • Improve TreeTypeAdapter thread-safety (#​1976)
  • Fix Gson.newJsonWriter ignoring lenient and HTML-safe setting (#​1989)
  • Delete unused LinkedHashTreeMap (#​1992)
  • Make default adapters stricter; improve exception messages (#​2000)
  • Fix FieldNamingPolicy.upperCaseFirstLetter uppercasing non-letter (#​2004)

v2.8.9

  • 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

  • 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).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports

Loading