Update dependency com.google.code.gson:gson to v2.13.2 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.4->2.13.2Release Notes
google/gson (com.google.code.gson:gson)
v2.10JsonArray.asListandJsonObject.asMapview methods (#2225)TypeAdapterRuntimeTypeWrappernot detecting reflectiveTreeTypeAdapterandFutureTypeAdapter(#1787)JsonReader.skipValue()(#2062)Gson.fromJson(..., TypeToken)overloads (#1700)GsonBuilderaffecting existingGsoninstances (#1815)JsonElementconversion methods more consistent and fix javadoc (#2178)UnsupportedOperationExceptionwhenJsonWriter.jsonValueis not supported (#1651)JsonObjectEntry.setValue(null)(#2167)TypeAdapter.toJsonthrowing AssertionError for custom IOException (#2172)JsonArray.set(#2170)TypeToken.getParameterizedarguments (#2166)Gson.getAdaptercalls (#2153)ArrayTypeAdapterforObject[](#1716)AppendableWriterperformance (#1706)v2.9.1ObjectandJsonElementdeserialization iterative rather thanrecursive (#1912)
codegenhierarchy (#2099)TypeTokencreation validation (#2072)floatinJsonWriter(#2130, #2132)Also many small improvements to javadoc.
v2.9.0The minimum supported Java version changes from 6 to 7.
module-info.classinto Multi-Release JAR folder (#2013)maintained anymore (#2063)
GsonBuilder.disableJdkUnsafe()(#1904)UPPER_CASE_WITH_UNDERSCORESin FieldNamingPolicy (#2024)Gson.newJsonWriterignoring lenient and HTML-safe setting (#1989)FieldNamingPolicy.upperCaseFirstLetteruppercasing non-letter (#2004)v2.8.9sun.miscoptional (#1993).Gson.excluder()exposing internalExcluderclass (#1986).RuntimeTypeAdapterFactorydepending on internalStreamsclass (#1959).java.sqloptional (#1707).v2.8.8Unsafeif there is a security manager (#1712).EnumTypeAdapternow works better when ProGuard has obfuscated enum fields (#1495).v2.8.7ISO8601UtilsTestfailing on systems with UTC+X.JsonStreamParser.IllegalStateExceptioninJsonTreeWriter(#1592).JsonArray.isEmpty()(#1640).v2.8.62019-10-04 GitHub Diff
JsonParser.parseStringandJsonParser.parseReaderand deprecated instance methodJsonParser.parsev2.8.52018-05-21 GitHub Diff
utils.VersionUtilsclass tointernal.JavaVersion. This is a potential backward incompatible change from 2.8.4v2.8.42018-05-01 GitHub Diff
LOWER_CASE_WITH_DOTSthat mapps JSON namesomeFieldNametosome.field.namesun.misc.Unsafev2.8.32018-04-27 GitHub Diff
GsonBuilder.newBuilder()that clones the current builderv2.8.22017-09-19 GitHub Diff
JsonElement.deepCopy()v2.8.12017-05-30 GitHub Diff
JsonObject.keySet()@JsonAdapterannotation can now useJsonSerializerandJsonDeserializeras well.v2.72016-06-14 GitHub Diff
v2.6.22016-02-26 GitHub Diff
v2.6.12016-02-11 GitHub Diff
2.6.1 release is identical to 2.6, but it targets Java 1.6.
v2.62016-02-26 GitHub Diff
v2.52015-11-24 GitHub Diff
java.util.Currency,AtomicLong,AtomicLongArray,AtomicInteger,AtomicIntegerArray,AtomicBoolean. This change is backward-incompatible because the earlier version of Gson used the default serialization which wasn't intuitive. We hope that these classes are not used enough to actually cause problems in the field.v2.42015-10-04
IOExceptionfromTypeAdapter.toJson(). This is a binary-compatible change, but maycause compiler errors where
IOExceptionsare being caught but no longer thrown. The correct fixfor this problem is to remove the unnecessary
catchclause.Gson.newJsonWritermethod returns configuredJsonWriterinstances.@SerializedNamenow works with [AutoValue’s][autovalue] abstract property methods.@SerializedNamepermits alternate names when deserializing.JsonWriter#jsonValuewrites raw JSON values.JsonArrayinstances.FieldNamingPolicynow works properly when running on a device with a Turkish locale.[autovalue]: https://github.com/google/auto/tree/main/value
v2.3.12014-11-20
v2.32014-11-20
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.
This PR was generated by Mend Renovate. View the repository job log.