Repository navigation
fix(bbb-web): Upgrade Dependencies - #24976
Conversation
WalkthroughThis pull request updates dependencies across multiple build configurations and application files. Apache Tika is upgraded from version 3.2.3 to 3.3.0 in both Scala and SBT build files. The Gradle build configuration introduces new version properties for Tomcat and Netty, removes the legacy Commons Lang 2.x dependency, and updates the Commons Lang 3.x version from 3.17.0 to 3.20.0. Spring Framework is bumped from 3.5.11 to 3.5.13, and the Lettuce core dependency is changed to an unpinned version. Additionally, import statements in two controller files are migrated from Apache Commons Lang v2 packages to v3 packages. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
bbb-common-web/build.sbt (1)
115-116: Use the centralized version constant instead of hardcoding.The Tika versions are hardcoded to
"3.3.0"whileDependencies.Versions.tika(defined inDependencies.scalaline 30) already holds the same value. This duplication violates DRY and risks version drift if updated in only one location.Additionally,
tika-coreis declared twice: once viaDependencies.runtime(which includesCompile.tikafromDependencies.scalaline 66) and again here on line 115. Thetika-parsers-standard-packageis only declared here with a hardcoded version.Update both lines to use
Dependencies.Versions.tika:"org.apache.tika" % "tika-core" % Dependencies.Versions.tika, "org.apache.tika" % "tika-parsers-standard-package" % Dependencies.Versions.tika,Consider whether the duplicate
tika-coredeclaration is intentional, and remove it if not needed.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@bbb-common-web/build.sbt` around lines 115 - 116, Replace the hardcoded "3.3.0" Tika versions in the build.sbt dependency entries with the centralized constant Dependencies.Versions.tika (i.e., change both "org.apache.tika" % "tika-core" and "org.apache.tika" % "tika-parsers-standard-package" to use Dependencies.Versions.tika), and verify whether the explicit "tika-core" here is a duplicate of the one already provided by Dependencies.runtime / Compile.tika; if it is not intentionally duplicated, remove the redundant tika-core entry to avoid double-declaration.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@bigbluebutton-web/gradle.properties`:
- Line 4: The springVersion property currently set to 3.5.13 overrides the
Grails 7.0.8 BOM-pinned Spring Boot 3.5.11; either change the springVersion
property back to 3.5.11 (springVersion) to align with the BOM, or keep 3.5.13
but add a short justification comment next to the springVersion declaration
explaining the required override and the reason (e.g., specific CVE or critical
bugfix) so the override is documented and reviewed.
---
Nitpick comments:
In `@bbb-common-web/build.sbt`:
- Around line 115-116: Replace the hardcoded "3.3.0" Tika versions in the
build.sbt dependency entries with the centralized constant
Dependencies.Versions.tika (i.e., change both "org.apache.tika" % "tika-core"
and "org.apache.tika" % "tika-parsers-standard-package" to use
Dependencies.Versions.tika), and verify whether the explicit "tika-core" here is
a duplicate of the one already provided by Dependencies.runtime / Compile.tika;
if it is not intentionally duplicated, remove the redundant tika-core entry to
avoid double-declaration.
🪄 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: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 28b26f97-7cb2-4fab-b51d-fc2fe786e971
📒 Files selected for processing (6)
bbb-common-web/build.sbtbbb-common-web/project/Dependencies.scalabigbluebutton-web/build.gradlebigbluebutton-web/gradle.propertiesbigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovybigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/RecordingController.groovy
|
Note:
|



What does this PR do?
Upgrades the BBB Web Apache Tika, Apache Commons Lang, Tomcat, Netty, Lettuce, and Spring dependencies.