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

相关推荐
WJ.Polar3 小时前
异常、泛型、集合、Stream流
java·数据结构
牧瀬クリスだ3 小时前
Redis五大数据类型全解析:从入门到实战
java·数据库·redis·后端·缓存
Nuanyt3 小时前
LeetCode Hot 100 · 双指针 3 题 Java
java·笔记·算法·leetcode·双指针
二宝哥3 小时前
03.Spring AI Embedding 实战:从向量化原理到项目落地
人工智能·spring boot·向量·spring ai
Wang's Blog4 小时前
Java 项目实战: 交友项目 - 圈子互动
java·开发语言·交友
Rain的Java大神之路4 小时前
北漂 13 年,我把 Java 家底钉成了这张知识图谱(全站免费)
java·后端·程序员
Amos_Web4 小时前
通过 Rspack 源码学 Rust(一):`mod`、`pub` 与 `use crate`/`use super`
后端
张彦峰ZYF4 小时前
拆得开不等于该拆开:微服务与模块化单体的边界判据、规模阈值、团队适配与一致性代价
后端·微服务·边界是否稳定·扩展天花板是否到顶·有无小组能独立值班·独立部署的自由会否被用上·这一刀是否切断不可降级的不变量
wuminyu4 小时前
JVM规范学习总结-Class文件结构
java·linux·c语言·jvm·c++
是江迪呀4 小时前
介绍一个开源项目 —— 烂笔头
前端·后端