GEODE-10549: Upgrade commons-io from 2.15.1 to 2.18.0 #7979
+1
−1
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.
Summary
This PR upgrades Apache Commons IO from version 2.15.1 to 2.18.0 in the Geode 1.15 codebase. This upgrade addresses potential security vulnerabilities and brings performance improvements from the latest commons-io release.
Changes Made
Version Update
build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovycommons-io.versionfrom"2.15.1"to"2.18.0"(line 36)What is Commons IO?
Apache Commons IO is a library of utilities to assist with developing IO functionality. It provides:
Geode uses Commons IO extensively for:
Testing Performed
All Tests Passed
./gradlew testwith Java 8Test Coverage
All unit tests across the entire codebase passed without any failures:
Dependency Analysis
Before (Commons IO 2.15.1)
After (Commons IO 2.18.0)
Version History
Impact Analysis
Breaking Changes
Security Improvements
Performance Benefits
Compatibility
Geode Version
Migration Reference
This upgrade follows standard dependency update practices:
Checklist
Recommendations for Reviewers
Focus Areas:
Testing Strategy:
./gradlew test./gradlew clean build -x testFuture Work:
Related Issues
support/1.15support/1.15Additional Notes
This is a straightforward dependency version upgrade for the 1.15 support branch. The main development branch already has a newer version of Commons IO. This upgrade focuses on security and stability improvements for the 1.15 release line while maintaining full backward compatibility.
Commons IO is a foundational library used throughout the Geode codebase, making this a low-risk but important upgrade for security and performance reasons.
For all changes, please confirm:
develop)?gradlew buildrun cleanly?