-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Spring Boot 4.0.0 M1 Release Notes
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
It is now possible for @ConfigurationProperties
-annotated types to refer to types that are located in a different module.
To source the metadata from those modules, you should add the annotation processor (if necessary) and flag the type with @ConfigurationPropertiesSource
.
See the reference documentation for more details.
Support for the certificate validity threshold has been removed from the SSL info contribution.
A certificate that had a status of WILL_EXPIRE_SOON
will now appear as VALID
.
The information about the start and end of a certificate’s validity remains.
Certificate chains that contain one or more certificates that will expire within the configured threshold (management.health.ssl.certificate-validity-warning-threshold
) are
now listed in a new expiringChains
entry in the details of the health response.
The status WILL_EXPIRE_SOON
is no longer used and expiring certificates will have a status of VALID
.
The auto-configurations for task scheduling and task execution now support multiple TaskDecorator
beans.
When the context contains multiple TaskDecorator
beans, a CompositeTaskDecorator
that delegates to them is created.
The individual decorators are called in the ordered defined by @Order
and Ordered
.
Spring Boot 4.0.0-M1 moves to new versions of several Spring projects:
-
…
Numerous third-party dependencies have also been updated, some of the more noteworthy of which are the following:
-
…
Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:
-
The auto-configuration for Micrometer’s metrics aspects now enables support for
@MeterTag
on@Counted
and@Timed
methods with a SpEL-basedValueExpressionResolver
. -
@ServiceConnection
support for MongoDB now supports Testcontainers'MongoDBAtlasLocalContainer