-
Spring Boot一天发两版:3.5.2紧急修复!
- 网站名称:Spring Boot一天发两版:3.5.2紧急修复!
- 网站分类:技术文章
- 收录时间:2025-09-18 16:00
- 网站地址:
“Spring Boot一天发两版:3.5.2紧急修复!” 网站介绍
重要提醒: 由于 Spring Boot 3.5.1 包含一个重大异常问题,已在 3.5.2 版本中修复。建议使用 v3.5.2!
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.5.2</version>
<relativePath/>
</parent>
发布概览
本次发布包含 73 项改进,是 Spring Boot 3.5 系列的第一个补丁版本,强烈建议升级。
重要变更
Tomcat 升级带来的限制
此版本升级到 Tomcat 10.1.42,该版本对 multipart/form-data 请求引入了以下限制:
- Part 数量限制:可通过 server.tomcat.max-part-count 自定义
- Header 大小限制:可通过 server.tomcat.max-part-header-size 自定义
新功能
ConfigData 选项支持
- 允许在 ConfigDataEnvironmentContributors 上指定 ConfigData.Options #42932
主要 Bug 修复
性能优化
- 修复可执行 JAR 应用程序类在 classpath URL 引用主机时的性能问题 #46028
- 修复 TCCL 变更时 spring.factories 加载可能失败的 ClassNotFoundException #46019
配置修复
- 修复 spring.couchbase.authentication.jks.private-key-password 无效的问题 #46006
- 修复 DataSourceBuilder 在 driver 为 null 时可能出现 NPE 的问题 #45992
- 修复 SpringApplication.setEnvironmentPrefix 在读取 MANAGEMENT_SERVER_PORT 时被忽略的问题 #45857
Actuator 修复
- 修复现代 OpenJ9 JVM 上 Actuator heapdump 端点失败的问题 #46005
- 修复 Spring Security 的 CSRF 保护导致 Cloud Foundry actuator 支持中写入和删除操作失效的问题 #45848
绑定与验证
- 修复 UnboundConfigurationPropertiesException 不再从 IndexedElementsBinder 抛出的问题 #45994
- 修复非大写系统环境属性绑定失效的问题 #45741
- 修复无法选择退出 profile 验证或使用包含 '.' 的 profile 名称的问题 #45947
其他修复
- 修复 JSON writer 错误转义正斜杠可能导致结构化日志问题 #45980
- 修复 ManagementContextAutoConfiguration 添加的属性源降低绑定性能的问题 #45968
- 修复 'java.net.http.HttpClient' 不可用时 ClientHttpConnectorAutoConfiguration 加载失败的问题 #45955
文档改进
安全与配置文档
- 修复 Docker 安全选项链接 #46021
- 改进 Spring Security 与 '/error' 配置的文档 #46009
- 为 actuator info 端点文档添加 SSL 响应结构 #45921
测试文档
- 更新测试切片注解的 javadoc,建议使用 MockitoBean 而非 MockBean #45915
- 更新文档以反映 TestRestTemplate 默认重定向行为的变更 #45842
其他文档修复
- 修复审计事件检索示例中时间戳与文本不匹配的问题 #45997
- 修复 spring.codec. 属性弃用替换中的拼写错误 #45743
- 更新参考指南中过时的 Gradle Shadow Plugin 链接 #45740
依赖升级
核心框架升级
- Spring Framework 6.2.8
- Spring Data Bom 2025.0.1
- Spring Security 6.5.1
- Spring Authorization Server 1.5.1
数据库驱动升级
- MongoDB 5.5.1
- PostgreSQL 42.7.7
- DB2 JDBC 12.1.2.0
- Jaybird 6.0.2
服务器与网络升级
- Tomcat 10.1.42
- Jetty 12.0.22
- Netty 4.1.122.Final
- HttpClient5 5.5
监控与追踪升级
- Micrometer 1.15.1
- Micrometer Tracing 1.5.1
- Prometheus Client 1.3.8
其他重要升级
- Jackson Bom 2.19.1
- Hibernate 6.6.18.Final
- Reactor Bom 2024.0.7
- Testcontainers 1.21.2
- Caffeine 3.2.1
- Byte Buddy 1.17.6
注意: 由于 3.5.1 存在回归问题,强烈建议直接使用 Spring Boot 3.5.2 版本。
更多相关网站
- 最近发表
- 标签列表
-
- mydisktest_v298 (35)
- sql 日期比较 (33)
- document.appendchild (35)
- 头像打包下载 (35)
- 梦幻诛仙表情包 (36)
- java面试宝典2019pdf (26)
- disk++ (30)
- 加密与解密第四版pdf (29)
- iteye (26)
- centos7.4下载 (32)
- intouch2014r2sp1永久授权 (33)
- jdk1.8.0_191下载 (27)
- axure9注册码 (30)
- 兔兔工程量计算软件下载 (27)
- ccproxy破解版 (31)
- aida64模板 (28)
- engine=innodb (33)
- shiro jwt (28)
- segoe ui是什么字体 (27)
- head first java电子版 (32)
- clickhouse中文文档 (28)
- jdk-8u181-linux-x64.tar.gz (32)
- 计算机网络自顶向下pdf (34)
- -dfile.encoding=utf-8 (33)
- jdk1.9下载 (32)