[improve][build] Upgrade Apache Commons libraries - #26348
Merged
Conversation
Upgrades the Apache Commons dependencies that have newer releases available: - commons-codec 1.22.0 -> 1.22.1 - commons-collections4 4.5.0 -> 4.6.0 - commons-logging 1.3.6 -> 1.4.0 The remaining Commons libraries in the version catalog are already on their latest releases and are left unchanged: commons-lang3 3.20.0, commons-io 2.22.0, commons-compress 1.28.0, commons-cli 1.11.0, commons-text 1.15.0, commons-math3 3.6.1, commons-beanutils 1.11.0 and commons-configuration2 2.15.1. All three releases keep a Java 8 baseline. commons-collections4 4.6.0 is a feature and maintenance release with no API removals: it newly deprecates the Bag family in favour of MultiSet, and removes the deprecation from Factory, Predicate, Transformer and Closure. commons-logging 1.4.0 is additive (adds a Jakarta servlet ServletContextCleaner). Assisted-by: Claude Code (Opus 5)
nodece
approved these changes
Aug 18, 2026
lhotari
added a commit
that referenced
this pull request
Aug 31, 2026
(cherry picked from commit bc660a8)
lhotari
added a commit
that referenced
this pull request
Aug 31, 2026
(cherry picked from commit bc660a8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Three Apache Commons libraries in the version catalog have newer releases available. Keeping them
current is routine maintenance; grouping them into one PR keeps the review surface small since they
are all low-risk, same-major-line updates.
Modifications
gradle/libs.versions.toml:Plus the corresponding jar names in the server and shell distribution
LICENSE.bin.txtfiles.The remaining Apache Commons libraries in the catalog are already on their latest releases and are
left untouched:
commons-lang33.20.0,commons-io2.22.0,commons-compress1.28.0,commons-cli1.11.0,commons-text1.15.0,commons-math33.6.1,commons-beanutils1.11.0 andcommons-configuration22.15.1.Release notes reviewed for breaking changes:
It contains no API removals. It newly deprecates the
Bagfamily in favour ofMultiSet, andremoves the deprecation from
Factory,Predicate,TransformerandClosure(those are nowscheduled for deprecation in 5.0 instead). Deprecations only — nothing Pulsar uses is removed.
org.apache.commons.logging.jakarta.ServletContextCleaner.Class file versions were checked directly in the published jars: all three are Java 8 bytecode, so
there is no change to the Java baseline.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Verified locally with
./gradlew sanityCheckand./gradlew checkBinaryLicense.Does this pull request potentially affect one of the following parts: