chore(deps): bump com.google.code.gson:gson from 2.12.1 to 2.13.2
Bumps com.google.code.gson:gson from 2.12.1 to 2.13.2.
Release notes
Sourced from com.google.code.gson:gson's releases.
Gson 2.13.2
The main changes in this release are just newer dependencies.
What's Changed
- Improved packaging of JPMS module declaration in Gson jar
This fixes an issue where Eclipse and VS Code users could not refer to the Gson module namecom.google.gson. See issue google/gson#2679.- Remove internal class
GsonPreconditionsby@Marcono1234in google/gson#2879- Switch to using central-publishing-maven-plugin by
@eamonnmcmanusin google/gson#2900New Contributors
@MukjepScarletmade their first contribution in google/gson#2852@ChrisCraikmade their first contribution in google/gson#2856Full Changelog: https://github.com/google/gson/compare/gson-parent-2.13.1...gson-parent-2.13.2
Gson 2.13.1
What's Changed
- Give FieldNamingStrategy the ability to return multiple String names by
@mfriesenin google/gson#2776- Remove outdated android-proguard-example by
@Gooolerin google/gson#2843- Adjust Troubleshooting Guide ProGuard / R8 section by
@Marcono1234in google/gson#2844- Update dependencies, including the problematic
com.google.errorprone:error_prone_annotations:2.37.0.New Contributors
@mfriesenmade their first contribution in google/gson#2776@Gooolermade their first contribution in google/gson#2843Full Changelog: https://github.com/google/gson/compare/gson-parent-2.13.0...gson-parent-2.13.1
Gson 2.13.0
What's Changed
A bug in deserializing collections has been fixed. Previously, if you did something like this:
gson.fromJson(jsonString, new TypeToken<ImmutableList<String>>() {})then the inferred type would be
ImmutableList<String>, but Gson actually gave you anArrayList<String>. Usually that would lead to an immediateClassCastException, but in some circumstances the code might sometimes succeed despite the wrong type. Now you will see an exception like this:com.google.gson.JsonIOException: Abstract classes can't be instantiated! Adjust the R8 configuration or register an InstanceCreator or a TypeAdapter for this type. Class name: com.google.common.collect.ImmutableListbecause Gson now really is trying to create an
ImmutableListthrough its constructor, but that isn't possible. Either change the requested type (in theTypeToken) toList<String>, or register aTypeAdapterorJsonDeserializerforImmutableList.The internal classes
$Gson$Typesand$Gson$Preconditionshave been renamed to remove the$characters. Since these are internal classes (as signaled not only by the package name but by the$characters), client code should not be affected. If your code was depending on these classes then we suggest making a copy of the class (subject to the license) rather than depending on the new names.Full Changelog: https://github.com/google/gson/compare/gson-parent-2.12.1...gson-parent-2.13.0
Commits
686fad7[maven-release-plugin] prepare release gson-parent-2.13.2c2d252aSwitch to using central-publishing-maven-plugin. (#2900)69cb755Bump the github-actions group with 5 updates (#2894)ea552c2Bump the maven group across 1 directory with 3 updates (#2898)fdc616dSet top-level permissions for CodeQL workflow (#2889)9334715Create scorecard.yml (#2888)f7de5c2Bump the maven group with 8 updates (#2885)8c23cd3Update sources to satisfy a new Error Prone check. (#2887)5eab3edBump the github-actions group with 2 updates (#2886)5f5c200Bump the maven group across 1 directory with 10 updates (#2872)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.