Android-Code-Editor
Android-Code-Editor copied to clipboard
chore(deps): 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.8.7 -> 2.11.0 |
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.asListandJsonObject.asMapview methods (https://github.com/google/gson/pull/2225) - Fix
TypeAdapterRuntimeTypeWrappernot detecting reflectiveTreeTypeAdapterandFutureTypeAdapter(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
GsonBuilderaffecting existingGsoninstances (https://github.com/google/gson/pull/1815) - Make
JsonElementconversion methods more consistent and fix javadoc (https://github.com/google/gson/pull/2178) - Throw
UnsupportedOperationExceptionwhenJsonWriter.jsonValueis not supported (https://github.com/google/gson/pull/1651) - Disallow
JsonObjectEntry.setValue(null)(https://github.com/google/gson/pull/2167) - Fix
TypeAdapter.toJsonthrowing 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.getParameterizedarguments (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.getAdaptercalls (https://github.com/google/gson/pull/2153) - Improve
ArrayTypeAdapterforObject[](https://github.com/google/gson/pull/1716) - Improve
AppendableWriterperformance (https://github.com/google/gson/pull/1706)
v2.9.1
- Make
ObjectandJsonElementdeserialization 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
codegenhierarchy (https://github.com/google/gson/pull/2099) - Add support for reflection access filter (https://github.com/google/gson/pull/1905)
- Improve
TypeTokencreation validation (https://github.com/google/gson/pull/2072) - Add explicit support for
floatinJsonWriter(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.
v2.9.0
The minimum supported Java version changes from 6 to 7.
- Change target Java version to 7 (https://github.com/google/gson/pull/2043)
- Put
module-info.classinto Multi-Release JAR folder (https://github.com/google/gson/pull/2013) - Improve error message when abstract class cannot be constructed (https://github.com/google/gson/pull/1814)
- Support EnumMap deserialization (https://github.com/google/gson/pull/2071)
- Add LazilyParsedNumber default adapter (https://github.com/google/gson/pull/2060)
- Fix JsonReader.hasNext() returning true at end of document (https://github.com/google/gson/pull/2061)
- Remove Gradle build support. Build script was outdated and not actively maintained anymohttps://github.com/google/gson/pull/20632063)
- Add
GsonBuilder.disableJdkUnsafe()(https://github.com/google/gson/pull/1904) - Add
UPPER_CASE_WITH_UNDERSCORESin FieldNamingPolicy (https://github.com/google/gson/pull/2024) - Fix failing to serialize Collection or Map with inaccessible constructor (https://github.com/google/gson/pull/1902)
- Improve TreeTypeAdapter thread-safety (https://github.com/google/gson/pull/1976)
- Fix
Gson.newJsonWriterignoring lenient and HTML-safe setting (https://github.com/google/gson/pull/1989) - Delete unused LinkedHashTreeMap (https://github.com/google/gson/pull/1992)
- Make default adapters stricter; improve exception messages (https://github.com/google/gson/pull/2000)
- Fix
FieldNamingPolicy.upperCaseFirstLetteruppercasing non-letter (https://github.com/google/gson/pull/2004)
v2.8.9
- Make OSGi bundle's dependency on
sun.miscoptional (https://github.com/google/gson/pull/1993). - Deprecate
Gson.excluder()exposing internalExcluderclass (https://github.com/google/gson/pull/1986). - Prevent Java deserialization of internal classes (https://github.com/google/gson/pull/1991).
- Improve number strategy implementation (https://github.com/google/gson/pull/1987).
- Fix LongSerializationPolicy null handling being inconsistent with Gson (https://github.com/google/gson/pull/1990).
- Support arbitrary Number implementation for Object and Number deserialization (https://github.com/google/gson/pull/1290).
- Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (https://github.com/google/gson/pull/1980).
- Don't exclude static local classes (https://github.com/google/gson/pull/1969).
- Fix
RuntimeTypeAdapterFactorydepending on internalStreamsclass (https://github.com/google/gson/pull/1959). - Improve Maven build (https://github.com/google/gson/pull/1964).
- Make dependency on
java.sqloptional (https://github.com/google/gson/pull/1707).
v2.8.8
- Fixed issue with recursive types (https://github.com/google/gson/issues/1390).
- Better behaviour with Java 9+ and
Unsafeif there is a security manager (https://github.com/google/gson/pull/1712). -
EnumTypeAdapternow works better when ProGuard has obfuscated enum fields (https://github.com/google/gson/pull/1495).
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 has been generated by Mend Renovate. View repository job log here.