Skip to content

Spring Boot 4.0.1

Choose a tag to compare

@darbyluv2code darbyluv2code released this 26 Dec 19:38
· 38 commits to main since this release
f7896db

Spring Boot 4.0.1 Upgrade

Upgraded all Spring Boot projects from version 3.5.9 to 4.0.1.

Projects Updated

  • section-12-spring-boot-3-quick-start/01-spring-boot-demo
  • section-13-spring-boot-3-rest-apis-quick-start (4 projects)
  • section-14-spring-boot-3-spring-mvc-quick-start (2 projects)

Key Changes

  • Updated spring-boot-starter-parent to 4.0.1
  • Replaced spring-boot-starter-web with spring-boot-starter-webmvc
  • Replaced spring-boot-starter-test with spring-boot-starter-webmvc-test
  • Added spring-boot-starter-thymeleaf-test for Thymeleaf projects

Verification

All 7 projects successfully built and tested with Maven. All applications start successfully with no errors or breaking changes.

Compatibility

  • Java 25 compatible (exceeds Java 17 minimum requirement)
  • No Java code changes required
  • Already using jakarta.annotation (not legacy javax)