Skip to content

chore(deps): bump the gradle-minor-and-patch group with 2 updates - #53

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/gradle-minor-and-patch-bfe6605570
Open

chore(deps): bump the gradle-minor-and-patch group with 2 updates#53
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/gradle-minor-and-patch-bfe6605570

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 23, 2026

Copy link
Copy Markdown
Contributor

Bumps the gradle-minor-and-patch group with 2 updates: com.google.code.gson:gson and org.bouncycastle:bcprov-jdk18on.

Updates com.google.code.gson:gson from 2.8.9 to 2.14.0

Release notes

Sourced from com.google.code.gson:gson's releases.

Gson 2.14.0

What's Changed

  • Add type adapters for java.time classes by @​eamonnmcmanus in google/gson#2948

    When the java.time API is available, Gson automatically can read and write instances of classes like Instant and Duration. The format it uses essentially freezes the JSON representation that ReflectiveTypeAdapterFactory established by default, based on the private fields of java.time classes. That's not a great representation, but it is understandable. Changing it to anything else would break compatibility with systems that are expecting the current format.

    With this change, Gson no longer tries to access private fields of these classes using reflection. So it is no longer necessary to run with --add-opens for these classes on recent JDKs.

  • Remove com.google.gson.graph by @​eamonnmcmanus in google/gson#2990.

    This package was not part of any released artifact and depended on Gson internals in potentially problematic ways.

  • Validate that strings being parsed as integers consist of ASCII characters by @​eamonnmcmanus in google/gson#2995

    Previously, strings could contain non-ASCII Unicode digits and still be parsed as integers. That's inconsistent with how JSON numbers are treated.

  • Fix duplicate key detection when first value is null by @​andrewstellman in google/gson#3006

    This could potentially break code that was relying on the incorrect behaviour. For example, this JSON string was previously accepted but will no longer be: {"foo": null, "foo": bar}.

  • Remove Serializable from internal Type implementation classes. by @​eamonnmcmanus in google/gson#3011

    The nested classes ParameterizedTypeImpl, GenericArrayTypeImpl, and WildcardTypeImpl in GsonTypes are implementations of the corresponding types (without Impl) in java.lang.reflect. For some reason, they were serializable, even though the java.lang.reflect implementations are not. Having unnecessarily serializable classes could conceivably have been a security problem if they were part of a larger exploit using serialization. (We do not consider this a likely scenario and do not suggest that you need to update Gson just to get this change.)

  • Add LegacyProtoTypeAdapterFactory. by @​eamonnmcmanus in google/gson#3014

    This is not part of any released artifact, but may be of use when trying to fix code that is currently accessing the internals of protobuf classes via reflection.

  • Make AppendableWriter do flush and close if delegation object supports by @​MukjepScarlet in google/gson#2925

Other less visible changes

New Contributors

Full Changelog: google/gson@gson-parent-2.13.2...gson-parent-2.14.0

Gson 2.13.2

The main changes in this release are just newer dependencies.

... (truncated)

Changelog

Sourced from com.google.code.gson:gson's changelog.

Change Log

The change log for versions newer than 2.10 is available only on the GitHub Releases page.

Version 2.10

Version 2.9.1

Also many small improvements to javadoc.

Version 2.9.0

The minimum supported Java version changes from 6 to 7.

... (truncated)

Commits
  • 3ff35d6 [maven-release-plugin] prepare release gson-parent-2.14.0
  • a3024fd Bump the maven group with 13 updates (#3002)
  • 5689ffe Bump the github-actions group across 1 directory with 3 updates (#3018)
  • 48db33c Add LegacyProtoTypeAdapterFactory. (#3014)
  • 53d703e Update outdated comment regarding serializable types (#3012)
  • 0189b72 Remove Serializable from internal Type implementation classes. (#3011)
  • f4d371d Fix duplicate key detection when first value is null (#3006)
  • 27d9ba1 Fix typo in README (JPMS dependencies section) (#3005)
  • 1fa9b7a Validate that strings being parsed as integers consist of ASCII characters (#...
  • b7d5954 Add iterator fail-fast tests for LinkedTreeMap.clear() (#2992)
  • Additional commits viewable in compare view

Updates org.bouncycastle:bcprov-jdk18on from 1.84 to 1.85

Changelog

Sourced from org.bouncycastle:bcprov-jdk18on's changelog.

2.2.1 Version Release: 1.85, 1.85.1 Date:      2026, July 12th

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the gradle-minor-and-patch group with 2 updates: [com.google.code.gson:gson](https://github.com/google/gson) and [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java).


Updates `com.google.code.gson:gson` from 2.8.9 to 2.14.0
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](google/gson@gson-parent-2.8.9...gson-parent-2.14.0)

Updates `org.bouncycastle:bcprov-jdk18on` from 1.84 to 1.85
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-minor-and-patch
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.85'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 23, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 23, 2026 06:24
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jul 23, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmaven/​com.google.code.gson/​gson@​2.8.9 ⏵ 2.14.03610090100100
Updatedmaven/​org.bouncycastle/​bcprov-jdk18on@​1.84 ⏵ 1.85361009010080

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: maven org.bouncycastle:bcprov-jdk18on is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: lib/gradle.lockfilemaven/org.bouncycastle/bcprov-jdk18on@1.85

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore maven/org.bouncycastle/bcprov-jdk18on@1.85. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@ev-vaultkeeper ev-vaultkeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependabot review — safe to merge ✅

Bumps

  • com.google.code.gson:gson 2.8.9 → 2.14.0 (semver-minor, but spans several releases)
  • org.bouncycastle:bcprov-jdk18on 1.84 → 1.85 (semver-minor)
  • Lockfile also picks up transitive com.google.errorprone:error_prone_annotations 2.47.0 → 2.48.0 (compile-time-only annotations pulled in by guava/gson; no runtime impact) and a new empty signatures configuration from the signing plugin.

How these libraries are used here

  • gson — only in HttpHandler: default new Gson().toJson(...) for request bodies and new Gson().fromJson(reader, Class/Type) for responses, plus TypeToken.getParameterized(FunctionRun.class, responseType). Models (de)serialized are plain POJOs/Maps; Instant is converted to a Long before serialization, so no java.time fields hit gson directly.
  • BouncyCastle — in EncryptionService/EncryptionServiceCommon: BouncyCastleProvider for EC key generation/agreement (secp256k1, secp256r1), plus low-level AESEngine/GCMBlockCipher/AEADParameters/KeyParameter, SHA256Digest, BCECPublicKey, and ECNamedCurveTable.

Changelog considerations checked

  • gson keeps its default parsing lenient; the new Strictness API is opt-in, so existing string→number coercion (e.g. "expiry":"1234567890"long, "cvv":"123"int) still works.
  • gson 2.11's "TypeToken can no longer capture type variables" only affects anonymous TypeToken subclasses that capture a type variable; the code uses the recommended non-capturing TypeToken.getParameterized(...), so it's unaffected.
  • No use of records / java.time adapters / BigDecimal-BigInteger limits, so those 2.10–2.14 changes are irrelevant here. com.google.gson.internal.LinkedTreeMap (used in a test cast) still exists in 2.14.0.
  • bcprov 1.85 adds PQC/OpenPGP/SM4/SM2 features and an ASN.1 property; it deprecates Dilithium/SphincsPlus/Kyber-wrapper recognition, none of which are used. The AES-GCM + ECDH APIs relied on here are unchanged.

Verification

  • ./gradlew build compiles cleanly against the new versions and all 106 unit tests pass.
  • The 15 failing tests are entirely in EndToEndTests — their static initializer builds a live Evervault client requiring TEST_EV_APP_ID/TEST_EV_API_KEY and network access. They fail identically on the pre-bump (1.84 / 2.8.9) versions, confirming the failures are environmental/pre-existing and not caused by this bump.

No source changes were required. Approving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Development

Successfully merging this pull request may close these issues.

0 participants