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

相关推荐
风象南2 小时前
我把大脑开源给了AI
人工智能·后端
橙序员小站6 小时前
Agent Skill 是什么?一文讲透 Agent Skill 的设计与实现
前端·后端
怒放吧德德7 小时前
Netty 4.2 入门指南:从概念到第一个程序
java·后端·netty
雨中飘荡的记忆8 小时前
大流量下库存扣减的数据库瓶颈:Redis分片缓存解决方案
java·redis·后端
开心就好20259 小时前
UniApp开发应用多平台上架全流程:H5小程序iOS和Android
后端·ios
悟空码字10 小时前
告别“屎山代码”:AI 代码整洁器让老项目重获新生
后端·aigc·ai编程
小码哥_常10 小时前
大厂不宠@Transactional,背后藏着啥秘密?
后端
奋斗小强10 小时前
内存危机突围战:从原理辨析到线上实战,彻底搞懂 OOM 与内存泄漏
后端
小码哥_常10 小时前
Spring Boot接口防抖秘籍:告别“手抖”,守护数据一致性
后端
心之语歌11 小时前
基于注解+拦截器的API动态路由实现方案
java·后端