web-push-libs / webpush-java

Web Push library for Java
MIT License
315 stars 113 forks source link

Update dependency com.google.code.gson:gson to v2.11.0 #191

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.code.gson:gson 2.8.9 -> 2.11.0 age adoption passing confidence

Release Notes

google/gson (com.google.code.gson:gson) ### [`v2.10`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-210) - Support for serializing and deserializing Java records, on Java ≥ 16. ([https://github.com/google/gson/pull/2201](https://togithub.com/google/gson/pull/2201)) - Add `JsonArray.asList` and `JsonObject.asMap` view methods ([https://github.com/google/gson/pull/2225](https://togithub.com/google/gson/pull/2225)) - Fix `TypeAdapterRuntimeTypeWrapper` not detecting reflective `TreeTypeAdapter` and `FutureTypeAdapter` ([https://github.com/google/gson/pull/1787](https://togithub.com/google/gson/pull/1787)) - Improve `JsonReader.skipValue()` ([https://github.com/google/gson/pull/2062](https://togithub.com/google/gson/pull/2062)) - Perform numeric conversion for primitive numeric type adapters ([https://github.com/google/gson/pull/2158](https://togithub.com/google/gson/pull/2158)) - Add `Gson.fromJson(..., TypeToken)` overloads ([https://github.com/google/gson/pull/1700](https://togithub.com/google/gson/pull/1700)) - Fix changes to `GsonBuilder` affecting existing `Gson` instances ([https://github.com/google/gson/pull/1815](https://togithub.com/google/gson/pull/1815)) - Make `JsonElement` conversion methods more consistent and fix javadoc ([https://github.com/google/gson/pull/2178](https://togithub.com/google/gson/pull/2178)) - Throw `UnsupportedOperationException` when `JsonWriter.jsonValue` is not supported ([https://github.com/google/gson/pull/1651](https://togithub.com/google/gson/pull/1651)) - Disallow `JsonObject` `Entry.setValue(null)` ([https://github.com/google/gson/pull/2167](https://togithub.com/google/gson/pull/2167)) - Fix `TypeAdapter.toJson` throwing AssertionError for custom IOException ([https://github.com/google/gson/pull/2172](https://togithub.com/google/gson/pull/2172)) - Convert null to JsonNull for `JsonArray.set` ([https://github.com/google/gson/pull/2170](https://togithub.com/google/gson/pull/2170)) - Fixed nullSafe usage. ([https://github.com/google/gson/pull/1555](https://togithub.com/google/gson/pull/1555)) - Validate `TypeToken.getParameterized` arguments ([https://github.com/google/gson/pull/2166](https://togithub.com/google/gson/pull/2166)) - Fix [#​1702](https://togithub.com/google/gson/issues/1702): Gson.toJson creates CharSequence which does not implement toString ([https://github.com/google/gson/pull/1703](https://togithub.com/google/gson/pull/1703)) - Prefer existing adapter for concurrent `Gson.getAdapter` calls ([https://github.com/google/gson/pull/2153](https://togithub.com/google/gson/pull/2153)) - Improve `ArrayTypeAdapter` for `Object[]` ([https://github.com/google/gson/pull/1716](https://togithub.com/google/gson/pull/1716)) - Improve `AppendableWriter` performance ([https://github.com/google/gson/pull/1706](https://togithub.com/google/gson/pull/1706)) ### [`v2.9.1`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-291) - Make `Object` and `JsonElement` deserialization iterative rather than recursi[https://github.com/google/gson/pull/1912](https://togithub.com/google/gson/pull/1912)1912) - Added parsing support for enum that has overridden toString() method ([https://github.com/google/gson/pull/1950](https://togithub.com/google/gson/pull/1950)) - Removed support for building Gson with Gradle ([https://github.com/google/gson/pull/2081](https://togithub.com/google/gson/pull/2081)) - Removed obsolete `codegen` hierarchy ([https://github.com/google/gson/pull/2099](https://togithub.com/google/gson/pull/2099)) - Add support for reflection access filter ([https://github.com/google/gson/pull/1905](https://togithub.com/google/gson/pull/1905)) - Improve `TypeToken` creation validation ([https://github.com/google/gson/pull/2072](https://togithub.com/google/gson/pull/2072)) - Add explicit support for `float` in `JsonWriter` ([https://github.com/google/gson/pull/2130](https://togithub.com/google/gson/pull/2130), [https://github.com/google/gson/pull/2132](https://togithub.com/google/gson/pull/2132)) - Fail when parsing invalid local date ([https://github.com/google/gson/pull/2134](https://togithub.com/google/gson/pull/2134)) Also many small improvements to javadoc. ### [`v2.9.0`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-290) **The minimum supported Java version changes from 6 to 7.** - Change target Java version to 7 ([https://github.com/google/gson/pull/2043](https://togithub.com/google/gson/pull/2043)) - Put `module-info.class` into Multi-Release JAR folder ([https://github.com/google/gson/pull/2013](https://togithub.com/google/gson/pull/2013)) - Improve error message when abstract class cannot be constructed ([https://github.com/google/gson/pull/1814](https://togithub.com/google/gson/pull/1814)) - Support EnumMap deserialization ([https://github.com/google/gson/pull/2071](https://togithub.com/google/gson/pull/2071)) - Add LazilyParsedNumber default adapter ([https://github.com/google/gson/pull/2060](https://togithub.com/google/gson/pull/2060)) - Fix JsonReader.hasNext() returning true at end of document ([https://github.com/google/gson/pull/2061](https://togithub.com/google/gson/pull/2061)) - Remove Gradle build support. Build script was outdated and not actively maintained anymo[https://github.com/google/gson/pull/2063](https://togithub.com/google/gson/pull/2063)2063) - Add `GsonBuilder.disableJdkUnsafe()` ([https://github.com/google/gson/pull/1904](https://togithub.com/google/gson/pull/1904)) - Add `UPPER_CASE_WITH_UNDERSCORES` in FieldNamingPolicy ([https://github.com/google/gson/pull/2024](https://togithub.com/google/gson/pull/2024)) - Fix failing to serialize Collection or Map with inaccessible constructor ([https://github.com/google/gson/pull/1902](https://togithub.com/google/gson/pull/1902)) - Improve TreeTypeAdapter thread-safety ([https://github.com/google/gson/pull/1976](https://togithub.com/google/gson/pull/1976)) - Fix `Gson.newJsonWriter` ignoring lenient and HTML-safe setting ([https://github.com/google/gson/pull/1989](https://togithub.com/google/gson/pull/1989)) - Delete unused LinkedHashTreeMap ([https://github.com/google/gson/pull/1992](https://togithub.com/google/gson/pull/1992)) - Make default adapters stricter; improve exception messages ([https://github.com/google/gson/pull/2000](https://togithub.com/google/gson/pull/2000)) - Fix `FieldNamingPolicy.upperCaseFirstLetter` uppercasing non-letter ([https://github.com/google/gson/pull/2004](https://togithub.com/google/gson/pull/2004))

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.