Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
google/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))
### [`v2.8.9`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-289)
- Make OSGi bundle's dependency on `sun.misc` optional ([https://github.com/google/gson/pull/1993](https://togithub.com/google/gson/pull/1993)).
- Deprecate `Gson.excluder()` exposing internal `Excluder` class ([https://github.com/google/gson/pull/1986](https://togithub.com/google/gson/pull/1986)).
- Prevent Java deserialization of internal classes ([https://github.com/google/gson/pull/1991](https://togithub.com/google/gson/pull/1991)).
- Improve number strategy implementation ([https://github.com/google/gson/pull/1987](https://togithub.com/google/gson/pull/1987)).
- Fix LongSerializationPolicy null handling being inconsistent with Gson ([https://github.com/google/gson/pull/1990](https://togithub.com/google/gson/pull/1990)).
- Support arbitrary Number implementation for Object and Number deserialization ([https://github.com/google/gson/pull/1290](https://togithub.com/google/gson/pull/1290)).
- Bump proguard-maven-plugin from 2.4.0 to 2.5.1 ([https://github.com/google/gson/pull/1980](https://togithub.com/google/gson/pull/1980)).
- Don't exclude static local classes ([https://github.com/google/gson/pull/1969](https://togithub.com/google/gson/pull/1969)).
- Fix `RuntimeTypeAdapterFactory` depending on internal `Streams` class ([https://github.com/google/gson/pull/1959](https://togithub.com/google/gson/pull/1959)).
- Improve Maven build ([https://github.com/google/gson/pull/1964](https://togithub.com/google/gson/pull/1964)).
- Make dependency on `java.sql` optional ([https://github.com/google/gson/pull/1707](https://togithub.com/google/gson/pull/1707)).
### [`v2.8.8`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-288)
- Fixed issue with recursive types ([https://github.com/google/gson/issues/1390](https://togithub.com/google/gson/issues/1390)).
- Better behaviour with Java 9+ and `Unsafe` if there is a security manager ([https://github.com/google/gson/pull/1712](https://togithub.com/google/gson/pull/1712)).
- `EnumTypeAdapter` now works better when ProGuard has obfuscated enum fields ([https://github.com/google/gson/pull/1495](https://togithub.com/google/gson/pull/1495)).
### [`v2.8.7`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-287)
- Fixed `ISO8601UtilsTest` failing on systems with UTC+X.
- Improved javadoc for `JsonStreamParser`.
- Updated proguard.cfg ([https://github.com/google/gson/pull/1693](https://togithub.com/google/gson/pull/1693)).
- Fixed `IllegalStateException` in `JsonTreeWriter` ([https://github.com/google/gson/issues/1592](https://togithub.com/google/gson/issues/1592)).
- Added `JsonArray.isEmpty()` ([https://github.com/google/gson/pull/1640](https://togithub.com/google/gson/pull/1640)).
- Added new test cases ([https://github.com/google/gson/pull/1638](https://togithub.com/google/gson/pull/1638)).
- Fixed OSGi metadata generation to work on JavaSE < 9 ([https://github.com/google/gson/pull/1603](https://togithub.com/google/gson/pull/1603)).
### [`v2.8.6`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-286)
*2019-10-04* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6)
- Added static methods `JsonParser.parseString` and `JsonParser.parseReader` and deprecated instance method `JsonParser.parse`
- Java 9 module-info support
### [`v2.8.5`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-285)
*2018-05-21* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.4...gson-parent-2.8.5)
- Print Gson version while throwing AssertionError and IllegalArgumentException
- Moved `utils.VersionUtils` class to `internal.JavaVersion`. This is a potential backward incompatible change from 2.8.4
- Fixed issue [https://github.com/google/gson/issues/1310](https://togithub.com/google/gson/issues/1310) by supporting Debian Java 9
### [`v2.8.4`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-284)
*2018-05-01* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.3...gson-parent-2.8.4)
- Added a new FieldNamingPolicy, `LOWER_CASE_WITH_DOTS` that mapps JSON name `someFieldName` to `some.field.name`
- Fixed issue [https://github.com/google/gson/issues/1305](https://togithub.com/google/gson/issues/1305) by removing compile/runtime dependency on `sun.misc.Unsafe`
### [`v2.8.3`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-283)
*2018-04-27* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.2...gson-parent-2.8.3)
- Added a new API, `GsonBuilder.newBuilder()` that clones the current builder
- Preserving DateFormatter behavior on JDK 9
- Numerous other bugfixes
### [`v2.8.2`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-282)
*2017-09-19* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.1...gson-parent-2.8.2)
- Introduced a new API, `JsonElement.deepCopy()`
- Numerous other bugfixes
### [`v2.8.1`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-281)
*2017-05-30* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.0...gson-parent-2.8.1)
- New: `JsonObject.keySet()`
- `@JsonAdapter` annotation can now use `JsonSerializer` and `JsonDeserializer` as well.
### [`v2.7`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-27)
*2016-06-14* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.2...gson-parent-2.7)
- Added support for JsonSerializer/JsonDeserializer in [@JsonAdapter](https://togithub.com/JsonAdapter) annotation
- Exposing Gson properties excluder(), fieldNamingStrategy(), serializeNulls(), htmlSafe()
- Added JsonObject.size() method
- Added JsonWriter.value(Boolean value) method
- Using ArrayDeque, ConcurrentHashMap, and other JDK 1.6 features
- Better error reporting
- Plenty of other bug fixes
### [`v2.6.2`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-262)
*2016-02-26* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.1...gson-parent-2.6.2)
- Fixed an NPE bug with [@JsonAdapter](https://togithub.com/JsonAdapter) annotation
- Added back OSGI manifest
- Some documentation typo fixes
### [`v2.6.1`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-261)
*2016-02-11* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6...gson-parent-2.6.1)
- Fix: The 2.6 release targeted Java 1.7, but we intend to target Java 1.6. The
2.6.1 release is identical to 2.6, but it targets Java 1.6.
### [`v2.6`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-262)
*2016-02-26* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.1...gson-parent-2.6.2)
- Fixed an NPE bug with [@JsonAdapter](https://togithub.com/JsonAdapter) annotation
- Added back OSGI manifest
- Some documentation typo fixes
### [`v2.5`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-25)
*2015-11-24* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.4...gson-parent-2.5)
- Updated minimum JDK version to 1.6
- Improved Date Deserialization by accepting many date formats
- Added support for `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.
- Improved debugging information when some exceptions are thrown
### [`v2.4`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-24)
*2015-10-04*
- **Drop `IOException` from `TypeAdapter.toJson()`.** This is a binary-compatible change, but may
cause compiler errors where `IOExceptions` are being caught but no longer thrown. The correct fix
for this problem is to remove the unnecessary `catch` clause.
- New: `Gson.newJsonWriter` method returns configured `JsonWriter` instances.
- New: `@SerializedName` now works with \[AutoValue’s]\[autovalue] abstract property methods.
- New: `@SerializedName` permits alternate names when deserializing.
- New: `JsonWriter#jsonValue` writes raw JSON values.
- New: APIs to add primitives directly to `JsonArray` instances.
- New: ISO 8601 date type adapter. Find this in *extras*.
- Fix: `FieldNamingPolicy` now works properly when running on a device with a Turkish locale.
\[autovalue]: https://togithub.com/google/auto/tree/master/value
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.
This PR contains the following updates:
2.3.1
->2.10.1
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
google/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)) ### [`v2.8.9`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-289) - Make OSGi bundle's dependency on `sun.misc` optional ([https://github.com/google/gson/pull/1993](https://togithub.com/google/gson/pull/1993)). - Deprecate `Gson.excluder()` exposing internal `Excluder` class ([https://github.com/google/gson/pull/1986](https://togithub.com/google/gson/pull/1986)). - Prevent Java deserialization of internal classes ([https://github.com/google/gson/pull/1991](https://togithub.com/google/gson/pull/1991)). - Improve number strategy implementation ([https://github.com/google/gson/pull/1987](https://togithub.com/google/gson/pull/1987)). - Fix LongSerializationPolicy null handling being inconsistent with Gson ([https://github.com/google/gson/pull/1990](https://togithub.com/google/gson/pull/1990)). - Support arbitrary Number implementation for Object and Number deserialization ([https://github.com/google/gson/pull/1290](https://togithub.com/google/gson/pull/1290)). - Bump proguard-maven-plugin from 2.4.0 to 2.5.1 ([https://github.com/google/gson/pull/1980](https://togithub.com/google/gson/pull/1980)). - Don't exclude static local classes ([https://github.com/google/gson/pull/1969](https://togithub.com/google/gson/pull/1969)). - Fix `RuntimeTypeAdapterFactory` depending on internal `Streams` class ([https://github.com/google/gson/pull/1959](https://togithub.com/google/gson/pull/1959)). - Improve Maven build ([https://github.com/google/gson/pull/1964](https://togithub.com/google/gson/pull/1964)). - Make dependency on `java.sql` optional ([https://github.com/google/gson/pull/1707](https://togithub.com/google/gson/pull/1707)). ### [`v2.8.8`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-288) - Fixed issue with recursive types ([https://github.com/google/gson/issues/1390](https://togithub.com/google/gson/issues/1390)). - Better behaviour with Java 9+ and `Unsafe` if there is a security manager ([https://github.com/google/gson/pull/1712](https://togithub.com/google/gson/pull/1712)). - `EnumTypeAdapter` now works better when ProGuard has obfuscated enum fields ([https://github.com/google/gson/pull/1495](https://togithub.com/google/gson/pull/1495)). ### [`v2.8.7`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-287) - Fixed `ISO8601UtilsTest` failing on systems with UTC+X. - Improved javadoc for `JsonStreamParser`. - Updated proguard.cfg ([https://github.com/google/gson/pull/1693](https://togithub.com/google/gson/pull/1693)). - Fixed `IllegalStateException` in `JsonTreeWriter` ([https://github.com/google/gson/issues/1592](https://togithub.com/google/gson/issues/1592)). - Added `JsonArray.isEmpty()` ([https://github.com/google/gson/pull/1640](https://togithub.com/google/gson/pull/1640)). - Added new test cases ([https://github.com/google/gson/pull/1638](https://togithub.com/google/gson/pull/1638)). - Fixed OSGi metadata generation to work on JavaSE < 9 ([https://github.com/google/gson/pull/1603](https://togithub.com/google/gson/pull/1603)). ### [`v2.8.6`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-286) *2019-10-04* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6) - Added static methods `JsonParser.parseString` and `JsonParser.parseReader` and deprecated instance method `JsonParser.parse` - Java 9 module-info support ### [`v2.8.5`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-285) *2018-05-21* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.4...gson-parent-2.8.5) - Print Gson version while throwing AssertionError and IllegalArgumentException - Moved `utils.VersionUtils` class to `internal.JavaVersion`. This is a potential backward incompatible change from 2.8.4 - Fixed issue [https://github.com/google/gson/issues/1310](https://togithub.com/google/gson/issues/1310) by supporting Debian Java 9 ### [`v2.8.4`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-284) *2018-05-01* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.3...gson-parent-2.8.4) - Added a new FieldNamingPolicy, `LOWER_CASE_WITH_DOTS` that mapps JSON name `someFieldName` to `some.field.name` - Fixed issue [https://github.com/google/gson/issues/1305](https://togithub.com/google/gson/issues/1305) by removing compile/runtime dependency on `sun.misc.Unsafe` ### [`v2.8.3`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-283) *2018-04-27* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.2...gson-parent-2.8.3) - Added a new API, `GsonBuilder.newBuilder()` that clones the current builder - Preserving DateFormatter behavior on JDK 9 - Numerous other bugfixes ### [`v2.8.2`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-282) *2017-09-19* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.1...gson-parent-2.8.2) - Introduced a new API, `JsonElement.deepCopy()` - Numerous other bugfixes ### [`v2.8.1`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-281) *2017-05-30* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.8.0...gson-parent-2.8.1) - New: `JsonObject.keySet()` - `@JsonAdapter` annotation can now use `JsonSerializer` and `JsonDeserializer` as well. ### [`v2.7`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-27) *2016-06-14* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.2...gson-parent-2.7) - Added support for JsonSerializer/JsonDeserializer in [@JsonAdapter](https://togithub.com/JsonAdapter) annotation - Exposing Gson properties excluder(), fieldNamingStrategy(), serializeNulls(), htmlSafe() - Added JsonObject.size() method - Added JsonWriter.value(Boolean value) method - Using ArrayDeque, ConcurrentHashMap, and other JDK 1.6 features - Better error reporting - Plenty of other bug fixes ### [`v2.6.2`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-262) *2016-02-26* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.1...gson-parent-2.6.2) - Fixed an NPE bug with [@JsonAdapter](https://togithub.com/JsonAdapter) annotation - Added back OSGI manifest - Some documentation typo fixes ### [`v2.6.1`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-261) *2016-02-11* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6...gson-parent-2.6.1) - Fix: The 2.6 release targeted Java 1.7, but we intend to target Java 1.6. The 2.6.1 release is identical to 2.6, but it targets Java 1.6. ### [`v2.6`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-262) *2016-02-26* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.6.1...gson-parent-2.6.2) - Fixed an NPE bug with [@JsonAdapter](https://togithub.com/JsonAdapter) annotation - Added back OSGI manifest - Some documentation typo fixes ### [`v2.5`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-25) *2015-11-24* [GitHub Diff](https://togithub.com/google/gson/compare/gson-parent-2.4...gson-parent-2.5) - Updated minimum JDK version to 1.6 - Improved Date Deserialization by accepting many date formats - Added support for `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. - Improved debugging information when some exceptions are thrown ### [`v2.4`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-24) *2015-10-04* - **Drop `IOException` from `TypeAdapter.toJson()`.** This is a binary-compatible change, but may cause compiler errors where `IOExceptions` are being caught but no longer thrown. The correct fix for this problem is to remove the unnecessary `catch` clause. - New: `Gson.newJsonWriter` method returns configured `JsonWriter` instances. - New: `@SerializedName` now works with \[AutoValue’s]\[autovalue] abstract property methods. - New: `@SerializedName` permits alternate names when deserializing. - New: `JsonWriter#jsonValue` writes raw JSON values. - New: APIs to add primitives directly to `JsonArray` instances. - New: ISO 8601 date type adapter. Find this in *extras*. - Fix: `FieldNamingPolicy` now works properly when running on a device with a Turkish locale. \[autovalue]: https://togithub.com/google/auto/tree/master/valueConfiguration
📅 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 has been generated by Mend Renovate. View repository job log here.