dependency: (deps): bump com.google.code.gson:gson from 2.8.9 to 2.10.1
Created by: dependabot[bot]
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
@dhoard
in google/gson#2233- Fix non-threadsafe creation of adapter for type with cyclic dependency by
@Marcono1234
in google/gson#1832- Remove EOFException special casing of JsonStreamParser.next() by
@Marcono1234
in google/gson#2281- Improve exception message for duplicate field names by
@Marcono1234
in google/gson#2251- Fix the javadoc of JsonDeserializer.deserialize() by
@MaicolAntali
in google/gson#2243- Bump os-maven-plugin from 1.7.0 to 1.7.1 by
@dependabot
in google/gson#2235- Bump jackson-databind from 2.13.4.2 to 2.14.0 by
@dependabot
in google/gson#2234- Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7 by
@dependabot
in google/gson#2232- Bump japicmp-maven-plugin from 0.16.0 to 0.17.1 by
@dependabot
in google/gson#2238- Bump jackson-databind from 2.14.0 to 2.14.1 by
@dependabot
in google/gson#2241- Bump bnd-maven-plugin from 6.3.1 to 6.4.0 by
@dependabot
in google/gson#2245Site Documentation and Maintenance Changes (these were already visible)
- Add troubleshooting guide by
@Marcono1234
in google/gson#2285- Replace custom user guide header anchors by
@Marcono1234
in google/gson#2289- Improve variable names in user guide by
@Marcono1234
in google/gson#2290- Add 2.10 changes to CHANGELOG; minor release follow-ups by
@Marcono1234
in google/gson#2229- Mention in CHANGELOG that GitHub Releases are used in the future by
@Marcono1234
in google/gson#2230- GitHub Workflows security hardening by
@sashashura
in google/gson#2274Other Changes
- Making consistent prefixs in PerformanceTest by
@CirQ
in google/gson#1760- Adjust version numbers and a test to conform to the SemVer spec. by
@eamonnmcmanus
in google/gson#2237- Remove covered condition in JsonNull.equals() by
@MaicolAntali
in google/gson#2271- Remove the
final
keyword fromprivate
method by@MaicolAntali
in google/gson#2276- Code cleanup by
@MaicolAntali
in google/gson#2282- Unnecessary unboxing at JsonPrimitive.getAsBoolean() by
@MaicolAntali
in google/gson#2277- Rewrite the
testParsingDatesFormattedWithSystemLocale()
, Fix #2199 by@MaicolAntali
in google/gson#2287- Port tests from JUnit 3 to JUnit 4 by
@MaicolAntali
in google/gson#2294New Contributors (thanks!)
@CirQ
made their first contribution in google/gson#1760@dhoard
made their first contribution in google/gson#2233@MaicolAntali
made their first contribution in google/gson#2243@sashashura
made their first contribution in google/gson#2274Full Changelog: https://github.com/google/gson/compare/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.asList
andJsonObject.asMap
view methods (google/gson#2225)- Fix
TypeAdapterRuntimeTypeWrapper
not detecting reflectiveTreeTypeAdapter
andFutureTypeAdapter
(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
GsonBuilder
affecting existingGson
instances (google/gson#1815)- Make
JsonElement
conversion methods more consistent and fix javadoc (google/gson#2178)- Throw
UnsupportedOperationException
whenJsonWriter.jsonValue
is not supported (google/gson#1651)- Disallow
JsonObject
Entry.setValue(null)
(google/gson#2167)- Fix
TypeAdapter.toJson
throwing 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.getParameterized
arguments (google/gson#2166)- Fix #1702: Gson.toJson creates CharSequence which does not implement toString (google/gson#1703)
- Prefer existing adapter for concurrent
Gson.getAdapter
calls (google/gson#2153)- Improve
ArrayTypeAdapter
forObject[]
(google/gson#1716)- Improve
AppendableWriter
performance (google/gson#1706)Version 2.9.1
- Make
Object
andJsonElement
deserialization 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
codegen
hierarchy (google/gson#2099)- Add support for reflection access filter (google/gson#1905)
- Improve
TypeToken
creation validation (google/gson#2072)- Add explicit support for
float
inJsonWriter
(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.class
into 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.1 -
1a2170b
Port tests from JUnit 3 to JUnit 4 (#2294) -
4aaf138
Improve variable names in user guide (#2290) -
a19d53f
Replace custom user guide header anchors (#2289) -
6c12ded
Rewrite thetestParsingDatesFormattedWithSystemLocale()
, Fix #2199 (#2287) -
f2f53fb
Add troubleshooting guide (#2285) -
f63a1b8
Remove EOFException special casing of JsonStreamParser.next() (#2281) -
6c3cf22
Unnecessary unboxing at JsonPrimitive.getAsBoolean() (#2277) -
0a42c31
Code cleanup (#2282) -
28affcb
Remove thefinal
keyword fromprivate
method (#2276) - Additional commits viewable in compare view
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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@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)