ppkarwasz commented on PR #680:
URL: https://github.com/apache/commons-text/pull/680#issuecomment-3098089857

   Hi @aozmen121,
   
   > just to confirm if we update commons:commons-lang3 from 3.17.0 to 3.18.0 
locally via gradle dependency, could that cause any incompatibility issues from 
`commons-text` lib version 1.13.1 that depends upon commons:commons-lang3 
version 3.17.0?
   
   Upgrading the dependency in your project is the **best** approach, in my 
opinion. In the Java ecosystem, unlike others with strict version constraints, 
the dependency version specified in a library's POM is more of a **suggestion** 
than an enforced limit. Your build tool will resolve conflicts based on 
dependency resolution rules, so overriding a transitive dependency is both 
**expected** and **supported**.
   
   Regarding potential incompatibilities:
   
   * **Apache Commons follows semantic versioning**, meaning 
`commons-lang3:3.18.0` is intended to be fully backward compatible with 
`3.17.0`, which was used when `commons-text:1.13.1` was released.
   * This very PR demonstrates that upgrading to `3.18.0` causes **no test 
failures**, which is a strong signal of compatibility.
   * Additionally, Dependabot assigns a **compatibility score** to upgrades:
   
     [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.commons\:commons-lang3\&package-manager=maven\&previous-version=3.17.0\&new-version=3.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
     This score reflects how often the upgrade succeeds across many GitHub 
projects. It's worth noting that failures often stem from broken or 
misconfigured builds rather than actual incompatibilities in the dependency 
itself.
   
   Lastly, while CVEs in dependencies are important, they’re not in themselves 
a sufficient reason to trigger a new Commons Text release—especially when the 
issue can be addressed by consumers upgrading the affected dependency directly. 
The upcoming `commons-text 1.14.0` release is already planned, but it is 
**not** driven by this particular CVE.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to