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

相关推荐
章豪Mrrey nical4 小时前
前后端分离工作详解Detailed Explanation of Frontend-Backend Separation Work
后端·前端框架·状态模式
超级大只老咪5 小时前
数组相邻元素比较的循环条件(Java竞赛考点)
java
小浣熊熊熊熊熊熊熊丶5 小时前
《Effective Java》第25条:限制源文件为单个顶级类
java·开发语言·effective java
毕设源码-钟学长5 小时前
【开题答辩全过程】以 公交管理系统为例,包含答辩的问题和答案
java·eclipse
啃火龙果的兔子5 小时前
JDK 安装配置
java·开发语言
星哥说事5 小时前
应用程序监控:Java 与 Web 应用的实践
java·开发语言
派大鑫wink6 小时前
【JAVA学习日志】SpringBoot 参数配置:从基础到实战,解锁灵活配置新姿势
java·spring boot·后端
程序员爱钓鱼6 小时前
Node.js 编程实战:文件读写操作
前端·后端·node.js
xUxIAOrUIII6 小时前
【Spring Boot】控制器Controller方法
java·spring boot·后端
Dolphin_Home6 小时前
从理论到实战:图结构在仓库关联业务中的落地(小白→中级,附完整代码)
java·spring boot·后端·spring cloud·database·广度优先·图搜索算法