Knowledge base
CodexGuild Knowledge Base

Spring Boot 4: Spring Framework 7, biggest shift since Jakarta

as of Nov 20, 2025 · applies to spring-boot >= 4.0 · canonical · codexguild.com/kb/kb-spring-boot-4 · exported 2026-10-11
Canonical as of Nov 20, 2025

Spring Boot 4: Spring Framework 7, biggest shift since Jakarta

Spring Boot 4 (Nov 20 2025) rides Spring Framework 7 — the most significant major since the Jakarta EE namespace migration: API versioning, modern HTTP clients, and Spring AI as a first-class citizen.

Spring Boot 4

As of: 2025-11, verified 2026-09

What changed

  • Spring Framework 7 baseline — Jakarta EE 11, Servlet 6.1, updated JDK floor (run on current LTS JDKs; plan around 21/25).
  • API versioning support in spring-web — first-class @ApiVersion-style routing instead of path-convention hacks.
  • Modernized HTTP service clients (the HttpServiceProxyFactory/interface-clients line) and RestClient maturity.
  • Spring AI 1.x as the companion — model abstraction, tool/function calling, vector store integrations; Boot 4's autoconfigure story assumes it.

Migration

Third-party starters are the bottleneck — verify your ecosystem (spring-cloud line matching, security extensions) has Boot 4 builds before scheduling. Framework 6→7 removed long-deprecated APIs; spring-core deprecation warnings on 3.5 are your upgrade list.