Spring Boot 2.5.1 发布
  • 2023-10-20 15:09:07
  • 7068 热度
  • 0 评论

Spring Boot 2.5.1 、2.4.7 已经发布。现在可从 repo.spring.io 和 Maven Central 获得。

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.1</version>
<relativePath/>
</parent>

这是一个提前发布的 BUG FIX 版本,由于官方在 发布 SpringBoot 2.5.0 后收到大量的 BUG 反馈。 如果你还没有开始使用 spring boot 2.5.0, 请直接使用 2.5.1 向下兼容。

修复缺陷

  • 升级 2.5.0 会导致 Jackson 发出关于 Kotlin 的启动警告
  • 在 JDK11 环境下 开启 SecurityManager 无法运行
  • RandomValuePropertySource 存在分母为零的问题
  • 目录配置存在两个’.’时,新的配置文件加载机制失效,导致无序
  • RestTemplateBuilder 无法同时配置 MetricsRestTemplateCustomizer 和 LocalHostUriTemplateHandler 属性
  • 当镜像名包含特殊字符时,新的镜像构建器无法快速失败,会一直保持运行
  • spring data 的部分端点指标丢失
  • 无法设置 H2 的 driverClassName ,抛出 UnsupportedDataSourcePropertyException
  • 无法设置 SQL Server 的 jdbc-url ,抛出 UnsupportedDataSourcePropertyException
  • Flyway 和 Liquibase 自定义数据源没有 url 导致 java.lang.ClassCastException
  • DataSourceInitializationConfiguration 自定义用户名/密码属性无效
  • spring.datasource.password 的空值会导致 NullPointerException

其他 BUG 修复、文档更新和依赖项升级,详情查看:


Flame

Hello world!

0 评论
留下评论