您现在的位置是:首页 > 文章详情

Spring Boot 2.5.1 && Spring 2.4.7 发布

日期:2021-06-11点击:625

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 向下兼容。

官方声明

官方声明

🐞 Bug Fixes

  • 升级 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 修复、文档更新和依赖项升级,详情查看:

  • https://spring.io/blog/2021/06/10/spring-boot-2-5-1-is-now-available

  • https://github.com/spring-projects/spring-boot/releases/tag/v2.5.1

原文链接:https://www.oschina.net/news/145616/spring-boot-2-5-1-released
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章