Skip to content
This repository was archived by the owner on Apr 21, 2022. It is now read-only.

Conversation

@mend-for-github-com
Copy link

@mend-for-github-com mend-for-github-com bot commented Feb 14, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.code.gson:gson 2.7 -> 2.8.9 age adoption passing confidence

By merging this PR, the issue #12 will be automatically resolved and closed:

Severity CVSS Score CVE
High High 7.7 WS-2021-0419

Release Notes

google/gson

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

v2.8.7

  • 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

2019-10-04 GitHub Diff

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

v2.8.5

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

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

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

2017-09-19 GitHub Diff

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

v2.8.1

2017-05-30 GitHub Diff

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

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

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by WhiteSource label Feb 14, 2022
@improbable-prow-robot improbable-prow-robot added jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/XS Denotes a PR that changes 0-14 lines, ignoring generated files. labels Feb 14, 2022
@mend-for-github-com mend-for-github-com bot changed the title Update dependency com.google.code.gson:gson to v2.8.9 chore(deps): update dependency com.google.code.gson:gson to v2.8.9 Mar 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

jira/no-ticket Indicates a PR has no corresponding JIRA ticket security fix Security fix generated by WhiteSource size/XS Denotes a PR that changes 0-14 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants