Spring Boot 2.6.2 Release: Key Bug Fixes, Docs Updates, and Dependency Upgrades
Spring Boot 2.6.2, released on December 21, introduces 55 bug fixes, documentation improvements, and a comprehensive set of dependency upgrades, providing developers with more stable configuration binding, corrected database initialization, enhanced security handling, and updated libraries across the ecosystem.
On December 21, the official Spring Boot 2.6.2 version was released, containing 55 bug fixes, documentation improvements, and dependency upgrades.
<code><parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.2</version>
<relativePath/>
</parent>
</code>Bug Fixes
When a getter or setter is overridden to use a subclass of the property type, the getter and setter used during configuration property binding differ.
DatabaseInitializationDependencyConfigurertriggered eager loading of
factory beans.
In Spring Boot 2.6.0,
Quartzcould not create tables on
mysql/
mariadbdatabases.
Database platform initialization for
Quartz,
Session,
Integration, and
Batchcould not be configured.
The dependency
thymeleaf-extras-springsecurity5without the accompanying
Spring Securitycaused application startup failures.
When using Spring Security,
ResponseStatusExceptionno longer returned a response body.
Even when
DatabaseInitializationModeis set to
never,
DataSourceScriptDatabaseInitializerstill attempts to access the database.
In Spring Boot 2.6.1, setting
useCodeAsDefaultMessageto
truebroke
Hibernate validation messages.
If no tag is set for the built image, the
latesttag is not applied by default.
Compiling a WAR with Maven produced an invalid class‑path index manifest attribute.
When deploying to a Servlet 3.1‑compatible container,
org.springframework.boot.web.servlet.filter.ErrorPageSecurityFiltercaused an abstract method error.
Setting the health‑check endpoint cache
time-to-liveproperty had no effect.
The property
server.servlet.session.cookie.same-sitecould not be applied to cookies created by Spring Session.
Documentation Improvements
2.5.x snapshot documentation now links to source code on the main branch.
Added documentation that WebFlux does not support using DevTools with remote applications.
Added guidance on creating custom auto‑configuration sections in the core reference documentation.
Added a CacheManager customization section to the reference documentation.
Published the README.adoc.
Fixed the recorded default value for the property
spring.mvc.pathmatch.matching-strategy.
Added consistent quoting to YAML examples in the reference documentation.
Dependency Upgrades
Logback 1.2.9
AppEngine SDK 1.9.93
Caffeine 2.9.3
Couchbase Client 3.2.4
DB2 JDBC 11.5.7.0
Dropwizard Metrics 4.2.7
Ehcache3 3.9.9
Flyway 8.0.5
Hazelcast 4.2.4
Hibernate 5.6.3.Final
HttpAsyncClient 4.1.5
HttpCore 4.4.15
Infinispan 12.1.10.Final
Jackson Bom 2.13.1
JDOM2 2.0.6.1
Jedis 3.7.1
JUnit Jupiter 5.8.2
Kotlin 1.6.10
Log4j2 2.17.0
Micrometer 1.8.1
MSSQL JDBC 9.4.1.jre8
Netty 4.1.72.Final
Reactor 2020.0.14
Spring AMQP 2.4.1
Spring Framework 5.3.14
Spring Integration 5.5.7
Spring Kafka 2.8.1
Spring LDAP 2.3.5
Spring Security 5.6.1
Spring Session 2021.1.1
Spring WS 3.1.2
Thymeleaf 3.0.14.RELEASE
Tomcat 9.0.56
Undertow 2.2.14.Final
XmlUnit2 2.8.4
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.