v1.0.39-alpha
Commit message
Bump com.google.code.gson:gson from 2.8.9 to 2.10.1 (#10)
Bumps com.google.code.gson:gson from
2.8.9 to 2.10.1.
Release notes
Sourced from com.google.code.gson:gson's releases.
Gson 2.10.1
This is technically a minor release rather than a patch release because there is one small API change: a new
JsonObject.isEmpty()method.What's Changed: User-Visible Changes
- Added JsonObject method isEmpty() by
@dhoardin google/gson#2233- Fix non-threadsafe creation of adapter for type with cyclic dependency by
@Marcono1234in google/gson#1832- Remove EOFException special casing of JsonStreamParser.next() by
@Marcono1234in google/gson#2281- Improve exception message for duplicate field names by
@Marcono1234in google/gson#2251- Fix the javadoc of JsonDeserializer.deserialize() by
@MaicolAntaliin google/gson#2243- Bump os-maven-plugin from 1.7.0 to 1.7.1 by
@dependabotin google/gson#2235- Bump jackson-databind from 2.13.4.2 to 2.14.0 by
@dependabotin google/gson#2234- Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7 by
@dependabotin google/gson#2232- Bump japicmp-maven-plugin from 0.16.0 to 0.17.1 by
@dependabotin google/gson#2238- Bump jackson-databind from 2.14.0 to 2.14.1 by
@dependabotin google/gson#2241- Bump bnd-maven-plugin from 6.3.1 to 6.4.0 by
@dependabotin google/gson#2245Site Documentation and Maintenance Changes (these were already visible)
- Add troubleshooting guide by
@Marcono1234in google/gson#2285- Replace custom user guide header anchors by
@Marcono1234in google/gson#2289- Improve variable names in user guide by
@Marcono1234in google/gson#2290- Add 2.10 changes to CHANGELOG; minor release follow-ups by
@Marcono1234in google/gson#2229- Mention in CHANGELOG that GitHub Releases are used in the future by
@Marcono1234in google/gson#2230- GitHub Workflows security hardening by
@sashashurain google/gson#2274Other Changes
- Making consistent prefixs in PerformanceTest by
@CirQin google/gson#1760- Adjust version numbers and a test to conform to the SemVer spec. by
@eamonnmcmanusin google/gson#2237- Remove covered condition in JsonNull.equals() by
@MaicolAntaliin google/gson#2271- Remove the
finalkeyword fromprivatemethod by@MaicolAntaliin google/gson#2276- Code cleanup by
@MaicolAntaliin google/gson#2282- Unnecessary unboxing at JsonPrimitive.getAsBoolean() by
@MaicolAntaliin google/gson#2277- Rewrite the
testParsingDatesFormattedWithSystemLocale(), Fix #2199 by@MaicolAntaliin google/gson#2287- Port tests from JUnit 3 to JUnit 4 by
@MaicolAntaliin google/gson#2294New Contributors (thanks!)
@CirQmade their first contribution in google/gson#1760@dhoardmade their first contribution in google/gson#2233@MaicolAntalimade their first contribution in google/gson#2243@sashashuramade their first contribution in google/gson#2274Full Changelog: google/gson@gson-parent-2.10...gson-parent-2.10.1
Gson 2.10
Most important changes
... (truncated)
Changelog
Sourced from com.google.code.gson:gson's changelog.
Change Log
The change log for versions newer than 2.10 is available only on the GitHub Releases page.
Version 2.10
- Support for serializing and deserializing Java records, on Java ≥ 16. (google/gson#2201)
- Add
JsonArray.asListandJsonObject.asMapview methods (google/gson#2225)- Fix
TypeAdapterRuntimeTypeWrappernot detecting reflectiveTreeTypeAdapterandFutureTypeAdapter(google/gson#1787)- Improve
JsonReader.skipValue()(google/gson#2062)- Perform numeric conversion for primitive numeric type adapters (google/gson#2158)
- Add
Gson.fromJson(..., TypeToken)overloads (google/gson#1700)- Fix changes to
GsonBuilderaffecting existingGsoninstances (google/gson#1815)- Make
JsonElementconversion methods more consistent and fix javadoc (google/gson#2178)- Throw
UnsupportedOperationExceptionwhenJsonWriter.jsonValueis not supported (google/gson#1651)- Disallow
JsonObjectEntry.setValue(null)(google/gson#2167)- Fix
TypeAdapter.toJsonthrowing AssertionError for custom IOException (google/gson#2172)- Convert null to JsonNull for
JsonArray.set(google/gson#2170)- Fixed nullSafe usage. (google/gson#1555)
- Validate
TypeToken.getParameterizedarguments (google/gson#2166)- Fix #1702: Gson.toJson creates CharSequence which does not implement toString (google/gson#1703)
- Prefer existing adapter for concurrent
Gson.getAdaptercalls (google/gson#2153)- Improve
ArrayTypeAdapterforObject[](google/gson#1716)- Improve
AppendableWriterperformance (google/gson#1706)Version 2.9.1
- Make
ObjectandJsonElementdeserialization iterative rather than recursive (google/gson#1912)- Added parsing support for enum that has overridden toString() method (google/gson#1950)
- Removed support for building Gson with Gradle (google/gson#2081)
- Removed obsolete
codegenhierarchy (google/gson#2099)- Add support for reflection access filter (google/gson#1905)
- Improve
TypeTokencreation validation (google/gson#2072)- Add explicit support for
floatinJsonWriter(google/gson#2130, google/gson#2132)- Fail when parsing invalid local date (google/gson#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 (google/gson#2043)
- Put
module-info.classinto Multi-Release JAR folder (google/gson#2013)- Improve error message when abstract class cannot be constructed (google/gson#1814)
- Support EnumMap deserialization (google/gson#2071)
- Add LazilyParsedNumber default adapter (google/gson#2060)
- Fix JsonReader.hasNext() returning true at end of document (google/gson#2061)
... (truncated)
Commits
2ce6a61[maven-release-plugin] prepare release gson-parent-2.10.11a2170bPort tests from JUnit 3 to JUnit 4 (#2294)4aaf138Improve variable names in user guide (#2290)a19d53fReplace custom user guide header anchors (#2289)6c12dedRewrite thetestParsingDatesFormattedWithSystemLocale(), Fix #2199 (#2287)f2f53fbAdd troubleshooting guide (#2285)f63a1b8Remove EOFException special casing of JsonStreamParser.next() (#2281)6c3cf22Unnecessary unboxing at JsonPrimitive.getAsBoolean() (#2277)0a42c31Code cleanup (#2282)28affcbRemove thefinalkeyword fromprivatemethod (#2276)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits
that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after
your CI passes on it@dependabot cancel mergewill cancel a previously requested merge
and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all
of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: anthony-nhs 121869075+anthony-nhs@users.noreply.github.com
Info
See code diff
Release workflow run
It was initialized by eps-autoapprove-dependabot[bot]