Skip to content

Upgrade dependencies to latest stable versions - #1655

Merged
ricardozanini merged 1 commit into
open-workflow-specification:mainfrom
ricardozanini:upgrade-dependencies-2026-09
Sep 2, 2026
Merged

Upgrade dependencies to latest stable versions#1655
ricardozanini merged 1 commit into
open-workflow-specification:mainfrom
ricardozanini:upgrade-dependencies-2026-09

Conversation

@ricardozanini

@ricardozanini ricardozanini commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR upgrades all dependencies to their latest stable versions (excluding alpha/beta/milestone releases).

Changes

Parent POM (pom.xml)

Dependency Old Version New Version
com.diffplug.spotless 3.10.0 3.10.1
com.fasterxml.jackson 2.22.1 2.22.2
com.google.protobuf:protobuf-java-util 4.36.0 4.36.1
io.github.classgraph:classgraph 4.8.193 4.8.194
io.grpc:grpc-* 1.83.1 1.84.0
com.networknt:json-schema-validator 2.0.0 2.0.7

Impl POM (impl/pom.xml)

Dependency Old Version New Version Notes
net.thisptr:jackson-jq 1.6.2 1.6.4 ✅ Jandex 3.x support!
org.a2aproject.sdk:a2a-java-sdk-client 1.2.0.Final 1.3.0.Final

Dependabot Configuration (.github/dependabot.yml)

Improvements:

  • Grouped updates: Patch updates in one PR, minor updates in another
  • PR limits: Max 10 open PRs per branch
  • Ignore major bumps: Requires manual review for breaking changes
  • Better batching: Related updates grouped for easier review

This addresses the issue where Dependabot was creating individual PRs for each dependency (e.g., PR #1631 for Jackson, PR #1641 for networknt), making it difficult to review and merge updates.

Testing

✅ Full build completed successfully:

mvn clean install -DskipTests

All modules compiled without errors.

🎉 Notable Updates

⭐ jackson-jq 1.6.4

  • Includes Jandex 3.x support! (via eiiches/jackson-jq#549)
  • Eliminates Jandex reindexing warnings in Quarkus 3.x+ builds
  • Bug fixes and improvements from upstream

Before (1.6.2):

[WARNING] [io.quarkus.deployment.index] Reindexing /path/to/jackson-jq-1.6.2.jar, 
at least Jandex 3.0 must be used to index an application dependency (index version is 10)

After (1.6.4): ✅ No warnings!

Jackson 2.22.2

  • Latest patch release with bug fixes
  • Security updates included

gRPC 1.84.0

  • Minor version bump with improvements and bug fixes

⚠️ com.networknt:json-schema-validator

Why 2.0.7 and not 3.0.7?

Version 3.x introduces a breaking change - it requires Jackson 3.x (tools.jackson.* package namespace instead of com.fasterxml.jackson.*).

Upgrading to 3.0.7 would require:

  • Migrating the entire codebase from Jackson 2.x → Jackson 3.x
  • Updating all Jackson imports project-wide
  • Testing all Jackson-dependent code
  • This is a major migration effort beyond the scope of a dependency update

What we did:

  • Upgraded to 2.0.7 (latest 2.x version)
  • Compatible with Jackson 2.22.1+ (we use 2.22.2)
  • No breaking changes
  • Includes security fixes and bug fixes from the 2.x series

Future work:

  • Jackson 3.x migration should be planned separately as a major version bump

Excluded from this PR

The following updates were excluded:

  • com.networknt 3.x versions (requires Jackson 3.x migration - breaking change)
  • Various alpha/beta/milestone/RC releases
  • Major version bumps (would require breaking changes evaluation)

Supersedes

This PR consolidates and updates:

Copilot AI lite review requested due to automatic review settings September 2, 2026 13:55
@ricardozanini
ricardozanini force-pushed the upgrade-dependencies-2026-09 branch from 7ad1b1b to a9835cb Compare September 2, 2026 13:57

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

🔵 Needs a closer look

Dependency upgrades across core libraries (e.g., Jackson/gRPC/Protobuf) merit full CI + test execution to validate runtime compatibility beyond a compile-only build.

Pull request overview

This pull request updates Maven dependency version properties to newer stable releases and adjusts Dependabot configuration to group updates (patch vs minor) across multiple release branches.

Changes:

  • Bump parent POM-managed versions (Spotless, Jackson, Protobuf Java Util, ClassGraph, gRPC).
  • Bump impl module-managed versions (jackson-jq, a2a-java-sdk-client).
  • Configure Dependabot grouping for patch/minor updates and limit open PRs per branch.
File summaries
File Description
pom.xml Updates centrally-managed dependency/plugin version properties (Jackson, gRPC, Protobuf util, etc.).
impl/pom.xml Updates impl module version properties for jackson-jq and a2a client SDK.
.github/dependabot.yml Adds Dependabot grouping for patch/minor updates on main/4.x/5.x and caps open PRs.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/dependabot.yml
Copilot AI review requested due to automatic review settings September 2, 2026 14:01
@ricardozanini
ricardozanini force-pushed the upgrade-dependencies-2026-09 branch from a9835cb to 0bb9538 Compare September 2, 2026 14:01
@ricardozanini

Copy link
Copy Markdown
Collaborator Author

Waiting for jackson-jq release so we can upgrade it too:

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread .github/dependabot.yml
Comment thread pom.xml
Comment thread .github/dependabot.yml
Parent POM updates:
- com.diffplug.spotless: 3.10.0 -> 3.10.1
- com.fasterxml.jackson: 2.22.1 -> 2.22.2
- com.google.protobuf.protobuf-java-util: 4.36.0 -> 4.36.1
- io.github.classgraph: 4.8.193 -> 4.8.194
- io.grpc.java: 1.83.1 -> 1.84.0
- com.networknt:json-schema-validator: 2.0.0 -> 2.0.7

Impl POM updates:
- net.thisptr:jackson-jq: 1.6.2 -> 1.6.4 (includes Jandex 3.x support)
- org.a2aproject.sdk:a2a-java-sdk-client: 1.2.0.Final -> 1.3.0.Final

Dependabot configuration improvements:
- Add grouping for patch and minor updates to reduce PR noise
- Set open-pull-requests-limit to 10 per branch
- Ignore major version updates (require manual review)
- Groups related updates into single PRs for easier review

Note on com.networknt upgrade:
Version 3.x was skipped because it requires Jackson 3.x (tools.jackson.*)
which would be a breaking change. Upgraded to 2.0.7 which uses Jackson
2.22.1 and is compatible with our current Jackson 2.22.2.

Note on jackson-jq 1.6.4:
This version includes Jandex 3.x support (via eiiches/jackson-jq#549),
which eliminates Jandex reindexing warnings in Quarkus 3.x+ builds.

Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
Copilot AI review requested due to automatic review settings September 2, 2026 14:25
@ricardozanini
ricardozanini force-pushed the upgrade-dependencies-2026-09 branch from 0bb9538 to 3701f68 Compare September 2, 2026 14:25

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread impl/pom.xml
Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
@ricardozanini
ricardozanini merged commit 9690ad9 into open-workflow-specification:main Sep 2, 2026
2 of 3 checks passed
@ricardozanini
ricardozanini deleted the upgrade-dependencies-2026-09 branch September 2, 2026 15:04
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.

5 participants