Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[espresso]: Bump gson from 2.8.6 to 2.9.1 in /packages/espresso/android #6164

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2022

Bumps gson from 2.8.6 to 2.9.1.

Release notes

Sourced from gson's releases.

Gson 2.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.

Gson 2.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)

Thanks to our contributors, especially @​Marcono1234!

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

Version 2.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)

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

... (truncated)

Commits
  • bb9a1f2 [maven-release-plugin] prepare release gson-parent-2.9.1
  • 893a7e1 Fix malformed JsonElement.getAsBigDecimal() javadoc (#1772)
  • 6d2557d Remove unused package-private FieldAttributes methods (#2162)
  • 2deb209 Make RuntimeTypeAdapterFactory recognize subclasses only conditionally. (#2...
  • 924c496 Bump maven-resources-plugin from 3.2.0 to 3.3.0 (#2157)
  • 503c20b Rename ReflectiveTypeAdapterFactory field inclusion check method (#2121)
  • 0106247 Bump maven-deploy-plugin from 3.0.0-M2 to 3.0.0 (#2148)
  • eeba71c Upgrade to oss-parent 9 (#2149)
  • 2eb3758 Fix RuntimeTypeAdapterFactory (#2139)
  • cbc0af8 Improve lenient mode documentation (#2122)
  • 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 dependabot bot requested a review from GaryQian as a code owner August 1, 2022 10:23
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 1, 2022
@stuartmorgan-g
Copy link
Contributor

@GaryQian This passed all tests; could you add the version bump and changelog entry so we can get it landed?

@GaryQian GaryQian added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 30, 2022
@auto-submit
Copy link

auto-submit bot commented Aug 30, 2022

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 30, 2022
@jmagman
Copy link
Member

jmagman commented Aug 30, 2022

This should be rebased onto #6237. Or closed and let dependabot open another on the next version.

dependabot bot and others added 3 commits August 31, 2022 08:00
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.9.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](google/gson@gson-parent-2.8.6...gson-parent-2.9.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@GaryQian GaryQian force-pushed the dependabot/gradle/packages/espresso/android/com.google.code.gson-gson-2.9.1 branch from 3ce53ef to 3cffee9 Compare August 31, 2022 15:11
@GaryQian GaryQian added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 31, 2022
@auto-submit
Copy link

auto-submit bot commented Aug 31, 2022

  • The status or check suite publishable has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 31, 2022
@GaryQian GaryQian added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 31, 2022
@auto-submit auto-submit bot merged commit c6b2f8a into main Aug 31, 2022
@dependabot dependabot bot deleted the dependabot/gradle/packages/espresso/android/com.google.code.gson-gson-2.9.1 branch August 31, 2022 15:44
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 31, 2022
adam-harwood pushed a commit to adam-harwood/flutter_plugins that referenced this pull request Nov 3, 2022
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App dependencies Pull requests that update a dependency file java Pull requests that update Java code needs tests p: espresso platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants