What’s New in Spring Boot 2.4.1? Key Bug Fixes and Dependency Upgrades
Spring Boot’s final 2020 release introduces version 2.4.1 along with 2.3.7 and 2.2.12, delivering 59 bug fixes—including configuration file handling, actuator endpoint issues, and logging system NPEs—and a comprehensive set of dependency upgrades across libraries such as Caffeine, Hibernate, Kotlin, and Tomcat, with detailed release notes linked.
Spring Boot's final 2020 release includes versions 2.4.1, 2.3.7.RELEASE, and 2.2.12.RELEASE, all available from Maven Central.
<code><parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${version}</version>
</parent>
</code>Version 2.4.1 is the first bug‑fix release of the 2.4.x line, containing 59 fixes, documentation improvements, and dependency upgrades, primarily addressing configuration file loading changes introduced in 2.4.0.
🐞 Bug Fixes
Properties files prefixed with “#” were ignored.
Wildcard‑path configuration files overwrote each other.
Configuration file references could cause infinite loops.
Order of binding between configuration properties and JavaBeans was incorrect.
Classpath parsing threw ConfigDataResourceNotFoundException.
ConfigTree could not bind non‑String types due to missing converters.
@Name annotation could not bind Kotlin types.
/actuator/env endpoint displayed errors for wrapper classes.
/actuator/health endpoint was incompatible with custom HTTP status codes.
Redis health indicator impacted Redis performance.
Using Log4J with LoggingSystem caused a NullPointerException.
🔨 Dependency Upgrades
Upgrade to Caffeine 2.8.8
Upgrade to DB2 JDBC 11.5.5.0
Upgrade to Dropwizard Metrics 4.1.16
Upgrade to Groovy 2.5.14
Upgrade to Hibernate 5.4.25.Final
Upgrade to HttpCore 4.4.14
Upgrade to Infinispan 11.0.8.Final
Upgrade to Jetty 9.4.35.v20201120
Upgrade to jOOQ 3.14.4
Upgrade to Kotlin 1.4.21
Upgrade to Kotlin Coroutines 1.4.2
Upgrade to MariaDB 2.7.1
Upgrade to Micrometer 1.6.2
Upgrade to Mockito 3.6.28
Upgrade to Netty 4.1.55.Final
Upgrade to Netty tcNative 2.0.35.Final
Upgrade to Nimbus JOSE JWT 9.1.3
Upgrade to Reactor 2020.0.2
Upgrade to Spring AMQP 2.3.2
Upgrade to Spring Batch 4.3.1
Upgrade to Spring Data 2020.0.2
Upgrade to Spring Framework 5.3.2
Upgrade to Spring HATEOAS 1.2.2
Upgrade to Spring Integration 5.4.2
Upgrade to Spring Kafka 2.6.4
Upgrade to Spring Security 5.4.2
Upgrade to SQLite JDBC 3.32.3.3
Upgrade to Tomcat 9.0.41
Upgrade to Undertow 2.2.3.Final
Detailed release notes: https://github.com/spring-projects/spring-boot/releases/tag/v2.4.1 , https://github.com/spring-projects/spring-boot/releases/tag/v2.3.7.RELEASE , https://github.com/spring-projects/spring-boot/releases/tag/v2.2.12.RELEASE .
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.