Skip to content

Spring Boot 4.1.0 M3 Release Notes

Moritz Halbritter edited this page Mar 10, 2026 · 38 revisions

Spring Boot 4.1.0-M3 Release Notes

For changes in earlier milestones, please refer to:

Upgrading from Spring Boot 4.0

New and Noteworthy

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

File Rotation Support for Log4j

Support for configurable file rotation has been added for Log4j, with four strategies:

  • size (default): Rolls files based on their size.

  • time: Rolls files based on a time interval.

  • size-and-time: Rolls when both size and time conditions are met.

  • cron: Rolls based on a cron expression schedule.

Docker Compose

In the event of a failure when it calls docker compose up or docker compose start, Spring Boot’s Docker Compose support will now log the output of docker compose logs. The log message is output at the level specified by spring.docker.compose.start.log-level. It defaults to info.

Dependency Upgrades

Spring Boot 4.1.0-M3 moves to new versions of several Spring projects:

  • TBD

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:

  • A new FailureAnalyzedException has been added and can be used when you want to throw an exception that include its own failure analysis.

  • OAuth2 resource servers can now be configured in non-webapps.

  • Empty objects in YAML files are now rained in the resulting PropertySource.

  • Properties to configure OpenTelemetry’s BatchLogRecordProcessor have been added.

  • The new property management.opentelemetry.tracing.sampler has been added to select OpenTelemetry’s sampler.

Deprecations in Spring Boot 4.1.0-M3

  • Given its decrease in popularity and support, the LiveReload feature in Devtools is deprecated with no replacement.

Clone this wiki locally