Skip to content

INTER-2061: Bump dependencies - #36

Merged
kevinmia merged 3 commits into
mainfrom
chore/INTER-2061-dependencies
Aug 3, 2026
Merged

INTER-2061: Bump dependencies#36
kevinmia merged 3 commits into
mainfrom
chore/INTER-2061-dependencies

Conversation

@kevinmia

@kevinmia kevinmia commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Part of recurrent ecosystem care for the Java SDK.

This covers the work required for the Dependencies section of the Notion page. It bumps several libraries to their latest compatible versions and removes one unused dependency.

This PR also handles the work for INTER-2275. The work done here removed the swagger-annotations dependency after confirming it has zero usages anywhere in the codebase (generated or hand-written). It was declared as implementation(...) rather than api(...), so removing it has no consumer-visible impact.

Will handle bumping the openapi-generator in a separate PR.

Changes:

  • Removed swagger-annotations as it wasn't being used anywhere
  • Updated Jersey, Jackson, JUnit, and jakarta-annotation-api to their latest versions. These are all safe, same-major-version updates with no expected behavior change
  • As part of the Jackson update, fixed one deprecated API call so the build doesn't fail on the new warning. Double-checked that the replacement behaves exactly the same as before
  • Updated Mockito from version 3 to 5. This is a bigger jump, but it only affects tests and I confirmed tests still pass
  • Updated two build-tooling dependencies: google-java-format and @changesets/cli
  • Added a changeset for the consumer-facing updates, so it ships as a patch release

Testing:

  • ./gradlew build passes on all four supported JDKs (11 default, 17, 21, 25 via -PjavaVersion)
    • Confirmed no warnings from Mockito's inline mock maker for 21 and 25
  • ./gradlew :sdk:checkFormat :examples:checkFormat runs clean
  • runFunctionalTests passes

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

java-sdk@8.4.1

Patch Changes

  • dependencies: Bump Jersey, Jackson, and jakarta-annotation-api to their latest compatible versions (40f7ee3)

Comment thread gradle/libs.versions.toml
Comment thread sdk/src/main/java/com/fingerprint/v4/sdk/JSON.java

@mcnulty-fp mcnulty-fp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, great work!

@kevinmia
kevinmia merged commit 538d75c into main Aug 3, 2026
19 checks passed
@kevinmia
kevinmia deleted the chore/INTER-2061-dependencies branch August 3, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants