What’s New in Spring Boot 2.4.5 and 2.3.10? Key Fixes, Docs, and Dependency Updates
This article summarizes the latest Spring Boot 2.4.5 and 2.3.10 releases, detailing dozens of bug fixes, documentation improvements, and a comprehensive list of upgraded dependencies, providing developers with a clear view of the enhancements and migration considerations for each version.
Earlier we introduced the Spring Framework 5.3.6 and 5.2.14 releases.
Spring Boot 2.4.5
Bug Fixes
When spring.main.cloud-platform is set to NONE, CloudPlatform.isActive can return true (#26124).
Elasticsearch auto‑configuration no longer configures a default converter (#26029).
Gradle bootBuildImage now preserves file permissions (#25937).
Key store loading no longer leaves the InputStream open (#25922).
TCP‑reactive network password configuration was ignored (#25913).
RejectedExecutionException is thrown when shutting down a Spring Boot application that uses Cassandra (#25869).
PrimaryDefaultValidatorPostProcessor can cause NoSuchBeanDefinitionException when validators are in the context (#25863).
PrometheusPushGatewayManager stops publishing when an unknown exception is discovered, unlike Micrometer's PushMeterRegistry (#25844).
@Persistent scanning of MongoDB entities should not consider persistence (#25797).
Build‑image hangs when a classifier is specified in the configuration (#25789).
DefaultErrorWebExceptionHandler does not remove meta‑type when a quality value is present (#25786).
AbstractWebMvcEndpointHandlerMapping does not link InvalidEndpointRequestExceptions (#25784).
Unpacked JAR files are not deleted when the JVM exits (#25774).
TLD mode mismatches Tomcat (#25770).
RestTemplate metric customization blocks RootUriRequestExpectationManager for RestTemplate files (#25768).
ConfigData import cannot override file‑specific imports (#25766).
URI tag http.client.requests metric ignores RestTemplate root URI (#25765).
Incorrect handling of javax.persistence.schema-generation.database.action when DDL defaults are determined (#25754).
Deprecated API warnings updated for target removal (#25735).
Build‑image hangs if finalName is set in the Spring Boot plugin configuration (#25700).
During incremental compilation, configuration‑property metadata is not generated for classes annotated with @ControllerEndpoint, @JmxEndpoint, @RestControllerEndpoint, @ServletEndpoint, or @WebEndpoint (#25388).
Documentation
Documented limitations of lazy JPA boot and early JPA access (#26110).
Special behavior of spring.config.additional-location documented (#26085).
Package information for org.springframework.boot.test.autoconfigure.data.cassandra added (#26081).
DataJpaTest now sets spring.jpa.show-sql to true by default (#26024).
How to provide runtime JVM parameters when building images documented (#25992).
Javadoc links for non‑public auto‑configuration classes fixed (#25987).
Spelling errors in documentation corrected (#25947).
Example of using main as branch name in the info endpoint documented (#25866).
Dependency Updates
AppEngine SDK upgraded to 1.9.88.
Dropwizard Metrics upgraded to 4.1.19.
Glassfish JAXB upgraded to 2.3.4.
Hibernate upgraded to 5.4.30.Final.
HSQLDB upgraded to 2.5.2.
Jakarta Mail upgraded to 1.6.7.
Jaybird upgraded to 3.0.11.
Jetty upgraded to 9.4.39.v20210325.
Jetty Reactive HTTPClient upgraded to 1.1.7.
Kotlin upgraded to 1.4.32.
Lettuce upgraded to 6.0.4.RELEASE.
Lombok upgraded to 1.18.20.
Micrometer upgraded to 1.6.6.
MIMEPull upgraded to 1.9.14.
Netty upgraded to 4.1.63.Final.
Netty tcNative upgraded to 2.0.38.Final.
Reactor upgraded to 2020.0.6.
SAAJ Impl upgraded to 1.5.3.
Spring Data upgraded to 2020.0.8.
Spring Framework upgraded to 5.3.6.
Spring Integration upgraded to 5.4.6.
Spring Security upgraded to 5.4.6.
Spring Session upgraded to 2020.0.4.
Sun Mail upgraded to 1.6.7.
Tomcat upgraded to 9.0.45.
Undertow upgraded to 2.2.7.Final.
Spring Boot 2.3.10
Bug Fixes
Gradle bootBuildImage does not preserve file permissions (#25915).
Key store loading does not close InputStream (#25884).
PrometheusPushGatewayManager stops publishing on unknown exceptions (#25804).
PrimaryDefaultValidatorPostProcessor can cause NoSuchBeanDefinitionException when validators are in the context (#25800).
RejectedExecutionException thrown when shutting down a Cassandra‑using Spring Boot app (#25796).
DefaultErrorWebExceptionHandler does not remove meta‑type when a quality value is present (#25778).
Unpacked JAR files are not deleted when the JVM exits (#25773).
TLD mode does not align with Tomcat (#25764).
URI tag http.client.requests metric ignores RestTemplate root URI (#25744).
RestTemplate metric customization blocks RootUriRequestExpectationManager for RestTemplate files (#25741).
Build‑image hangs when a classifier is specified in the configuration (#25736).
EnvironmentAware FailureAnalyzer may configure the wrong environment (#25691).
AbstractWebMvcEndpointHandlerMapping does not link InvalidEndpointRequestExceptions (#25642).
Multiple schema or data script locations without resources cause ambiguous errors (#25620).
Build‑image hangs if finalName is set in the plugin configuration (#25590).
EmbeddedDatabaseConnection#h2 should not specify a hostname (#25560).
RSocket EmbeddedServerAutoConfiguration does not fall back without spring-web (#25551).
ConfigurationMetadataRepository misbehaves when loading JSON files with the same group (#25507).
Layertools can extract entries outside the target path (#25505).
Inconsistent default fork value for Spring Boot startup (#25472).
When spring.main.cloud-platform is NONE, CloudPlatform.isActive can return true (#25455).
Default values of @ConfigurationProperties classes are not visible to the validator (#25356).
Application fails to start when an executor is configured as a filter (#25262).
JPA schema‑generation database action handling issue (#25129).
Elasticsearch auto‑configuration does not configure a default converter (#25087).
Documentation
Javadoc links for non‑public auto‑configuration classes missing (#25948).
Info endpoint example uses main as branch name (#25865).
DataJpaTest now sets spring.jpa.show-sql to true by default (#25843).
Deprecated warnings for target removal updated (#25808).
Incorrect description for management.metrics.export.influx.db fixed (#25723).
How to configure Maven’s fail‑safe plugin without spring-boot-starter-parent documented (#25621).
Spelling errors in the README corrected (#25597).
Actuator API file links highlighted in reference docs (#25486).
Javadoc @param tags corrected for accurate behavior description (#25480).
Wording errors in generated info target description fixed (#25382).
Mockito test execution listener documentation improved (#25375).
HTTP client metric documentation wording updated (#25353).
Dependency Updates
AppEngine SDK upgraded to 1.9.88.
Byte Buddy upgraded to 1.10.22.
Dropwizard Metrics upgraded to 4.1.19.
Flatten Maven Plugin upgraded to 1.2.7.
Glassfish JAXB upgraded to 2.3.4.
Hibernate upgraded to 5.4.30.Final.
HSQLDB upgraded to 2.5.2.
Jakarta Mail upgraded to 1.6.7.
Jaybird upgraded to 3.0.11.
Jetty upgraded to 9.4.39.v20210325.
Jetty Reactive HTTPClient upgraded to 1.1.7.
Lettuce upgraded to 5.3.7.RELEASE.
Lombok upgraded to 1.18.20.
Maven Invoker Plugin upgraded to 3.2.2.
Micrometer upgraded to 1.5.13.
MIMEPull upgraded to 1.9.14.
MongoDB driver upgraded to 4.0.6.
Neo4j OGM upgraded to 3.2.21.
Netty upgraded to 4.1.63.Final.
Netty tcNative upgraded to 2.0.38.Final.
OAuth2 OIDC SDK upgraded to 7.1.3.
PostgreSQL driver upgraded to 42.2.19.
R2DBC Bom upgraded to Arabba‑SR9.
Reactor upgraded to Dysprosium‑SR19.
RSocket upgraded to 1.0.4.
SAAJ Impl upgraded to 1.5.3.
Spring AMQP upgraded to 2.2.16.RELEASE.
Spring Batch upgraded to 4.2.6.RELEASE.
Spring Data upgraded to Neumann‑SR9.
Spring Framework upgraded to 5.2.14.
Spring HATEOAS upgraded to 1.1.5.
Spring Integration upgraded to 5.3.7.
Spring Kafka upgraded to 2.5.12.RELEASE.
Spring Security upgraded to 5.3.9.
Spring Session upgraded to Dragonfruit‑SR3.
Sun Mail upgraded to 1.6.7.
Tomcat upgraded to 9.0.45.
Undertow upgraded to 2.1.7.Final.
Official release pages: Spring Boot 2.3.10 and Spring Boot 2.4.5 .
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.
