What You Need to Know About Spring Boot 2.2.1’s @ConfigurationProperties Changes

Spring Boot 2.2.1, released on November 7, 2019, introduces 110 fixes and disables automatic @ConfigurationProperties scanning by default, requiring developers to add @ConfigurationPropertiesScan manually, with full details available in the official GitHub issue.

Programmer DD
Programmer DD
Programmer DD
What You Need to Know About Spring Boot 2.2.1’s @ConfigurationProperties Changes

Spring Boot 2.2.1 Release Highlights

Spring Boot 2.2.1 was officially released on November 7, 2019, bringing 110 fixes, improvements, and dependency upgrades.

Developers upgrading from 2.2.0 should pay special attention to the handling of @ConfigurationProperties . In this version the automatic scanning of this annotation is disabled by default.

To enable scanning, you must explicitly add the @ConfigurationPropertiesScan annotation to your configuration class.

For the full list of changes, see the GitHub issue: https://github.com/spring-projects/spring-boot/issues/18674

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.

JavaBackend DevelopmentSpring BootConfigurationPropertiesRelease 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.