Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gson from 2.8.6 to 2.9.1 #25

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps gson from 2.8.6 to 2.9.1.

Release notes

Sourced from gson's releases.

Gson 2.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.

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

Thanks to our contributors, especially @​Marcono1234!

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

Gson 2.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).
Changelog

Sourced from gson's changelog.

Version 2.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.

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

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

Version 2.8.8

... (truncated)

Commits
  • bb9a1f2 [maven-release-plugin] prepare release gson-parent-2.9.1
  • 893a7e1 Fix malformed JsonElement.getAsBigDecimal() javadoc (#1772)
  • 6d2557d Remove unused package-private FieldAttributes methods (#2162)
  • 2deb209 Make RuntimeTypeAdapterFactory recognize subclasses only conditionally. (#2...
  • 924c496 Bump maven-resources-plugin from 3.2.0 to 3.3.0 (#2157)
  • 503c20b Rename ReflectiveTypeAdapterFactory field inclusion check method (#2121)
  • 0106247 Bump maven-deploy-plugin from 3.0.0-M2 to 3.0.0 (#2148)
  • eeba71c Upgrade to oss-parent 9 (#2149)
  • 2eb3758 Fix RuntimeTypeAdapterFactory (#2139)
  • cbc0af8 Improve lenient mode documentation (#2122)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.9.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](google/gson@gson-parent-2.8.6...gson-parent-2.9.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 1, 2022
@dependabot dependabot bot mentioned this pull request Aug 1, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 26, 2022

Superseded by #29.

@dependabot dependabot bot closed this Oct 26, 2022
@dependabot dependabot bot deleted the dependabot/gradle/com.google.code.gson-gson-2.9.1 branch October 26, 2022 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants