Skip to content

MLE-27841 Bumping dependencies before 8.1 release#1917

Merged
rjrudin merged 1 commit intodevelopfrom
feature/27481-bumps
Mar 4, 2026
Merged

MLE-27841 Bumping dependencies before 8.1 release#1917
rjrudin merged 1 commit intodevelopfrom
feature/27481-bumps

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Mar 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 17:49
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

Copyright Validation Results
Total: 9 | Passed: 2 | Failed: 0 | Skipped: 7 | at: 2026-03-04 18:19:23 UTC | commit: 86f9223

⏭️ Skipped (Excluded) Files

  • build.gradle
  • examples/build.gradle
  • gradle.properties
  • marklogic-client-api-functionaltests/build.gradle
  • marklogic-client-api/build.gradle
  • ml-development-tools/build.gradle
  • test-app/build.gradle

✅ Valid Files

  • marklogic-client-api/src/main/java/com/marklogic/client/expression/VecExpr.java
  • marklogic-client-api/src/main/java/com/marklogic/client/type/PlanTransitiveClosureOptions.java

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps several Gradle-managed dependencies in preparation for the 8.1 release and centralizes Logback versioning via gradle.properties.

Changes:

  • Upgrade core dependencies across modules (Undertow, JAXB API, Kotlin stdlib, Jackson, Mockito, commons-lang3).
  • Replace hard-coded Logback versions with a shared logbackVersion property.
  • Move marklogic-junit5 from a snapshot to the 2.0.0 release.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test-app/build.gradle Bumps Undertow and switches Logback to ${logbackVersion}.
ml-development-tools/build.gradle Updates JAXB API and Kotlin stdlib versions.
marklogic-client-api/build.gradle Updates JAXB API, hashing lib, marklogic-junit5, Mockito; switches Logback to ${logbackVersion}.
marklogic-client-api-functionaltests/build.gradle Updates JAXB API and switches Logback to ${logbackVersion}.
gradle.properties Bumps Jackson/JUnit versions and introduces logbackVersion.
examples/build.gradle Updates JAXB API and commons-lang3 version; removes file header comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1 to 2
dependencies {
implementation project(':marklogic-client-api')
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

The examples build file no longer includes the standard copyright header that is present in other Gradle build files in this repo (e.g., root build.gradle, marklogic-client-api/build.gradle). If this wasn’t intentional, please restore the header for consistency and to avoid potential licensing/compliance problems.

Copilot uses AI. Check for mistakes.
exclude module: "commons-beanutils"
}
api 'org.apache.commons:commons-lang3:3.19.0'
api 'org.apache.commons:commons-lang3:3.20.0'
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

This module now declares commons-lang3 3.20.0, but the root build.gradle forces commons-lang3 to 3.19.0 via resolutionStrategy.force. As a result, this version bump likely won’t take effect; consider updating/removing the forced version so the intended dependency version is actually used.

Suggested change
api 'org.apache.commons:commons-lang3:3.20.0'
api 'org.apache.commons:commons-lang3:3.19.0'

Copilot uses AI. Check for mistakes.
implementation "com.marklogic:marklogic-client-api:${version}"

implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.2.20'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.2.21'
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

kotlin-stdlib is bumped to 2.2.21 while the applied Kotlin Gradle plugin is 2.1.0. Mixing Kotlin plugin and stdlib major/minor versions can cause ABI/runtime issues; consider aligning the stdlib version with the plugin version (or removing the explicit stdlib dependency and letting the plugin manage it).

Suggested change
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.2.21'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:2.1.0'

Copilot uses AI. Check for mistakes.
testImplementation "org.mockito:mockito-core:5.21.0"
testImplementation "org.mockito:mockito-inline:5.2.0"
testImplementation "org.mockito:mockito-core:5.22.0"
// testImplementation "org.mockito:mockito-inline:5.2.0"
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

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

mockito-inline was commented out but left in the dependencies block (and it’s pinned to 5.2.0 while mockito-core is 5.22.0). This is easy to miss and can cause confusion or accidental re-enablement with incompatible versions; either remove it entirely or re-enable it with a matching version and an explanatory comment for why it’s needed.

Suggested change
// testImplementation "org.mockito:mockito-inline:5.2.0"

Copilot uses AI. Check for mistakes.
BillFarber
BillFarber previously approved these changes Mar 4, 2026
Added a few "since" annotations as well.
@rjrudin rjrudin merged commit f7bc1a4 into develop Mar 4, 2026
5 checks passed
@rjrudin rjrudin deleted the feature/27481-bumps branch March 4, 2026 18:32
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.

3 participants