
3 月 22 日,南京,聊聊生成式 AI 应用构建

Spring Framework 6.2.5 现已发布,包含 14 项修复和文档改进。这是一个周期外的版本,修复了此前引入的 JAR 扫描回归问题。
New Features
- 在
spring-core-test
中建立对 AssertJ 和 JUnit 的依赖可选 #34612 - 当
AspectJAdviceParameterNameDiscoverer
无法识别歧义时,建议使用-parameters
进行编译 #34609 - ServerResponse 中的 SseBuilder 应允许空注释 #34608
- MockServerWebExchange 不允许在 base class 上设置 ApplicationContext #34601
- 当 http 表单数据无效时,
FormHttpMessageConverter
应抛出HttpMessageNotReadableException
#34594 - 提供一种方法来从 bean factory 中检索所有 singleton autowire candidates #34591
Bug Fixes
- 在 6.2.4 中针对 jar root 扫描的 PathMatchingResourcePatternResolver 回归#34607
- commit attempt 后回滚失败时,AbstractReactiveTransactionManager 会抛出 IllegalStateException #34595
- Recursively boxing/unboxing nested inline value classes #34592
Documentation
MvcUriComponentsBuilder
javadocs 不准确反映 forwarded headers 的使用情况 #34615- 修复格式并更新指向脚本库和 HDIV 的链接 #34603
- 删除参考手册中指向 MockObjects 网站的可疑链接#34593
- 修复
StringUtils#uriDecode
Javadoc #3459
Dependency Upgrades
- 升级到 ASM 9.8(以获得早期的 Java 25 支持)#34600
更新说明:https://github.com/spring-projects/spring-framework/releases/tag/v6.2.5
还没有评论,来说两句吧...