Skip to content

Bump dependencies to current stable versions - #1787

Merged
tfenne merged 2 commits into
masterfrom
dependency-bumps
Jul 14, 2026
Merged

Bump dependencies to current stable versions#1787
tfenne merged 2 commits into
masterfrom
dependency-bumps

Conversation

@tfenne

@tfenne tfenne commented Jul 14, 2026

Copy link
Copy Markdown
Member

Routine dependency refresh — bumps every direct library dependency that had a newer patch/minor release to its current stable version. All bumps stay within the same major version, so no source changes were needed.

Bumps

Runtime / implementation:

Dependency From To
org.xerial.snappy:snappy-java 1.1.10.5 1.1.10.7
org.apache.commons:commons-compress 1.26.0 1.28.0
org.tukaani:xz 1.9 1.10
org.json:json 20231013 20250517
commons-logging:commons-logging (transitive-pin constraint) 1.3.0 1.3.6

Test-only:

Dependency From To
org.testng:testng 7.8.0 7.11.0
com.google.guava:guava 33.0.0-jre 33.4.8-jre
org.apache.commons:commons-lang3 3.14.0 3.20.0

Left unchanged (deliberately)

  • commons-jexl 2.1.1 — the only upgrade path is jexl 3.x, a major API rewrite (different package + JexlEngine/expression API, and the source of the legacy commons-logging pull). That's a migration, not a bump; tracking it separately.
  • nashorn-core 15.7, jlibdeflate 0.1.0, jimfs 1.3.0 — already at the latest published version.

Verification

  • Full test suite: 22,092 tests, 0 failures.
  • -Xlint:deprecation,removal compile: the bumps introduce no new deprecation warnings and no removal-track API usages.

Gradle plugin upgrades (shadow, spotbugs, spotless) and a possible Gradle wrapper bump are intentionally out of scope here — they change the build itself and will get their own PR.

Summary by CodeRabbit

  • Chores
    • Updated multiple application and test libraries to newer versions.
    • Improved compatibility/version ranges for compression, JSON processing, logging, and utility components.
    • No user-facing features or behavior changes were introduced.

Routine dependency refresh. All bumps are patch/minor within the same major
version, so no source changes are required; the full test suite (22,092 tests)
passes and a -Xlint:deprecation,removal compile surfaces no new deprecations
and no removal-track usages introduced by the bumps.

Runtime/implementation:
  snappy-java       1.1.10.5 -> 1.1.10.7
  commons-compress  1.26.0   -> 1.28.0
  xz                1.9      -> 1.10
  org.json          20231013 -> 20250517
  commons-logging   1.3.0    -> 1.3.6   (transitive-pin constraint)

Test-only:
  testng            7.8.0    -> 7.11.0
  guava             33.0.0-jre -> 33.4.8-jre
  commons-lang3     3.14.0   -> 3.20.0

Left unchanged deliberately:
  commons-jexl 2.1.1 - only upgrade path is jexl 3.x, a major API rewrite
    (different package/engine API, and the source of the old commons-logging
    pull). That is a migration, not a bump; tracked separately.
  nashorn-core 15.7, jlibdeflate 0.1.0, jimfs 1.3.0 - already latest.
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2c2e1096-df14-44d7-b124-9756ad91715e

📥 Commits

Reviewing files that changed from the base of the PR and between 1e2919b and 7ec63c3.

📒 Files selected for processing (1)
  • build.gradle
🚧 Files skipped from review as they are similar to previous changes (1)
  • build.gradle

📝 Walkthrough

Walkthrough

Updated runtime, transitive, and test dependency versions in build.gradle.

Changes

Gradle Dependency Updates

Layer / File(s) Summary
Gradle dependency versions
build.gradle
Bumps runtime libraries, the transitive commons-logging constraint, and selected test libraries while leaving jimfs unchanged.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: upgrading project dependencies to current stable versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependency-bumps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@build.gradle`:
- Line 47: Update the dependency versions in build.gradle for snappy-java, xz,
org.json, commons-logging, testng, and guava to their newer stable releases,
while leaving commons-compress and commons-lang3 unchanged. Alternatively,
narrow the PR to explicitly pin only the intended versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 33c93a40-93b1-4a17-9be1-9347a3c03b77

📥 Commits

Reviewing files that changed from the base of the PR and between 29d5112 and 1e2919b.

📒 Files selected for processing (1)
  • build.gradle

Comment thread build.gradle Outdated
An earlier version query (search.maven.org solr) returned stale "latest"
values; the authoritative maven-metadata.xml shows newer stable releases for
six of the bumped artifacts. Correcting to the actual latest:

  snappy-java       1.1.10.7 -> 1.1.10.8
  xz                1.10     -> 1.12
  org.json          20250517 -> 20260522
  commons-logging   1.3.6    -> 1.4.0
  testng            7.11.0   -> 7.12.0
  guava             33.4.8-jre -> 33.6.0-jre

commons-compress (1.28.0) and commons-lang3 (3.20.0) were already current.
Full suite (22,092 tests) still passes; no new deprecation/removal warnings.
@tfenne

tfenne commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

Good catch — you were right. My original version query used the search.maven.org solr index, which returned stale latest values. Confirmed against the authoritative maven-metadata.xml and bumped the six that were behind: snappy-java 1.1.10.7→1.1.10.8, xz 1.10→1.12, org.json 20250517→20260522, commons-logging 1.3.6→1.4.0, testng 7.11.0→7.12.0, guava 33.4.8-jre→33.6.0-jre. commons-compress (1.28.0) and commons-lang3 (3.20.0) were already current, as you noted. Full suite (22,092 tests) still green. Pushed in 7ec63c3.

@tfenne
tfenne merged commit 22151e3 into master Jul 14, 2026
5 checks passed
@tfenne
tfenne deleted the dependency-bumps branch July 14, 2026 13:32
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.

1 participant