Skip to content

Update Spring Boot 4.1 dependency versions#15727

Merged
jamesfredley merged 1 commit into
8.0.xfrom
deps/spring-boot-4.1.0
Jun 11, 2026
Merged

Update Spring Boot 4.1 dependency versions#15727
jamesfredley merged 1 commit into
8.0.xfrom
deps/spring-boot-4.1.0

Conversation

@jamesfredley

Copy link
Copy Markdown
Contributor

Summary

  • Update Spring Boot from 4.1.0-RC1 to 4.1.0
  • Align Byte Buddy and MongoDB driver versions with the Spring Boot 4.1.0 managed dependency set
  • Exclude the Gradle Tooling API SLF4J edge so grails-shell-cli resolves the Boot-managed SLF4J API

Verification

  • ./gradlew.bat validateDependencyVersions --continue --stacktrace
  • grails-gradle: ./gradlew.bat validateDependencyVersions --continue --stacktrace
  • ./gradlew.bat :grails-bom:build :grails-gradle:grails-gradle-bom:build :grails-shell-cli:build :grails-data-hibernate5-dbmigration:build :grails-data-hibernate7-dbmigration:build -PskipTests
  • ./gradlew.bat :grails-shell-cli:dependencyInsight --dependency org.slf4j:slf4j-api --configuration runtimeClasspath

Update the Grails BOM inputs from Spring Boot 4.1.0-RC1 to the 4.1.0 GA release, including related Byte Buddy and MongoDB driver versions resolved by the dependency validator. Exclude the Gradle Tooling API SLF4J edge from grails-shell-cli so the Boot-managed SLF4J API remains the selected runtime version.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Assisted-by: Hephaestus:openai/gpt-5.5 oracle
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Copilot AI review requested due to automatic review settings June 10, 2026 21:39

Copilot AI 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.

Pull request overview

Updates the Grails build/dependency alignment to Spring Boot 4.1.0 (from 4.1.0-RC1) and adjusts a few related dependency versions/edges so dependency resolution remains consistent with the Spring Boot 4.1.0 managed set, particularly for the CLI module.

Changes:

  • Bump spring-boot.version to 4.1.0 and align byte-buddy.version and mongodb.version accordingly in dependencies.gradle.
  • Exclude the org.slf4j:slf4j-api transitive edge from gradle-tooling-api in grails-shell-cli to avoid competing SLF4J versions and rely on the BOM-managed SLF4J API.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
grails-shell-cli/build.gradle Excludes SLF4J API transitively pulled by Gradle Tooling API so the module uses the BOM-managed SLF4J API consistently.
dependencies.gradle Updates Spring Boot to 4.1.0 and aligns Byte Buddy and MongoDB driver versions with that managed dependency set.

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

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.3729%. Comparing base (41f9fb9) to head (a2df81e).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #15727        +/-   ##
==================================================
+ Coverage     48.3483%   48.3729%   +0.0246%     
- Complexity      15104      15111         +7     
==================================================
  Files            1870       1870                
  Lines           85459      85459                
  Branches        14901      14901                
==================================================
+ Hits            41318      41339        +21     
+ Misses          37805      37784        -21     
  Partials         6336       6336                

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jamesfredley jamesfredley self-assigned this Jun 10, 2026
@jamesfredley jamesfredley moved this to In Progress in Apache Grails Jun 10, 2026
@jamesfredley jamesfredley added this to the grails:8.0.0-M2 milestone Jun 10, 2026
@testlens-app

testlens-app Bot commented Jun 10, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: a2df81e
▶️ Tests: 11176 executed
⚪️ Checks: 44/44 completed


Learn more about TestLens at testlens.app.

@codeconsole codeconsole self-requested a review June 11, 2026 00:43
@jamesfredley jamesfredley merged commit 1c2d8a6 into 8.0.x Jun 11, 2026
47 checks passed
@jamesfredley jamesfredley deleted the deps/spring-boot-4.1.0 branch June 11, 2026 11:47
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Apache Grails Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants