On December 22, Spring officially released Spring Boot 2.5.8 (including 46 bug fixes, documentation improvements, and dependency upgrades) and 2.6.2 (including 55 bug fixes, documentation improvements, and dependency upgrades).
These two versions are bug fix versions. It is worth noting that the log4j2 version upgrade that has plagued you recently has been updated in these two versions. If you are using log4j2, you can do this upgrade.
2.6.2 version content
Users can already obtain 2.6.2 dependencies through the following Maven coordinates:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
Defect repair
- When the getter or setter is overridden by the subclasses of the property configuration type, the getter and setter used during the property binding will be different #29143
- DatabaseInitializationDependencyConfigurer triggers the starvation initialization of factory beans #29103
- Spring boot 2.6.0 Quartz's mysql/mariadb table will not create #29095
- Initialization for Quartz, Session, Intergration, and Batch mode platforms cannot complete the configuration #29002
- When the application depends on
thymeleaf-extras-springsecurity5
, but there is noSpring Security
on the classpath, the application cannot be started #28979 - ResponseStatusException using spring security in version 2.6.1 no longer returns response body #28953
- DataSourceScriptDatabaseInitializer may still try to access the database, even if its initialization mode is never #28931
- When setUseCodeAsDefaultMessage is set to true, Hibernate authentication information is destroyed in spring boot 2.6.1. #
- The reference of the mirror build package without tags does not default to the latest version #28922
- The classpath index manifest attribute in the war package built with Maven is invalid #28904
- When deployed to the Servlet 3.1 compatible container,
org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter
in AbstractMethodError triggered # 28902 - Setting the time-to-live cache for the health endpoint has no effect #28882
server.servlet.session.cookie.same-site
not applied to the SESSION cookie of Spring Session. #28784
Spring Boot tutorial , which has been continuously updated for many years, should not be missed!
Dependency upgrade
- Upgrade Logback 1.2.9 #29012
- Upgrade AppEngine SDK 1.9.93 #29054
- Upgrade Caffeine 2.9.3 #29055
- Upgrade Couchbase Client 3.2.4 #29056
- Upgrade DB2 JDBC 11.5.7.0 #29124
- Upgrade Dropwizard Metrics 4.2.7 #29125
- Upgrade Ehcache3 3.9.9 #29126
- Upgrade Flyway 8.0.5 #29059
- Upgrade Hazelcast 4.2.4 #
- Upgrade Hibernate 5.6.3.Final #29127
- Upgrade HttpAsyncClient 4.1.5 #29062
- Upgrade HttpCore 4.4.15 #29063
- Upgrade Infinispan 12.1.10.Final #29128
- Upgrade Jackson Bom 2.13.1 #29129
- Upgrade JDOM2 2.0.6.1 #29064
- Upgrade Jedis 3.7.1 #29065
- Upgrade JUnit Jupiter 5.8.2 #29066
- Upgrade Kotlin 1.6.10 #
- Upgrade Log4j2 2.17.0 #28984
- Upgrade Micrometer 1.8.1 #28971
- Upgrade MSSQL JDBC 9.4.1.jre8 #29068
- Upgrade Netty 4.1.72.Final #29005
- Upgrade Reactor 2020.0.14 #28969
- Upgrade Spring AMQP 2.4.1 #28995
- Upgrade Spring Framework 5.3.14 #28970
- Upgrade Spring Integration 5.5.7 #28975
- Upgrade Spring Kafka 2.8.1 #29017
- Upgrade Spring LDAP 2.3.5 #28972
- Upgrade Spring Security 5.6.1 #28973
- Upgrade Spring Session 2021.1.1 #28974
- Upgrade Spring WS 3.1.2 #29069
- Upgrade Thymeleaf 3.0.14.RELEASE #29070
- Upgrade Tomcat 9.0.56 #29071
- Upgrade Undertow 2.2.14.Final #29072
- Upgrade XmlUnit2 2.8.4 #29131
Official announcement: https://spring.io/blog/2021/12/21/spring-boot-2-6-2-available-now
2.5.8 version content
Users can already obtain 2.5.8 dependencies through the following Maven coordinates:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.8</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
Defect repair
- DatabaseInitializationDependencyConfigurer triggers the starvation initialization of the factory bean #28977
- When the application depends on
thymeleaf-extras-springsecurity5
, but there is noSpring Security
on the classpath, the application cannot be started #28967 - Initialization for Quartz, Session, Intergration, and Batch mode platforms cannot complete the configuration #28932
- The reference of the mirror build package without tags does not default to the latest version #28921
- When the getter or setter is overridden by the subclasses of the attribute configuration type, the getter and setter used during the attribute binding will be different #28917
- The classpath index manifest attribute in the war package built with Maven is invalid #28895
PatternParseException
Behavior message failure analysis The attribute name of the matching policy is incorrect. #28809org.elasticsearch.distribution.integ-test-zip:elasticsearch
should declare its type as zip #28725
Spring Boot tutorial , which has been continuously updated for many years, should not be missed!
Dependency upgrade
- Upgrade AppEngine SDK 1.9.93 #29038
- Upgrade Caffeine 2.9.3 #29039
- Upgrade DB2 JDBC 11.5.7.0 #29117
- Upgrade Dropwizard Metrics 4.1.29 #29118
- Upgrade Ehcache3 3.9.9 #29119
- Upgrade Hazelcast 4.1.8 #29145
- Upgrade Hibernate 5.4.33 #29120
- Upgrade HttpAsyncClient 4.1.5 #29043
- Upgrade HttpCore 4.4.15 #29044
- Upgrade Infinispan 12.1.10.Final #29121
- Upgrade Jackson Bom 2.12.6 #29045
- Upgrade JDOM2 2.0.6.1 #29046
- Upgrade Kotlin 1.5.32 #29047
- Upgrade Log4j2 2.17.0 #28983
- Upgrade Logback 1.2.9 #29011
- Upgrade Micrometer 1.7.7 #28962
- Upgrade Netty 4.1.72.Final #29004
- Upgrade Reactor 2020.0.14 #28960
- Upgrade Spring AMQP 2.3.13 #28994
- Upgrade Spring Framework 5.3.14 #28961
- Upgrade Spring Integration 5.5.7 #28966
- Upgrade Spring LDAP 2.3.5 #28963
- Upgrade Spring Security 5.5.4 #28964
- Upgrade Spring Session 2021.0.4 #28965
- Upgrade Spring WS 3.1.2 #29048
- Upgrade Thymeleaf 3.0.14.RELEASE #29049
- Upgrade Tomcat 9.0.56 #29050
- Upgrade Undertow 2.2.14.Final #29051
- Upgrade XmlUnit2 2.8.4 #29123
Official announcement: https://spring.io/blog/2021/12/21/spring-boot-2-5-8-available-now
Welcome to pay attention to my official account: Program Ape DD. Learn about cutting-edge industry news for the first time, share in-depth technical dry goods, and obtain high-quality learning resources
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。