What’s New in Spring Boot 2.4.1? Key Bug Fixes You Should Know

Spring Boot 2.4.1, the final release of the year, focuses on fixing numerous configuration‑related bugs across the 2.4.x line, providing developers with a more stable upgrade path and addressing issues from property binding to Actuator endpoints.

Programmer DD
Programmer DD
Programmer DD
What’s New in Spring Boot 2.4.1? Key Bug Fixes You Should Know

Spring Boot recently released its last update of the year, covering three maintained branches: 2.4.x (bug‑fix version 2.4.1), 2.3.x (maintenance version 2.3.7), and 2.2.x (maintenance version 2.2.12). Because 2.2.x and 2.3.x are already stable, the focus is on the 2.4.1 update.

2.4.1 Version Details

The 2.4.0 release introduced major changes to the configuration loading mechanism, leading to various upgrade issues. Version 2.4.1 primarily resolves many configuration‑related bugs. The key problems fixed include:

Configuration files matched by wildcards overriding each other.

Order of binding between configuration properties and JavaBeans.

Allowing recursive configuration file group references.

External application property loading order issues.

Failure of @Name binding in Kotlin.

Excessive performance cost of the Redis health indicator.

Actuator endpoints under MVC and WebFlux not correctly responding to custom HTTP status codes.

Env endpoint of Actuator not displaying wrapper‑type data correctly.

Missing converters when binding non‑string properties via the configuration tree.

NullPointerException when invoking LoggingSystem with Log4J.

Loss of content after ‘#’ comments when loading property files.

Ensuring WebClient exists before enabling WebTestClientContextCustomizer.

These fixes target configuration handling extensively. Have you encountered any of these issues during your upgrade?

For more details and related issues, see the official release page:

https://github.com/spring-projects/spring-boot/releases/tag/v2.4.1

Additional Spring Boot learning resources are available at:

http://blog.didispace.com/spring-boot-learning-2x/

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Backend DevelopmentConfigurationSpring BootBug FixesRelease Notes
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.