Bump gson from 1.7.2 to 2.8.9 #5

Open
dependabot[bot] wants to merge 1 commit from dependabot/maven/com.google.code.gson-gson-2.8.9 into master
dependabot[bot] commented 2022-05-20 20:55:09 +00:00 (Migrated from github.com)

Bumps gson from 1.7.2 to 2.8.9.

Release notes

Sourced from gson's releases.

Gson 2.8.9

  • Make OSGi bundle's dependency on sun.misc optional (#1993).
  • Deprecate Gson.excluder() exposing internal Excluder class (#1986).
  • Prevent Java deserialization of internal classes (#1991).
  • Improve number strategy implementation (#1987).
  • Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990).
  • Support arbitrary Number implementation for Object and Number deserialization (#1290).
  • Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (#1980).
  • Don't exclude static local classes (#1969).
  • Fix RuntimeTypeAdapterFactory depending on internal Streams class (#1959).
  • Improve Maven build (#1964).
  • Make dependency on java.sql optional (#1707).

Gson 2.8.8

  • Fixed issue with recursive types (#1390).
  • Better behaviour with Java 9+ and Unsafe if there is a security manager (#1712).
  • EnumTypeAdapter now works better when ProGuard has obfuscated enum fields (#1495).
Changelog

Sourced from gson's changelog.

Version 2.8.9

  • Make OSGi bundle's dependency on sun.misc optional (#1993).
  • Deprecate Gson.excluder() exposing internal Excluder class (#1986).
  • Prevent Java deserialization of internal classes (#1991).
  • Improve number strategy implementation (#1987).
  • Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990).
  • Support arbitrary Number implementation for Object and Number deserialization (#1290).
  • Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (#1980).
  • Don't exclude static local classes (#1969).
  • Fix RuntimeTypeAdapterFactory depending on internal Streams class (#1959).
  • Improve Maven build (#1964).
  • Make dependency on java.sql optional (#1707).

Version 2.8.8

  • Fixed issue with recursive types (#1390).
  • Better behaviour with Java 9+ and Unsafe if there is a security manager (#1712).
  • EnumTypeAdapter now works better when ProGuard has obfuscated enum fields (#1495).

Version 2.8.7

  • Fixed ISO8601UtilsTest failing on systems with UTC+X.
  • Improved javadoc for JsonStreamParser.
  • Updated proguard.cfg (#1693).
  • Fixed IllegalStateException in JsonTreeWriter (#1592).
  • Added JsonArray.isEmpty() (#1640).
  • Added new test cases (#1638).
  • Fixed OSGi metadata generation to work on JavaSE < 9 (#1603).

Version 2.8.6

2019-10-04 GitHub Diff

  • Added static methods JsonParser.parseString and JsonParser.parseReader and deprecated instance method JsonParser.parse
  • Java 9 module-info support

Version 2.8.5

2018-05-21 GitHub Diff

  • 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 google/gson#1310 by supporting Debian Java 9

Version 2.8.4

2018-05-01 GitHub Diff

  • Added a new FieldNamingPolicy, LOWER_CASE_WITH_DOTS that mapps JSON name someFieldName to some.field.name
  • Fixed issue google/gson#1305 by removing compile/runtime dependency on sun.misc.Unsafe

Version 2.8.3

2018-04-27 GitHub Diff

  • Added a new API, GsonBuilder.newBuilder() that clones the current builder
  • Preserving DateFormatter behavior on JDK 9

... (truncated)

Commits
  • 6a368d8 [maven-release-plugin] prepare release gson-parent-2.8.9
  • ba96d53 Fix missing bounds checks for JsonTreeReader.getPath() (#2001)
  • ca1df7f #1981: Optional OSGi bundle's dependency on sun.misc package (#1993)
  • c54caf3 Deprecate Gson.excluder() exposing internal Excluder class (#1986)
  • e6fae59 Prevent Java deserialization of internal classes (#1991)
  • bda2e3d Improve number strategy implementation (#1987)
  • cd748df Fix LongSerializationPolicy null handling being inconsistent with Gson (#1990)
  • fe30b85 Support arbitrary Number implementation for Object and Number deserialization...
  • 1cc1627 Fix incorrect feature request template label (#1982)
  • 7b9a283 Bump bnd-maven-plugin from 5.3.0 to 6.0.0 (#1985)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [gson](https://github.com/google/gson) from 1.7.2 to 2.8.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/gson/releases">gson's releases</a>.</em></p> <blockquote> <h2>Gson 2.8.9</h2> <ul> <li>Make OSGi bundle's dependency on <code>sun.misc</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1993">#1993</a>).</li> <li>Deprecate <code>Gson.excluder()</code> exposing internal <code>Excluder</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1986">#1986</a>).</li> <li>Prevent Java deserialization of internal classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1991">#1991</a>).</li> <li>Improve number strategy implementation (<a href="https://github-redirect.dependabot.com/google/gson/issues/1987">#1987</a>).</li> <li>Fix LongSerializationPolicy null handling being inconsistent with Gson (<a href="https://github-redirect.dependabot.com/google/gson/issues/1990">#1990</a>).</li> <li>Support arbitrary Number implementation for Object and Number deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/1290">#1290</a>).</li> <li>Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1980">#1980</a>).</li> <li>Don't exclude static local classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1969">#1969</a>).</li> <li>Fix <code>RuntimeTypeAdapterFactory</code> depending on internal <code>Streams</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1959">#1959</a>).</li> <li>Improve Maven build (<a href="https://github-redirect.dependabot.com/google/gson/issues/1964">#1964</a>).</li> <li>Make dependency on <code>java.sql</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1707">#1707</a>).</li> </ul> <h2>Gson 2.8.8</h2> <ul> <li>Fixed issue with recursive types (<a href="https://github-redirect.dependabot.com/google/gson/issues/1390">#1390</a>).</li> <li>Better behaviour with Java 9+ and <code>Unsafe</code> if there is a security manager (<a href="https://github-redirect.dependabot.com/google/gson/issues/1712">#1712</a>).</li> <li><code>EnumTypeAdapter</code> now works better when ProGuard has obfuscated enum fields (<a href="https://github-redirect.dependabot.com/google/gson/issues/1495">#1495</a>).</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/google/gson/blob/master/CHANGELOG.md">gson's changelog</a>.</em></p> <blockquote> <h2>Version 2.8.9</h2> <ul> <li>Make OSGi bundle's dependency on <code>sun.misc</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1993">#1993</a>).</li> <li>Deprecate <code>Gson.excluder()</code> exposing internal <code>Excluder</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1986">#1986</a>).</li> <li>Prevent Java deserialization of internal classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1991">#1991</a>).</li> <li>Improve number strategy implementation (<a href="https://github-redirect.dependabot.com/google/gson/issues/1987">#1987</a>).</li> <li>Fix LongSerializationPolicy null handling being inconsistent with Gson (<a href="https://github-redirect.dependabot.com/google/gson/issues/1990">#1990</a>).</li> <li>Support arbitrary Number implementation for Object and Number deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/1290">#1290</a>).</li> <li>Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1980">#1980</a>).</li> <li>Don't exclude static local classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1969">#1969</a>).</li> <li>Fix <code>RuntimeTypeAdapterFactory</code> depending on internal <code>Streams</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1959">#1959</a>).</li> <li>Improve Maven build (<a href="https://github-redirect.dependabot.com/google/gson/issues/1964">#1964</a>).</li> <li>Make dependency on <code>java.sql</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1707">#1707</a>).</li> </ul> <h2>Version 2.8.8</h2> <ul> <li>Fixed issue with recursive types (<a href="https://github-redirect.dependabot.com/google/gson/issues/1390">#1390</a>).</li> <li>Better behaviour with Java 9+ and <code>Unsafe</code> if there is a security manager (<a href="https://github-redirect.dependabot.com/google/gson/issues/1712">#1712</a>).</li> <li><code>EnumTypeAdapter</code> now works better when ProGuard has obfuscated enum fields (<a href="https://github-redirect.dependabot.com/google/gson/issues/1495">#1495</a>).</li> </ul> <h2>Version 2.8.7</h2> <ul> <li>Fixed <code>ISO8601UtilsTest</code> failing on systems with UTC+X.</li> <li>Improved javadoc for <code>JsonStreamParser</code>.</li> <li>Updated proguard.cfg (<a href="https://github-redirect.dependabot.com/google/gson/issues/1693">#1693</a>).</li> <li>Fixed <code>IllegalStateException</code> in <code>JsonTreeWriter</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1592">#1592</a>).</li> <li>Added <code>JsonArray.isEmpty()</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1640">#1640</a>).</li> <li>Added new test cases (<a href="https://github-redirect.dependabot.com/google/gson/issues/1638">#1638</a>).</li> <li>Fixed OSGi metadata generation to work on JavaSE &lt; 9 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1603">#1603</a>).</li> </ul> <h2>Version 2.8.6</h2> <p><em>2019-10-04</em> <a href="https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.6">GitHub Diff</a></p> <ul> <li>Added static methods <code>JsonParser.parseString</code> and <code>JsonParser.parseReader</code> and deprecated instance method <code>JsonParser.parse</code></li> <li>Java 9 module-info support</li> </ul> <h2>Version 2.8.5</h2> <p><em>2018-05-21</em> <a href="https://github.com/google/gson/compare/gson-parent-2.8.4...gson-parent-2.8.5">GitHub Diff</a></p> <ul> <li>Print Gson version while throwing AssertionError and IllegalArgumentException</li> <li>Moved <code>utils.VersionUtils</code> class to <code>internal.JavaVersion</code>. This is a potential backward incompatible change from 2.8.4</li> <li>Fixed issue <a href="https://github-redirect.dependabot.com/google/gson/issues/1310">google/gson#1310</a> by supporting Debian Java 9</li> </ul> <h2>Version 2.8.4</h2> <p><em>2018-05-01</em> <a href="https://github.com/google/gson/compare/gson-parent-2.8.3...gson-parent-2.8.4">GitHub Diff</a></p> <ul> <li>Added a new FieldNamingPolicy, <code>LOWER_CASE_WITH_DOTS</code> that mapps JSON name <code>someFieldName</code> to <code>some.field.name</code></li> <li>Fixed issue <a href="https://github-redirect.dependabot.com/google/gson/issues/1305">google/gson#1305</a> by removing compile/runtime dependency on <code>sun.misc.Unsafe</code></li> </ul> <h2>Version 2.8.3</h2> <p><em>2018-04-27</em> <a href="https://github.com/google/gson/compare/gson-parent-2.8.2...gson-parent-2.8.3">GitHub Diff</a></p> <ul> <li>Added a new API, <code>GsonBuilder.newBuilder()</code> that clones the current builder</li> <li>Preserving DateFormatter behavior on JDK 9</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/gson/commit/6a368d89da37917be7714c3072b8378f4120110a"><code>6a368d8</code></a> [maven-release-plugin] prepare release gson-parent-2.8.9</li> <li><a href="https://github.com/google/gson/commit/ba96d53bad35f7466073f14cb3d89d09383e1a2d"><code>ba96d53</code></a> Fix missing bounds checks for JsonTreeReader.getPath() (<a href="https://github-redirect.dependabot.com/google/gson/issues/2001">#2001</a>)</li> <li><a href="https://github.com/google/gson/commit/ca1df7f7e09f6b1a763882029dd7057f475b31de"><code>ca1df7f</code></a> <a href="https://github-redirect.dependabot.com/google/gson/issues/1981">#1981</a>: Optional OSGi bundle's dependency on sun.misc package (<a href="https://github-redirect.dependabot.com/google/gson/issues/1993">#1993</a>)</li> <li><a href="https://github.com/google/gson/commit/c54caf308c3f7d4a6088cf3085c2caa9617e0458"><code>c54caf3</code></a> Deprecate <code>Gson.excluder()</code> exposing internal <code>Excluder</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1986">#1986</a>)</li> <li><a href="https://github.com/google/gson/commit/e6fae590cf2a758c47cd5a17f9bf3780ce62c986"><code>e6fae59</code></a> Prevent Java deserialization of internal classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1991">#1991</a>)</li> <li><a href="https://github.com/google/gson/commit/bda2e3d16af776e0f607d56bbab6eac22f8f2d58"><code>bda2e3d</code></a> Improve number strategy implementation (<a href="https://github-redirect.dependabot.com/google/gson/issues/1987">#1987</a>)</li> <li><a href="https://github.com/google/gson/commit/cd748df7122ea4260d35dfe90cfab0c079a1504d"><code>cd748df</code></a> Fix LongSerializationPolicy null handling being inconsistent with Gson (<a href="https://github-redirect.dependabot.com/google/gson/issues/1990">#1990</a>)</li> <li><a href="https://github.com/google/gson/commit/fe30b85224316cabf19f5dd3223843437c297802"><code>fe30b85</code></a> Support arbitrary Number implementation for Object and Number deserialization...</li> <li><a href="https://github.com/google/gson/commit/1cc16274235f89650349884dd04760bf15a95d96"><code>1cc1627</code></a> Fix incorrect feature request template label (<a href="https://github-redirect.dependabot.com/google/gson/issues/1982">#1982</a>)</li> <li><a href="https://github.com/google/gson/commit/7b9a283a7a5d66878c9be01227b15e631afe2a5a"><code>7b9a283</code></a> Bump bnd-maven-plugin from 5.3.0 to 6.0.0 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1985">#1985</a>)</li> <li>Additional commits viewable in <a href="https://github.com/google/gson/compare/gson-1.7.2...gson-parent-2.8.9">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=maven&previous-version=1.7.2&new-version=2.8.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/NorbiPeti/TLAPhrases/network/alerts). </details>
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 dependabot/maven/com.google.code.gson-gson-2.8.9:dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout dependabot/maven/com.google.code.gson-gson-2.8.9

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 master
git merge --no-ff dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout dependabot/maven/com.google.code.gson-gson-2.8.9
git rebase master
git checkout master
git merge --ff-only dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout dependabot/maven/com.google.code.gson-gson-2.8.9
git rebase master
git checkout master
git merge --no-ff dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout master
git merge --squash dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout master
git merge --ff-only dependabot/maven/com.google.code.gson-gson-2.8.9
git checkout master
git merge dependabot/maven/com.google.code.gson-gson-2.8.9
git push origin master
Sign in to join this conversation.
No description provided.