Skip to content

Commit

Permalink
Merge #808
Browse files Browse the repository at this point in the history
808: Bump com.google.code.gson:gson from 2.11.0 to 2.12.1 r=curquiza a=dependabot[bot]

Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.11.0 to 2.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/gson/releases">com.google.code.gson:gson's releases</a>.</em></p>
<blockquote>
<h2>Gson 2.11.1</h2>
<p>The only difference between this release and 2.11.0 is that OSGi declarations in the Gson jar now specify that <code>com.google.errorprone.annotations</code>  is an optional dependency, not a required one. If you do not use OSGi then there is no effective change.</p>
<h2>Gson 2.12.0</h2>
<h2>What's Changed</h2>
<p>The biggest change is that we no longer support Java 7. People who still need to run on Java 7 will need to use an earlier version of Gson.</p>
<p>Other changes:</p>
<ul>
<li>Allow registering adapters for <code>JsonElement</code> again by <a href="https://github.com/Marcono1234"><code>`@​Marcono1234</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2789">google/gson#2789</a></li>
<li>Add nesting limit for <code>JsonReader</code> by <a href="https://github.com/Marcono1234"><code>`@​Marcono1234</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2588">google/gson#2588</a></li>
<li>Add <code>`@CheckReturnValue</code>` to our packages. by <a href="https://github.com/cpovirk"><code>`@​cpovirk</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2693">google/gson#2693</a></li>
<li>Add NullSafeTypeAdapter to prevent TypeAdapter.nullSafe() from returning nested null-safe type adapters (<a href="https://redirect.github.com/google/gson/issues/2729">#2729</a>) by <a href="https://github.com/lyubomyr-shaydariv"><code>`@​lyubomyr-shaydariv</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2731">google/gson#2731</a></li>
<li>Support Properties subclasses in GsonTypes.getMapKeyAndValueTypes by <a href="https://github.com/panic08"><code>`@​panic08</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2758">google/gson#2758</a></li>
<li>Enforce rawType to be a Class in ParameterizedTypeImpl by <a href="https://github.com/panic08"><code>`@​panic08</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2759">google/gson#2759</a></li>
<li>Remove <code>AccessController</code> usage for enum adapter by <a href="https://github.com/Marcono1234"><code>`@​Marcono1234</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2704">google/gson#2704</a></li>
<li>Fix typeArguments array not being cloned when resolving ParameterizedType with changed owner by <a href="https://github.com/TBlueF"><code>`@​TBlueF</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2706">google/gson#2706</a></li>
<li>Remove duplicated declaration of required OSGi execution environment by <a href="https://github.com/HannesWell"><code>`@​HannesWell</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2711">google/gson#2711</a></li>
<li>Move bnd.bnd file configuration into 'bnd' element of bnd-maven-plugin by <a href="https://github.com/HannesWell"><code>`@​HannesWell</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2712">google/gson#2712</a></li>
<li>Move enum and <code>JsonElement</code> adapter classes to separate class files by <a href="https://github.com/Marcono1234"><code>`@​Marcono1234</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2727">google/gson#2727</a></li>
<li>EnumTypeAdapter constructor optimization by <a href="https://github.com/esaulpaugh"><code>`@​esaulpaugh</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2734">google/gson#2734</a></li>
<li>OSGi / bnd: Remove the self-Import of gson.annotations by <a href="https://github.com/chrisrueger"><code>`@​chrisrueger</code></a>` in <a href="https://redirect.github.com/google/gson/pull/2735">google/gson#2735</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/cpovirk"><code>`@​cpovirk</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2693">google/gson#2693</a></li>
<li><a href="https://github.com/jabagawee"><code>`@​jabagawee</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2701">google/gson#2701</a></li>
<li><a href="https://github.com/TBlueF"><code>`@​TBlueF</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2706">google/gson#2706</a></li>
<li><a href="https://github.com/HannesWell"><code>`@​HannesWell</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2711">google/gson#2711</a></li>
<li><a href="https://github.com/esaulpaugh"><code>`@​esaulpaugh</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2734">google/gson#2734</a></li>
<li><a href="https://github.com/chrisrueger"><code>`@​chrisrueger</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2735">google/gson#2735</a></li>
<li><a href="https://github.com/panic08"><code>`@​panic08</code></a>` made their first contribution in <a href="https://redirect.github.com/google/gson/pull/2756">google/gson#2756</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0">https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/gson/commit/29e3d1d2cc0ce4175378e511a87f538561625515"><code>29e3d1d</code></a> [maven-release-plugin] prepare release gson-parent-2.12.1</li>
<li><a href="https://github.com/google/gson/commit/be456cf0f7f7b9070eaae26fe1d3130e07e0d385"><code>be456cf</code></a> Make the import of com.google.errorprone optional (<a href="https://redirect.github.com/google/gson/issues/2795">#2795</a>)</li>
<li><a href="https://github.com/google/gson/commit/b2e26fa97b7ccba080a082a9bf9741e24d5c523d"><code>b2e26fa</code></a> Bump the github-actions group with 3 updates (<a href="https://redirect.github.com/google/gson/issues/2785">#2785</a>)</li>
<li><a href="https://github.com/google/gson/commit/10bdd6dc6a2f86151762e9c18d155970e90d14a9"><code>10bdd6d</code></a> Simplify collection type adapters slightly. (<a href="https://redirect.github.com/google/gson/issues/2791">#2791</a>)</li>
<li><a href="https://github.com/google/gson/commit/ab9c54f40bc36abc4af670fff187a8b7436b8089"><code>ab9c54f</code></a> [maven-release-plugin] prepare for next development iteration</li>
<li><a href="https://github.com/google/gson/commit/aaf7a12d8004a8b6e51a713ce5b0a42c3e78809c"><code>aaf7a12</code></a> [maven-release-plugin] prepare release gson-parent-2.12.0</li>
<li><a href="https://github.com/google/gson/commit/a2b1c3c88276697578a961de8286752e772c55db"><code>a2b1c3c</code></a> Allow registering adapters for <code>JsonElement</code> again (<a href="https://redirect.github.com/google/gson/issues/2789">#2789</a>)</li>
<li><a href="https://github.com/google/gson/commit/e5dce841f73382cb7acdfe32250767ddb2c86b49"><code>e5dce84</code></a> Bump the maven group with 8 updates (<a href="https://redirect.github.com/google/gson/issues/2784">#2784</a>)</li>
<li><a href="https://github.com/google/gson/commit/84e5f16acafaa7c55d80a3621a37c7884ca928b6"><code>84e5f16</code></a> Bump the maven group with 7 updates (<a href="https://redirect.github.com/google/gson/issues/2777">#2777</a>)</li>
<li><a href="https://github.com/google/gson/commit/9f3e577d8286aef3793b7e867f6e00eee68f15fd"><code>9f3e577</code></a> Bump the github-actions group with 2 updates (<a href="https://redirect.github.com/google/gson/issues/2778">#2778</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.code.gson:gson&package-manager=gradle&previous-version=2.11.0&new-version=2.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- ``@dependabot` ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Feb 5, 2025
2 parents 477b4a4 + 41d1cc5 commit 1f2beb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ configurations {

dependencies {
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'com.google.code.gson:gson:2.12.1'
implementation 'org.json:json:20250107'
// https://mvnrepository.com/artifact/org.apache.httpcomponents.client5/httpclient5
api 'com.squareup.okhttp3:okhttp:[4.10.0,5.0.0)'
Expand Down

0 comments on commit 1f2beb0

Please sign in to comment.