-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Spring Boot 4.1.0 M3 Release Notes
|
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
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.
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.
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:
Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:
-
A new
FailureAnalyzedExceptionhas 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
BatchLogRecordProcessorhave been added. -
The new property
management.opentelemetry.tracing.samplerhas been added to select OpenTelemetry’s sampler.