Spring Boot 2.6.2 发布,功能更新速览原创
2年前
364900
12月21日,Spring团队宣布Spring Boot 2.6.2 已经发布,开发者可以通过 Maven Central 获得。本次版本更新包括了55 个错误修复、文档改进和依赖项升级。
Bug修复
- 当 getter 或 setter 被覆盖以使用属性类型的子类时,配置属性绑定期间使用的 getter 和 setter 会有所不同#29143
- DatabaseInitializationDependencyConfigurer 触发Factory bean 饿初始化#29103
- Spring boot 2.6.0 Quartz 无法创建mysql/mariadb 表#29095
- 无法配置用于 Quartz、Session、Integration 和 Batch 模式初始化平台#29002
- 当应用程序依赖于 thymeleaf-extras-springsecurity5 但在类路径上没有 Spring Security 时,它无法启动#28979
- ResponseStatusException 不再使用 spring security 返回响应主体#28953
- DatabaseInitializationMode为never时,DataSourceScriptDatabaseInitializer 可能仍会尝试访问数据库,#28931
- 当 setUseCodeAsDefaultMessage 设置为 true 时,spring boot 2.6.1 中的 Hibernate 验证消息被破坏#28930
- 没有设置Image buildpack标签,不会默认引用最新版本#28922
- 使用Maven生成的war文件中的类路径索引清单属性无效#28904
- 部署到 Servlet 3.1 兼容容器时,org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter 中AbstractMethodError #28902
- 为健康端点设置缓存time-to-live无效#28882
- server.servlet.session.cookie.same-site 不适用于 Spring Session 的 SESSION cookie #28784
文档
- 2.5.x 快照文档链接到主分支上的源代码#29141
- WebFlux 不支持将 DevTools 与远程应用程序一起使用的文档#29138
- 在核心功能参考文档中创建自己的自动配置部分#29133
- 发布参考文档中的 CacheManager 自定义部分#29098
- 发布 README.adoc # 28948
- 修复Spring属性的记录默认值
spring.mvc.pathmatch.matching-strategy
#28936
- 在参考文档 YAML 示例中添加一致的引号#28911
依赖升级
- Upgrade to Logback 1.2.9 #29012
- Upgrade to AppEngine SDK 1.9.93 #29054
- Upgrade to Caffeine 2.9.3 #29055
- Upgrade to Couchbase Client 3.2.4 #29056
- Upgrade to DB2 JDBC 11.5.7.0 #29124
- Upgrade to Dropwizard Metrics 4.2.7 #29125
- Upgrade to Ehcache3 3.9.9 #29126
- Upgrade to Flyway 8.0.5 #29059
- Upgrade to Hazelcast 4.2.4 #29146
- Upgrade to Hibernate 5.6.3.Final #29127
- Upgrade to HttpAsyncClient 4.1.5 #29062
- Upgrade to HttpCore 4.4.15 #29063
- Upgrade to Infinispan 12.1.10.Final #29128
- Upgrade to Jackson Bom 2.13.1 #29129
- Upgrade to JDOM2 2.0.6.1 #29064
- Upgrade to Jedis 3.7.1 #29065
- Upgrade to JUnit Jupiter 5.8.2 #29066
- Upgrade to Kotlin 1.6.10 #29067
- Upgrade to Log4j2 2.17.0 #28984
- Upgrade to Micrometer 1.8.1 #28971
- Upgrade to MSSQL JDBC 9.4.1.jre8 #29068
- Upgrade to Netty 4.1.72.Final #29005
- Upgrade to Reactor 2020.0.14 #28969
- Upgrade to Spring AMQP 2.4.1 #28995
- Upgrade to Spring Framework 5.3.14 #28970
- Upgrade to Spring Integration 5.5.7 #28975
- Upgrade to Spring Kafka 2.8.1 #29017
- Upgrade to Spring LDAP 2.3.5 #28972
- Upgrade to Spring Security 5.6.1 #28973
- Upgrade to Spring Session 2021.1.1 #28974
- Upgrade to Spring WS 3.1.2 #29069
- Upgrade to Thymeleaf 3.0.14.RELEASE #29070
- Upgrade to Tomcat 9.0.56 #29071
- Upgrade to Undertow 2.2.14.Final #29072
- Upgrade to XmlUnit2 2.8.4 #29131
Spring Boot 2.6.2:https://link.juejin.cn/?target=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-boot%2Freleases%2Ftag%2Fv2.6.2
来源:稀土掘金
点赞收藏