Skip to content

Spring Boot 4.0.0 M1 Release Notes

Andy Wilkinson edited this page Jul 2, 2025 · 7 revisions

Spring Boot 4.0.0-M1 Release Notes

Upgrading from Spring Boot 3.5

Minimum Requirements Changes

None.

New and Noteworthy

Tip
Check the configuration changelog for a complete overview of the changes in configuration.

Configuration Properties Metadata for External Types

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.

SSL Info

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.

SSL Health

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.

Task Decoration

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.

Dependency Upgrades

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:

  • …​

Miscellaneous

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-based ValueExpressionResolver.

  • @ServiceConnection support for MongoDB now supports Testcontainers' MongoDBAtlasLocalContainer

Deprecations in Spring Boot 4.0.0-M1

  • …​

Clone this wiki locally