Skip to content

fix(bbb-web): Upgrade Dependencies - #24976

Merged
antobinary merged 3 commits into
bigbluebutton:v3.0.x-developfrom
paultrudel:dep-upgrade-30
Apr 27, 2026
Merged

antobinary merged 3 commits into
bigbluebutton:v3.0.x-developfrom
paultrudel:dep-upgrade-30

Conversation

@paultrudel

Copy link
Copy Markdown
Collaborator

What does this PR do?

Upgrades the BBB Web Apache Tika, Apache Commons Lang, Tomcat, Netty, Lettuce, and Spring dependencies.

@coderabbitai

coderabbitai Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

This 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)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: upgrading dependencies in the bbb-web component.
Description check ✅ Passed The description clearly lists the specific dependencies being upgraded (Apache Tika, Commons Lang, Tomcat, Netty, Lettuce, and Spring), matching the changeset content.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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" while Dependencies.Versions.tika (defined in Dependencies.scala line 30) already holds the same value. This duplication violates DRY and risks version drift if updated in only one location.

Additionally, tika-core is declared twice: once via Dependencies.runtime (which includes Compile.tika from Dependencies.scala line 66) and again here on line 115. The tika-parsers-standard-package is 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-core declaration 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

📥 Commits

Reviewing files that changed from the base of the PR and between 01af437 and 3457afc.

📒 Files selected for processing (6)
  • bbb-common-web/build.sbt
  • bbb-common-web/project/Dependencies.scala
  • bigbluebutton-web/build.gradle
  • bigbluebutton-web/gradle.properties
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/RecordingController.groovy

Comment thread bigbluebutton-web/gradle.properties Resolved
@antobinary antobinary added this to the Release 3.0 milestone Apr 27, 2026
@antobinary

Copy link
Copy Markdown
Member

Note:

@antobinary
antobinary merged commit 550290b into bigbluebutton:v3.0.x-develop Apr 27, 2026
33 checks passed
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.

2 participants