Update dependency com.google.code.gson:gson to v2.14.0 #16

Open
renovate wants to merge 1 commit from renovate/com.google.code.gson-gson-2.x into main
Member

This PR contains the following updates:

Package Type Update Change
com.google.code.gson:gson dependencies minor 2.8.92.14.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. (#​2201)
  • Add JsonArray.asList and JsonObject.asMap view methods (#​2225)
  • Fix TypeAdapterRuntimeTypeWrapper not detecting reflective TreeTypeAdapter and FutureTypeAdapter (#​1787)
  • Improve JsonReader.skipValue() (#​2062)
  • Perform numeric conversion for primitive numeric type adapters (#​2158)
  • Add Gson.fromJson(..., TypeToken) overloads (#​1700)
  • Fix changes to GsonBuilder affecting existing Gson instances (#​1815)
  • Make JsonElement conversion methods more consistent and fix javadoc (#​2178)
  • Throw UnsupportedOperationException when JsonWriter.jsonValue is not supported (#​1651)
  • Disallow JsonObject Entry.setValue(null) (#​2167)
  • Fix TypeAdapter.toJson throwing AssertionError for custom IOException (#​2172)
  • Convert null to JsonNull for JsonArray.set (#​2170)
  • Fixed nullSafe usage. (#​1555)
  • Validate TypeToken.getParameterized arguments (#​2166)
  • Fix #​1702: Gson.toJson creates CharSequence which does not implement toString (#​1703)
  • Prefer existing adapter for concurrent Gson.getAdapter calls (#​2153)
  • Improve ArrayTypeAdapter for Object[] (#​1716)
  • Improve AppendableWriter performance (#​1706)

v2.9.1

  • Make Object and JsonElement deserialization iterative rather than
    recursive (#​1912)
  • Added parsing support for enum that has overridden toString() method (#​1950)
  • Removed support for building Gson with Gradle (#​2081)
  • Removed obsolete codegen hierarchy (#​2099)
  • Add support for reflection access filter (#​1905)
  • Improve TypeToken creation validation (#​2072)
  • Add explicit support for float in JsonWriter (#​2130, #​2132)
  • Fail when parsing invalid local date (#​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 (#​2043)
  • Put module-info.class into Multi-Release JAR folder (#​2013)
  • Improve error message when abstract class cannot be constructed (#​1814)
  • Support EnumMap deserialization (#​2071)
  • Add LazilyParsedNumber default adapter (#​2060)
  • Fix JsonReader.hasNext() returning true at end of document (#​2061)
  • Remove Gradle build support. Build script was outdated and not actively
    maintained anymore (#​2063)
  • Add GsonBuilder.disableJdkUnsafe() (#​1904)
  • Add UPPER_CASE_WITH_UNDERSCORES in FieldNamingPolicy (#​2024)
  • Fix failing to serialize Collection or Map with inaccessible constructor (#​1902)
  • Improve TreeTypeAdapter thread-safety (#​1976)
  • Fix Gson.newJsonWriter ignoring lenient and HTML-safe setting (#​1989)
  • Delete unused LinkedHashTreeMap (#​1992)
  • Make default adapters stricter; improve exception messages (#​2000)
  • Fix FieldNamingPolicy.upperCaseFirstLetter uppercasing non-letter (#​2004)

Configuration

📅 Schedule: (UTC)

  • 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.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.google.code.gson:gson](https://github.com/google/gson) | dependencies | minor | `2.8.9` → `2.14.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3) for more information. --- ### Release Notes <details> <summary>google/gson (com.google.code.gson:gson)</summary> ### [`v2.10`](https://github.com/google/gson/blob/HEAD/CHANGELOG.md#Version-210) - Support for serializing and deserializing Java records, on Java ≥ 16. ([#&#8203;2201](https://github.com/google/gson/pull/2201)) - Add `JsonArray.asList` and `JsonObject.asMap` view methods ([#&#8203;2225](https://github.com/google/gson/pull/2225)) - Fix `TypeAdapterRuntimeTypeWrapper` not detecting reflective `TreeTypeAdapter` and `FutureTypeAdapter` ([#&#8203;1787](https://github.com/google/gson/pull/1787)) - Improve `JsonReader.skipValue()` ([#&#8203;2062](https://github.com/google/gson/pull/2062)) - Perform numeric conversion for primitive numeric type adapters ([#&#8203;2158](https://github.com/google/gson/pull/2158)) - Add `Gson.fromJson(..., TypeToken)` overloads ([#&#8203;1700](https://github.com/google/gson/pull/1700)) - Fix changes to `GsonBuilder` affecting existing `Gson` instances ([#&#8203;1815](https://github.com/google/gson/pull/1815)) - Make `JsonElement` conversion methods more consistent and fix javadoc ([#&#8203;2178](https://github.com/google/gson/pull/2178)) - Throw `UnsupportedOperationException` when `JsonWriter.jsonValue` is not supported ([#&#8203;1651](https://github.com/google/gson/pull/1651)) - Disallow `JsonObject` `Entry.setValue(null)` ([#&#8203;2167](https://github.com/google/gson/pull/2167)) - Fix `TypeAdapter.toJson` throwing AssertionError for custom IOException ([#&#8203;2172](https://github.com/google/gson/pull/2172)) - Convert null to JsonNull for `JsonArray.set` ([#&#8203;2170](https://github.com/google/gson/pull/2170)) - Fixed nullSafe usage. ([#&#8203;1555](https://github.com/google/gson/pull/1555)) - Validate `TypeToken.getParameterized` arguments ([#&#8203;2166](https://github.com/google/gson/pull/2166)) - Fix [#&#8203;1702](https://github.com/google/gson/issues/1702): Gson.toJson creates CharSequence which does not implement toString ([#&#8203;1703](https://github.com/google/gson/pull/1703)) - Prefer existing adapter for concurrent `Gson.getAdapter` calls ([#&#8203;2153](https://github.com/google/gson/pull/2153)) - Improve `ArrayTypeAdapter` for `Object[]` ([#&#8203;1716](https://github.com/google/gson/pull/1716)) - Improve `AppendableWriter` performance ([#&#8203;1706](https://github.com/google/gson/pull/1706)) ### [`v2.9.1`](https://github.com/google/gson/blob/HEAD/CHANGELOG.md#Version-291) - Make `Object` and `JsonElement` deserialization iterative rather than recursive ([#&#8203;1912](https://github.com/google/gson/pull/1912)) - Added parsing support for enum that has overridden toString() method ([#&#8203;1950](https://github.com/google/gson/pull/1950)) - Removed support for building Gson with Gradle ([#&#8203;2081](https://github.com/google/gson/pull/2081)) - Removed obsolete `codegen` hierarchy ([#&#8203;2099](https://github.com/google/gson/pull/2099)) - Add support for reflection access filter ([#&#8203;1905](https://github.com/google/gson/pull/1905)) - Improve `TypeToken` creation validation ([#&#8203;2072](https://github.com/google/gson/pull/2072)) - Add explicit support for `float` in `JsonWriter` ([#&#8203;2130](https://github.com/google/gson/pull/2130), [#&#8203;2132](https://github.com/google/gson/pull/2132)) - Fail when parsing invalid local date ([#&#8203;2134](https://github.com/google/gson/pull/2134)) Also many small improvements to javadoc. ### [`v2.9.0`](https://github.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 ([#&#8203;2043](https://github.com/google/gson/pull/2043)) - Put `module-info.class` into Multi-Release JAR folder ([#&#8203;2013](https://github.com/google/gson/pull/2013)) - Improve error message when abstract class cannot be constructed ([#&#8203;1814](https://github.com/google/gson/pull/1814)) - Support EnumMap deserialization ([#&#8203;2071](https://github.com/google/gson/pull/2071)) - Add LazilyParsedNumber default adapter ([#&#8203;2060](https://github.com/google/gson/pull/2060)) - Fix JsonReader.hasNext() returning true at end of document ([#&#8203;2061](https://github.com/google/gson/pull/2061)) - Remove Gradle build support. Build script was outdated and not actively maintained anymore ([#&#8203;2063](https://github.com/google/gson/pull/2063)) - Add `GsonBuilder.disableJdkUnsafe()` ([#&#8203;1904](https://github.com/google/gson/pull/1904)) - Add `UPPER_CASE_WITH_UNDERSCORES` in FieldNamingPolicy ([#&#8203;2024](https://github.com/google/gson/pull/2024)) - Fix failing to serialize Collection or Map with inaccessible constructor ([#&#8203;1902](https://github.com/google/gson/pull/1902)) - Improve TreeTypeAdapter thread-safety ([#&#8203;1976](https://github.com/google/gson/pull/1976)) - Fix `Gson.newJsonWriter` ignoring lenient and HTML-safe setting ([#&#8203;1989](https://github.com/google/gson/pull/1989)) - Delete unused LinkedHashTreeMap ([#&#8203;1992](https://github.com/google/gson/pull/1992)) - Make default adapters stricter; improve exception messages ([#&#8203;2000](https://github.com/google/gson/pull/2000)) - Fix `FieldNamingPolicy.upperCaseFirstLetter` uppercasing non-letter ([#&#8203;2004](https://github.com/google/gson/pull/2004)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
renovate added 1 commit 2026-06-29 23:14:43 -07:00
Update dependency com.google.code.gson:gson to v2.14.0
Some checks failed
Checking for spelling errors / rojopolis/spellcheck (push) Has been cancelled
30e9c85aff
Some checks failed
Checking for spelling errors / rojopolis/spellcheck (push) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/com.google.code.gson-gson-2.x:renovate/com.google.code.gson-gson-2.x
git checkout renovate/com.google.code.gson-gson-2.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff renovate/com.google.code.gson-gson-2.x
git checkout renovate/com.google.code.gson-gson-2.x
git rebase main
git checkout main
git merge --ff-only renovate/com.google.code.gson-gson-2.x
git checkout renovate/com.google.code.gson-gson-2.x
git rebase main
git checkout main
git merge --no-ff renovate/com.google.code.gson-gson-2.x
git checkout main
git merge --squash renovate/com.google.code.gson-gson-2.x
git checkout main
git merge --ff-only renovate/com.google.code.gson-gson-2.x
git checkout main
git merge renovate/com.google.code.gson-gson-2.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Sulkta-OSS/dynmap-neoforge#16
No description provided.