Repository navigation
Conversation
Spring Boot 3.2.x is out of open-source support. Move to the latest 3.x release and bump the libraries that must follow it: - org.springframework.boot plugin 3.2.5 -> 3.5.16 - io.spring.dependency-management 1.1.4 -> 1.1.7 - springdoc-openapi-starter-webmvc-ui 2.6.0 -> 2.8.17 (2.6 targets Boot 3.3) Replace @MockBean (deprecated for removal since Boot 3.4) with Spring Framework's @MockitoBean in the controller tests.
|
Collaborator
|
ideally we should migrate from minority to major versions, so I think this one could be the first step to the major version. |
aarvnd
marked this pull request as ready for review
October 12, 2026 20:54
aarvnd
requested review from
OlenaReukova,
Sowmiya07,
Tooonia,
dricazenck,
goelsonali,
lauracabtay and
nverbic
and
a balanced review from Copilot
October 12, 2026 20:54
Author
|
Thanks @dricazenck, makes sense — 3.5.x first so all deprecations are cleaned up, then 4.x as a separate step. I've marked this ready for review. Happy to pick up the 4.x migration as a follow-up once this lands. |
goelsonali
approved these changes
Oct 19, 2026
goelsonali
left a comment
Contributor
There was a problem hiding this comment.
LGTM, we can ignore these sonar issues
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Upgrades Spring Boot from 3.2.5 (out of OSS support) to 3.5.16, the latest 3.x release, and bumps what has to follow it:
org.springframework.bootplugin 3.2.5 → 3.5.16io.spring.dependency-management1.1.4 → 1.1.7springdoc-openapi-starter-webmvc-ui2.6.0 → 2.8.17 (2.6 targets Boot 3.3)@MockBean→@MockitoBean(@MockBeanis deprecated for removal since Boot 3.4). This removes ~100[removal]warnings.No production code changes were needed.
Draft until the target is confirmed: 3.5.x keeps this a small, safe upgrade. Moving to Spring Boot 4.x would be a bigger change (renamed starters like
starter-web→starter-webmvc, Jackson 3 vs. the pinnedjackson-datatype-jsr310:2.19.2, springdoc 3.x, probably a newer Gradle than 8.7). Happy to do that instead if that's the goal.Related Issue
Closes #773
Change Type
Screenshots
n/a (no API changes)
Pull request checklist
./gradlew teston JDK 21: 859 tests, 0 failures, 3 skipped (same as before the upgrade)./gradlew :pmdAllpassestestIntegrationneeds Docker (Postgres Testcontainers); it fails the same way on 3.2.5 without Docker, so I'm relying on CI for it.