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 服务客户端。

相关推荐
d***29242 小时前
【spring】Spring事件监听器ApplicationListener的使用与源码分析
java·后端·spring
5***b972 小时前
解决报错net.sf.jsqlparser.statement.select.SelectBody
java
q***95222 小时前
Tomcat下载,安装,配置终极版(2024)
java·tomcat
2***d8852 小时前
详解tomcat中的jmx监控
java·tomcat
无敌最俊朗@2 小时前
Qt事件循环队列剖析!!!
java
v***5652 小时前
Spring Cloud Gateway 整合Spring Security
java·后端·spring
python零基础入门小白2 小时前
【万字长文】大模型应用开发:意图路由与查询重写设计模式(从入门到精通)
java·开发语言·设计模式·语言模型·架构·大模型应用开发·大模型学习
码事漫谈2 小时前
C++中不同类型的默认转换详解
后端
码事漫谈2 小时前
C++类型转换的隐蔽陷阱:当size_t遇见负数
后端