Update dependency com.google.code.gson:gson to v2.10
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
com.google.code.gson:gson | dependencies | minor |
2.9.1 -> 2.10
|
Release Notes
google/gson
v2.10
- Support for serializing and deserializing Java records, on Java ≥ 16. (https://github.com/google/gson/pull/2201)
- Add
JsonArray.asList
andJsonObject.asMap
view methods (https://github.com/google/gson/pull/2225) - Fix
TypeAdapterRuntimeTypeWrapper
not detecting reflectiveTreeTypeAdapter
andFutureTypeAdapter
(https://github.com/google/gson/pull/1787) - Improve
JsonReader.skipValue()
(https://github.com/google/gson/pull/2062) - Perform numeric conversion for primitive numeric type adapters (https://github.com/google/gson/pull/2158)
- Add
Gson.fromJson(..., TypeToken)
overloads (https://github.com/google/gson/pull/1700) - Fix changes to
GsonBuilder
affecting existingGson
instances (https://github.com/google/gson/pull/1815) - Make
JsonElement
conversion methods more consistent and fix javadoc (https://github.com/google/gson/pull/2178) - Throw
UnsupportedOperationException
whenJsonWriter.jsonValue
is not supported (https://github.com/google/gson/pull/1651) - Disallow
JsonObject
Entry.setValue(null)
(https://github.com/google/gson/pull/2167) - Fix
TypeAdapter.toJson
throwing AssertionError for custom IOException (https://github.com/google/gson/pull/2172) - Convert null to JsonNull for
JsonArray.set
(https://github.com/google/gson/pull/2170) - Fixed nullSafe usage. (https://github.com/google/gson/pull/1555)
- Validate
TypeToken.getParameterized
arguments (https://github.com/google/gson/pull/2166) - Fix #1702: Gson.toJson creates CharSequence which does not implement toString (https://github.com/google/gson/pull/1703)
- Prefer existing adapter for concurrent
Gson.getAdapter
calls (https://github.com/google/gson/pull/2153) - Improve
ArrayTypeAdapter
forObject[]
(https://github.com/google/gson/pull/1716) - Improve
AppendableWriter
performance (https://github.com/google/gson/pull/1706)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by RenovateBot