What’s New in Spring Boot 2.4.3? 29 Bug Fixes, Docs Updates, and 31 Dependency Upgrades
Spring Boot 2.4.3, released on the first workday of the new year, brings 29 bug fixes, 15 documentation improvements, and 31 dependency upgrades—including critical fixes for DataSourceBuilder, Amazon Redshift driver detection, JPA lazy repositories, and Spring Data Solr—while the full changelog is available on GitHub.
On the first workday of the new year, Spring Boot released the latest versions 2.4.3 and 2.3.9, which can be obtained from repo.spring.io and Maven Central.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.3</version>
<relativePath/>
</parent>Spring Boot 2.4.3 is the third bug‑fix release of the 2.4 line, containing 29 bug fixes, 15 documentation improvements, and 31 dependency upgrades, totaling 75 items.
Bug Fixes
Fix DataSourceBuilder inability to accept a username, causing PostgreSQL connection failures.
Fix DatabaseDriver not correctly detecting the Amazon Redshift driver.
Fix Flyway or Liquibase actions possibly not completing before jOOQ accesses the database.
Fix missing error messages when spring.profiles.include is written as a YAML list.
Fix missing dependency for the new hibernate-micrometer module.
Fix DataSourceBuilder inability to accept a username, causing H2 connection failures.
Fix missing RabbitMQ monitoring metrics when a bean is defined as ConnectionFactory.
Fix potential deadlock caused by ContextRefreshedEvent when using JPA lazy repositories.
Fix Gradle plugin not including transitive project dependencies in the application layer.
Fix mismatch between default values of initQueryTimeout and idleTimeout for Cassandra.
Fix remote applications from devtools not working with security filters in WebSecurityConfigurerAdapter.
Fix TestRestTemplate throwing UnsupportedOperationException when using UriTemplateRequestEntity.
Fix WebMvcTest and WebFluxTest ignoring user‑defined IDialect beans.
Fix incompatibility between oauth2-oidc-sdk and nimbus-jose-jwt versions.
Fix BeanCreationException when creating neo4jMappingContext with MongoDB.
Fix ineffective configtree configuration for collection properties.
Fix NPE caused by using Option.IGNORE_IMPORTS.
Fix spring.config.activate.on-profile not usable for custom files.
Fix ConfigDataLoader failing to use DeferredLogFactory.
Fix Spring Data Solr support not being marked as deprecated.
Fix Logback default charset being UTF‑8 instead of the OS default.
Fix InvalidConfigDataPropertyException being thrown when processing ConfigData files.
Fix error handling interruption when spring.mvc.pathmatch.matching-strategy is set to a path‑matching mode.
Fix NPE causing endpoint mapping crashes when spring.mvc.pathmatch.matching-strategy is set.
Fix MetricsClientHttpRequestInterceptor parameters interfering with RestTemplate.
Fix exception conversion issue caused by spring.dao.exceptiontranslation.enable on DataSourceTransactionManager.
Fix illegal access via org.springframework.cglib.core.ReflectUtils.
Fix metadata logs recording invalid java.nio.charset.Charset content.
Fix Hazelcast execution failure caused by an incorrect class loader.
Documentation Improvements
Update Gradle plugin docs to recommend maven-publish instead of the Maven plugin.
Add documentation for Kafka Streams metrics.
Adjust default values of integer properties in the application properties appendix to decimals.
Clarify usage of BufferingApplicationStartup.
Optimize documentation index formatting.
Require bracket notation for special characters in property keys.
Highlight duration and period conversion provided by ApplicationConversionService, not available for web conversion by default.
Document logging.register-shutdown-hook and its purpose.
Complete example for bootRun project property command line.
Note that custom banner application.* properties require the starter.
Add guidance on diagnosing unexpected property values.
Record WebMvcProperties.MatchingStrategy starting from 2.4.0.
Fix broken link to spring-javaformat-intellij-idea-plugin in CONTRIBUTING.adoc.
Add version numbers to the reference documentation index.
Remove the YAML section.
Dependency Upgrades
ActiveMQ 5.16.1
AppEngine SDK 1.9.86
Byte Buddy 1.10.20
FreeMarker 2.3.31
Hibernate 5.4.28.Final
Infinispan 11.0.9.Final
Janino 3.1.3
Jaybird 3.0.10
Jetty 9.4.36.v20210114
Johnzon 1.2.10
jOOQ 3.14.7
JUnit 4.13.2
JUnit Jupiter 5.7.1
Kotlin 1.4.30
Lombok 1.18.18
MariaDB 2.7.2
Micrometer 1.6.4
MySQL 8.0.23
Netty 4.1.59.Final
Reactor 2020.0.4
RxJava2 2.2.21
Spring AMQP 2.3.5
Spring Data 2020.0.5
Spring Framework 5.3.4
Spring HATEOAS 1.2.4
Spring Integration 5.4.4
Spring Kafka 2.6.6
Spring Security 5.4.5
Spring Session Bom 2020.0.3
Tomcat 9.0.43
Undertow 2.2.4.Final
Fix Flyway/Liquibase actions possibly not completing before jOOQ accesses the database. Fix missing dependency for the new hibernate-micrometer module. Fix DatabaseDriver not correctly detecting the Amazon Redshift driver. Fix missing RabbitMQ monitoring metrics when a bean is defined as ConnectionFactory . Fix potential deadlock caused by ContextRefreshedEvent with JPA lazy repositories. Fix Spring Data Solr support not being marked as deprecated. Fix MetricsClientHttpRequestInterceptor parameters interfering with RestTemplate . Fix WebMvcTest and WebFluxTest ignoring user‑defined IDialect beans.
For the complete list of changes, see the official GitHub release pages:
https://github.com/spring-projects/spring-boot/releases/tag/v2.4.3
https://github.com/spring-projects/spring-boot/releases/tag/v2.3.9.RELEASE
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
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.
