Spring Boot 4.0.0 正式发布

Spring Boot 4.0.0 正式发

Spring Boot 4.0.0 现已正式发布,"此版本标志着新一代 Spring Boot 的诞生,为未来几年奠定了坚实的基础。"

新版本基于 Spring Framework 7 构建,并包含许多新特性

Spring Framework 7.0 General Availability

RELEASES | JUERGEN HOELLER | NOVEMBER 13, 2025 | ...

Dear Spring community,

On behalf of the team and everyone who has contributed, I am pleased to announce that Spring Framework 7.0 is generally available now! Spring Framework 7.0 is the beginning of a new framework generation with a focus on Java 25 and the latest open source ecosystem, serving as the foundation for Spring Boot 4.0.

This generation of Spring comes with a pragmatic baseline and dependency upgrade:

Our initial Spring Framework 7.0 release ships with a wide range of new features, including:

Check out our release notes for a comprehensive overview of enhancements and upgrade notes.

Cheers, Juergen

Project Page | GitHub | Issues | Documentation

​对 Spring Boot 代码库进行完全模块化改造,提供更小、更专注的 jar 包。

通过 JSpecify 对整个产品组合的 null safety 进行改进。

对 Java 25 提供一流的支持(同时保持与 Java 17 的兼容性)。

支持基于 REST 的应用程序的 API 版本控制和 HTTP 服务客户端。

相关推荐
dllxhcjla1 天前
微服务全套
java
王码码20351 天前
Go语言的测试:从单元测试到集成测试
后端·golang·go·接口
王码码20351 天前
Go语言中的测试:从单元测试到集成测试
后端·golang·go·接口
亚历克斯神1 天前
JVM 内存管理 2026:深度解析与调优实战
java·spring·微服务
嵌入式×边缘AI:打怪升级日志1 天前
使用JsonRPC实现前后台
前端·后端
逻辑驱动的ken1 天前
Java高频面试题:03
java·开发语言·面试·求职招聘·春招
广师大-Wzx1 天前
一篇文章看懂MySQL数据库(下)
java·开发语言·数据结构·数据库·windows·python·mysql
野生技术架构师1 天前
Java NIO到底是个什么东西?
java·开发语言·nio
小码哥_常1 天前
从0到1:Spring Boot 中WebSocket实战揭秘,开启实时通信新时代
后端
lolo大魔王1 天前
Go语言的异常处理
开发语言·后端·golang