Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Bump gson from 2.8.6 to 2.10 in /java #91

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2022

Bumps gson from 2.8.6 to 2.10.

Release notes

Sourced from gson's releases.

Gson 2.10

Most important changes

  • Support for serializing and deserializing Java records, on Java ≥ 16. (#2201)

  • Add JsonArray.asList and JsonObject.asMap view methods (#2225)

  • Fix TypeAdapterRuntimeTypeWrapper not detecting reflective TreeTypeAdapter and FutureTypeAdapter (#1787)

  • Improve JsonReader.skipValue() (#2062)

  • Perform numeric conversion for primitive numeric type adapters (#2158)

  • Add Gson.fromJson(..., TypeToken) overloads (#1700)

  • Fix changes to GsonBuilder affecting existing Gson instances (#1815)

  • Make JsonElement conversion methods more consistent and fix javadoc (#2178)

  • Throw UnsupportedOperationException when JsonWriter.jsonValue is not supported (#1651)

  • Disallow JsonObject Entry.setValue(null) (#2167)

  • Fix TypeAdapter.toJson throwing AssertionError for custom IOException (#2172)

  • Convert null to JsonNull for JsonArray.set (#2170)

  • Fixed nullSafe usage. (#1555)

  • Validate TypeToken.getParameterized arguments (#2166)

  • Fix #1702: Gson.toJson creates CharSequence which does not implement toString (#1703)

  • Prefer existing adapter for concurrent Gson.getAdapter calls (#2153)

  • Improve ArrayTypeAdapter for Object[] (#1716)

  • Improve AppendableWriter performance (#1706)

List of all changes

... (truncated)

Changelog

Sourced from gson's changelog.

Change Log

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

... (truncated)

Commits
  • dd92e49 [maven-release-plugin] prepare release gson-parent-2.10
  • 7ca36c5 Add a \<developers> section to the main pom.xml.
  • 79c27dd [maven-release-plugin] prepare for next development iteration
  • 87e9ee5 [maven-release-plugin] prepare release gson-parent-2.10
  • 4705518 Revise the version regex in GsonVersionDiagnosticsTest. (#2228)
  • 7bca5c4 [maven-release-plugin] rollback the release of gson-parent-2.10
  • c7544a0 [maven-release-plugin] prepare for next development iteration
  • 9efdfad [maven-release-plugin] prepare release gson-parent-2.10
  • 4f948dd Automatically replace version references on release:prepare (#2212)
  • 9578583 Small tweaks to fix Error Prone warnings. (#2227)
  • 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.10.
- [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.10)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 25, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2023

Superseded by #95.

@dependabot dependabot bot closed this Jan 6, 2023
@dependabot dependabot bot deleted the dependabot/maven/java/com.google.code.gson-gson-2.10 branch January 6, 2023 22:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants