Anywhere-
Anywhere- copied to clipboard
Update dependency com.google.code.gson:gson to v2.11.0
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
com.google.code.gson:gson | 2.9.0 -> 2.11.0 |
[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
google/gson (com.google.code.gson: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)
v2.9.1
- Make
Object
andJsonElement
deserialization iterative rather than recursihttps://github.com/google/gson/pull/19121912) - Added parsing support for enum that has overridden toString() method (https://github.com/google/gson/pull/1950)
- Removed support for building Gson with Gradle (https://github.com/google/gson/pull/2081)
- Removed obsolete
codegen
hierarchy (https://github.com/google/gson/pull/2099) - Add support for reflection access filter (https://github.com/google/gson/pull/1905)
- Improve
TypeToken
creation validation (https://github.com/google/gson/pull/2072) - Add explicit support for
float
inJsonWriter
(https://github.com/google/gson/pull/2130, https://github.com/google/gson/pull/2132) - Fail when parsing invalid local date (https://github.com/google/gson/pull/2134)
Also many small improvements to javadoc.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.