-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Spring Boot 3.5.0 M1 Release Notes
The spring-boot-parent module is no longer published.
It provides dependency management for internal dependencies used, for example, in Spring Boot’s own tests.
If you were using spring-boot-parent, replace it with dependency management of your own that meets your application’s needs.
Supported values for .enabled properties have been tightened with this release and are now more consistent.
Values must now be either true or false.
Previous versions of Spring Boot would sometimes use conditions that considered any value other than false as enabled.
Rules for profile naming have been tightened with this release and are now more consistent.
Profiles can now only contain - (dash), _ (underscore), letters and digits.
Additionally, Profiles are not allowed to start or end with - or _.
|
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
If a TaskDecorator bean is present, it is associated to scheduled tasks.
ThreadPoolTaskSchedulerBuilder has been updated so that it is applied for programmatic schedulers created by the auto-configured builder.
Support for configuring a Vibur DBCP connection pool using DataSourceBuilder has been added.
Dependency management has also been updated to cover org.vibur:vibur-dbcp.
Add support for configuring ReadFrom using the spring.data.redis.from property.
Spring Boot 3.5.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
application_nameproperty of the Postgres docker container is now configured by default usingspring.application.name. -
The auto-configuration for Jackson retains modules that have been added prior to its execution, rather than overwriting them.
-
Tomcat connector’s max parameter count can be configured using the
server.tomcat.max-parameter-countproperty. -
Actuator’s process info contributor now contains virtual thread information when running on JDK 24 or later.
-
The ECS structured logging format now adds Logback and Log4j’s markers in the
tagsfield. -
Spring Boot now installs a Logback
OnErrorConsoleStatusListenerto print error messages during Logback initialization to the console. -
The 'error' entry returned from
ErrorAttributesnow wraps allMessageSourceResolvableinstances to ensure safe JSON serialization. -
Zipkin auto-configuration now uses
ZipkinHttpClientSenderby default, if theHttpClientclass is unavailableURLConnectionSenderis used. -
A new
@ConditionalOnBooleanPropertyannotation has been introduced.