deps(phase6): upgrade Spring Boot 2.7.18 → 3.4.5#16
Merged
Conversation
…urity 6) build.gradle: - Spring Boot plugin 2.7.18 → 3.4.5 - io.spring.dependency-management 1.1.6 → 1.1.7 - SpringDoc springdoc-openapi-ui:1.8.0 → springdoc-openapi-starter-webmvc-ui:2.8.8 (artifact ID change required for Spring Boot 3 compatibility) - Remove ext[jackson.version] and ext[log4j2.version] overrides — Boot 3.4.5 BOM now manages Jackson 2.18.3 and a safe log4j2 version directly SecurityConfig.java: - authorizeRequests() → authorizeHttpRequests() (removed in Spring Security 6) - antMatchers() → requestMatchers() (removed in Spring Security 6) Dockerfile: - adoptopenjdk/openjdk11:alpine-slim → eclipse-temurin:17-jdk-alpine (build stage) - adoptopenjdk/openjdk11:alpine-jre → eclipse-temurin:17-jre-alpine (runtime stage) adoptopenjdk images are EOL; Eclipse Temurin is the successor ComicControllerTest: - POST /comics/ → /comics: Spring Framework 6 no longer matches trailing slashes by default (spring.mvc.pathmatch trailing-slash-match removed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Spring Boot 3.4.5 Gradle plugin requires Java 17 to run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Final phase of the dependency update series. Upgrades to Spring Boot 3.4.5 with Java 17, Spring Security 6, and Eclipse Temurin Docker images.
Changes:
springdoc-openapi-ui:1.8.0→springdoc-openapi-starter-webmvc-ui:2.8.8(artifact ID changes for Boot 3)ext['jackson.version']andext['log4j2.version']overrides removed — Boot 3.4.5 BOM manages Jackson 2.18.3 (up from our 2.17.3 override) and safe log4j2 directlySecurityConfig:authorizeRequests/antMatchers→authorizeHttpRequests/requestMatchers(Spring Security 6 removals)Dockerfile:adoptopenjdk/openjdk11(EOL) →eclipse-temurin:17-jdk/jre-alpineComicControllerTest: fixed trailing-slash test URL (/comics/→/comics) — Spring Framework 6 no longer matches trailing slashes by defaultFull upgrade summary across all 6 phases
Test plan
contextLoads()active (was disabled since Phase 1)Generated with Claude Code