Commit 42d8a30
Bump com.google.code.gson:gson from 2.8.9 to 2.10.1 (#10)
Bumps [com.google.code.gson:gson](https://github.com/google/gson) from
2.8.9 to 2.10.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.10.1</h2>
<p>This is technically a minor release rather than a patch release
because there is one small API change: a new
<code>JsonObject.isEmpty()</code> method.</p>
<h2>What's Changed: User-Visible Changes</h2>
<ul>
<li><em>Added JsonObject method isEmpty()</em> by <a
href="https://github.com/dhoard"><code>@dhoard</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2233">google/gson#2233</a></li>
<li><em>Fix non-threadsafe creation of adapter for type with cyclic
dependency</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/1832">google/gson#1832</a></li>
<li><em>Remove EOFException special casing of
JsonStreamParser.next()</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2281">google/gson#2281</a></li>
<li><em>Improve exception message for duplicate field names</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2251">google/gson#2251</a></li>
<li><em>Fix the javadoc of JsonDeserializer.deserialize()</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2243">google/gson#2243</a></li>
<li><em>Bump os-maven-plugin from 1.7.0 to 1.7.1</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2235">google/gson#2235</a></li>
<li><em>Bump jackson-databind from 2.13.4.2 to 2.14.0</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2234">google/gson#2234</a></li>
<li><em>Bump maven-release-plugin from 3.0.0-M6 to 3.0.0-M7</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2232">google/gson#2232</a></li>
<li><em>Bump japicmp-maven-plugin from 0.16.0 to 0.17.1</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2238">google/gson#2238</a></li>
<li><em>Bump jackson-databind from 2.14.0 to 2.14.1</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2241">google/gson#2241</a></li>
<li><em>Bump bnd-maven-plugin from 6.3.1 to 6.4.0</em> by <a
href="https://github.com/dependabot"><code>@dependabot</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2245">google/gson#2245</a></li>
</ul>
<h2>Site Documentation and Maintenance Changes (these were already
visible)</h2>
<ul>
<li><em>Add troubleshooting guide</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2285">google/gson#2285</a></li>
<li><em>Replace custom user guide header anchors</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2289">google/gson#2289</a></li>
<li><em>Improve variable names in user guide</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2290">google/gson#2290</a></li>
<li><em>Add 2.10 changes to CHANGELOG; minor release follow-ups</em> by
<a href="https://github.com/Marcono1234"><code>@Marcono1234</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2229">google/gson#2229</a></li>
<li><em>Mention in CHANGELOG that GitHub Releases are used in the
future</em> by <a
href="https://github.com/Marcono1234"><code>@Marcono1234</code></a> in
<a
href="https://redirect.github.com/google/gson/pull/2230">google/gson#2230</a></li>
<li><em>GitHub Workflows security hardening</em> by <a
href="https://github.com/sashashura"><code>@sashashura</code></a> in <a
href="https://redirect.github.com/google/gson/pull/2274">google/gson#2274</a></li>
</ul>
<h2>Other Changes</h2>
<ul>
<li><em>Making consistent prefixs in PerformanceTest</em> by <a
href="https://github.com/CirQ"><code>@CirQ</code></a> in <a
href="https://redirect.github.com/google/gson/pull/1760">google/gson#1760</a></li>
<li><em>Adjust version numbers and a test to conform to the SemVer
spec.</em> by <a
href="https://github.com/eamonnmcmanus"><code>@eamonnmcmanus</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2237">google/gson#2237</a></li>
<li><em>Remove covered condition in JsonNull.equals()</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2271">google/gson#2271</a></li>
<li><em>Remove the <code>final</code> keyword from <code>private</code>
method</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2276">google/gson#2276</a></li>
<li><em>Code cleanup</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2282">google/gson#2282</a></li>
<li><em>Unnecessary unboxing at JsonPrimitive.getAsBoolean()</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2277">google/gson#2277</a></li>
<li><em>Rewrite the
<code>testParsingDatesFormattedWithSystemLocale()</code>, Fix <a
href="https://redirect.github.com/google/gson/issues/2199">#2199</a></em>
by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2287">google/gson#2287</a></li>
<li><em>Port tests from JUnit 3 to JUnit 4</em> by <a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
in <a
href="https://redirect.github.com/google/gson/pull/2294">google/gson#2294</a></li>
</ul>
<h2>New Contributors (thanks!)</h2>
<ul>
<li><a href="https://github.com/CirQ"><code>@CirQ</code></a> made their
first contribution in <a
href="https://redirect.github.com/google/gson/pull/1760">google/gson#1760</a></li>
<li><a href="https://github.com/dhoard"><code>@dhoard</code></a> made
their first contribution in <a
href="https://redirect.github.com/google/gson/pull/2233">google/gson#2233</a></li>
<li><a
href="https://github.com/MaicolAntali"><code>@MaicolAntali</code></a>
made their first contribution in <a
href="https://redirect.github.com/google/gson/pull/2243">google/gson#2243</a></li>
<li><a
href="https://github.com/sashashura"><code>@sashashura</code></a> made
their first contribution in <a
href="https://redirect.github.com/google/gson/pull/2274">google/gson#2274</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1">https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1</a></p>
<h2>Gson 2.10</h2>
<h2>Most important changes</h2>
<ul>
<li>
<p>Support for serializing and deserializing Java records, on Java ≥ 16.
(<a
href="https://redirect.github.com/google/gson/issues/2201">#2201</a>)</p>
</li>
<li>
<p>Add <code>JsonArray.asList</code> and <code>JsonObject.asMap</code>
view methods (<a
href="https://redirect.github.com/google/gson/issues/2225">#2225</a>)</p>
</li>
<li>
<p>Fix <code>TypeAdapterRuntimeTypeWrapper</code> not detecting
reflective <code>TreeTypeAdapter</code> and
<code>FutureTypeAdapter</code> (<a
href="https://redirect.github.com/google/gson/issues/1787">#1787</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/google/gson/blob/main/CHANGELOG.md">com.google.code.gson:gson's
changelog</a>.</em></p>
<blockquote>
<h1>Change Log</h1>
<p>The change log for versions newer than 2.10 is available only on the
<a href="https://github.com/google/gson/releases">GitHub Releases
page</a>.</p>
<h2>Version 2.10</h2>
<ul>
<li>Support for serializing and deserializing Java records, on Java ≥
16. (<a
href="https://redirect.github.com/google/gson/pull/2201">google/gson#2201</a>)</li>
<li>Add <code>JsonArray.asList</code> and <code>JsonObject.asMap</code>
view methods (<a
href="https://redirect.github.com/google/gson/pull/2225">google/gson#2225</a>)</li>
<li>Fix <code>TypeAdapterRuntimeTypeWrapper</code> not detecting
reflective <code>TreeTypeAdapter</code> and
<code>FutureTypeAdapter</code> (<a
href="https://redirect.github.com/google/gson/pull/1787">google/gson#1787</a>)</li>
<li>Improve <code>JsonReader.skipValue()</code> (<a
href="https://redirect.github.com/google/gson/pull/2062">google/gson#2062</a>)</li>
<li>Perform numeric conversion for primitive numeric type adapters (<a
href="https://redirect.github.com/google/gson/pull/2158">google/gson#2158</a>)</li>
<li>Add <code>Gson.fromJson(..., TypeToken)</code> overloads (<a
href="https://redirect.github.com/google/gson/pull/1700">google/gson#1700</a>)</li>
<li>Fix changes to <code>GsonBuilder</code> affecting existing
<code>Gson</code> instances (<a
href="https://redirect.github.com/google/gson/pull/1815">google/gson#1815</a>)</li>
<li>Make <code>JsonElement</code> conversion methods more consistent and
fix javadoc (<a
href="https://redirect.github.com/google/gson/pull/2178">google/gson#2178</a>)</li>
<li>Throw <code>UnsupportedOperationException</code> when
<code>JsonWriter.jsonValue</code> is not supported (<a
href="https://redirect.github.com/google/gson/pull/1651">google/gson#1651</a>)</li>
<li>Disallow <code>JsonObject</code> <code>Entry.setValue(null)</code>
(<a
href="https://redirect.github.com/google/gson/pull/2167">google/gson#2167</a>)</li>
<li>Fix <code>TypeAdapter.toJson</code> throwing AssertionError for
custom IOException (<a
href="https://redirect.github.com/google/gson/pull/2172">google/gson#2172</a>)</li>
<li>Convert null to JsonNull for <code>JsonArray.set</code> (<a
href="https://redirect.github.com/google/gson/pull/2170">google/gson#2170</a>)</li>
<li>Fixed nullSafe usage. (<a
href="https://redirect.github.com/google/gson/pull/1555">google/gson#1555</a>)</li>
<li>Validate <code>TypeToken.getParameterized</code> arguments (<a
href="https://redirect.github.com/google/gson/pull/2166">google/gson#2166</a>)</li>
<li>Fix <a
href="https://redirect.github.com/google/gson/issues/1702">#1702</a>:
Gson.toJson creates CharSequence which does not implement toString (<a
href="https://redirect.github.com/google/gson/pull/1703">google/gson#1703</a>)</li>
<li>Prefer existing adapter for concurrent <code>Gson.getAdapter</code>
calls (<a
href="https://redirect.github.com/google/gson/pull/2153">google/gson#2153</a>)</li>
<li>Improve <code>ArrayTypeAdapter</code> for <code>Object[]</code> (<a
href="https://redirect.github.com/google/gson/pull/1716">google/gson#1716</a>)</li>
<li>Improve <code>AppendableWriter</code> performance (<a
href="https://redirect.github.com/google/gson/pull/1706">google/gson#1706</a>)</li>
</ul>
<h2>Version 2.9.1</h2>
<ul>
<li>Make <code>Object</code> and <code>JsonElement</code>
deserialization iterative rather than
recursive (<a
href="https://redirect.github.com/google/gson/pull/1912">google/gson#1912</a>)</li>
<li>Added parsing support for enum that has overridden toString() method
(<a
href="https://redirect.github.com/google/gson/pull/1950">google/gson#1950</a>)</li>
<li>Removed support for building Gson with Gradle (<a
href="https://redirect.github.com/google/gson/pull/2081">google/gson#2081</a>)</li>
<li>Removed obsolete <code>codegen</code> hierarchy (<a
href="https://redirect.github.com/google/gson/pull/2099">google/gson#2099</a>)</li>
<li>Add support for reflection access filter (<a
href="https://redirect.github.com/google/gson/pull/1905">google/gson#1905</a>)</li>
<li>Improve <code>TypeToken</code> creation validation (<a
href="https://redirect.github.com/google/gson/pull/2072">google/gson#2072</a>)</li>
<li>Add explicit support for <code>float</code> in
<code>JsonWriter</code> (<a
href="https://redirect.github.com/google/gson/pull/2130">google/gson#2130</a>,
<a
href="https://redirect.github.com/google/gson/pull/2132">google/gson#2132</a>)</li>
<li>Fail when parsing invalid local date (<a
href="https://redirect.github.com/google/gson/pull/2134">google/gson#2134</a>)</li>
</ul>
<p>Also many small improvements to javadoc.</p>
<h2>Version 2.9.0</h2>
<p><strong>The minimum supported Java version changes from 6 to
7.</strong></p>
<ul>
<li>Change target Java version to 7 (<a
href="https://redirect.github.com/google/gson/pull/2043">google/gson#2043</a>)</li>
<li>Put <code>module-info.class</code> into Multi-Release JAR folder (<a
href="https://redirect.github.com/google/gson/pull/2013">google/gson#2013</a>)</li>
<li>Improve error message when abstract class cannot be constructed (<a
href="https://redirect.github.com/google/gson/pull/1814">google/gson#1814</a>)</li>
<li>Support EnumMap deserialization (<a
href="https://redirect.github.com/google/gson/pull/2071">google/gson#2071</a>)</li>
<li>Add LazilyParsedNumber default adapter (<a
href="https://redirect.github.com/google/gson/pull/2060">google/gson#2060</a>)</li>
<li>Fix JsonReader.hasNext() returning true at end of document (<a
href="https://redirect.github.com/google/gson/pull/2061">google/gson#2061</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/gson/commit/2ce6a6106c22bf0cce2e39f68b0da2f117d6e66b"><code>2ce6a61</code></a>
[maven-release-plugin] prepare release gson-parent-2.10.1</li>
<li><a
href="https://github.com/google/gson/commit/1a2170b99c9d293e825bf8f511b191196326ea03"><code>1a2170b</code></a>
Port tests from JUnit 3 to JUnit 4 (<a
href="https://redirect.github.com/google/gson/issues/2294">#2294</a>)</li>
<li><a
href="https://github.com/google/gson/commit/4aaf1385db5ffbc99de7411e5e80201fd8da7f3c"><code>4aaf138</code></a>
Improve variable names in user guide (<a
href="https://redirect.github.com/google/gson/issues/2290">#2290</a>)</li>
<li><a
href="https://github.com/google/gson/commit/a19d53f5358e7a4e12817d766b3289def78a989d"><code>a19d53f</code></a>
Replace custom user guide header anchors (<a
href="https://redirect.github.com/google/gson/issues/2289">#2289</a>)</li>
<li><a
href="https://github.com/google/gson/commit/6c12ded70ddfe47b0412fbb6d8a3ff970518ce2b"><code>6c12ded</code></a>
Rewrite the <code>testParsingDatesFormattedWithSystemLocale()</code>,
Fix <a
href="https://redirect.github.com/google/gson/issues/2199">#2199</a> (<a
href="https://redirect.github.com/google/gson/issues/2287">#2287</a>)</li>
<li><a
href="https://github.com/google/gson/commit/f2f53fbe8e54020656de67e2511e9b36932963e3"><code>f2f53fb</code></a>
Add troubleshooting guide (<a
href="https://redirect.github.com/google/gson/issues/2285">#2285</a>)</li>
<li><a
href="https://github.com/google/gson/commit/f63a1b85aec695f4d464e07a5c13fc038d581527"><code>f63a1b8</code></a>
Remove EOFException special casing of JsonStreamParser.next() (<a
href="https://redirect.github.com/google/gson/issues/2281">#2281</a>)</li>
<li><a
href="https://github.com/google/gson/commit/6c3cf2243581c6ade4d6341b7d46884528261108"><code>6c3cf22</code></a>
Unnecessary unboxing at JsonPrimitive.getAsBoolean() (<a
href="https://redirect.github.com/google/gson/issues/2277">#2277</a>)</li>
<li><a
href="https://github.com/google/gson/commit/0a42c31efe265368b71b629a071e7be6c9593d10"><code>0a42c31</code></a>
Code cleanup (<a
href="https://redirect.github.com/google/gson/issues/2282">#2282</a>)</li>
<li><a
href="https://github.com/google/gson/commit/28affcbdb9cc77efd6d4cb6cf6cab4acd48f4975"><code>28affcb</code></a>
Remove the <code>final</code> keyword from <code>private</code> method
(<a
href="https://redirect.github.com/google/gson/issues/2276">#2276</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.10.1">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: anthony-nhs <121869075+anthony-nhs@users.noreply.github.com>1 parent 86636ae commit 42d8a30
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments