Skip to content

Spring Boot 3.5.0 M3 Release Notes

Moritz Halbritter edited this page Mar 13, 2025 · 30 revisions

Spring Boot 3.5.0-M3 Release Notes

Upgrading from Spring Boot 3.4

TBD

Minimum Requirements Changes

None.

New and Noteworthy

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

TBD

Testcontainers and Docker Compose support for lldap/lldap containers

Containers using the lldap/lldap image can now be used with Docker Compose and Testcontainers. Testcontainers supports this image with LLdapContainer.

OpenTelemetry

Spring Boot now supports the OTEL_RESOURCE_ATTRIBUTES and OTEL_SERVICE_NAME environment variables. Resource attributes configured through the configuration property taking precedence over those from the environment variables.

Additionally, support for the service.namespace resource attribute has been added. The value of this attribute is read from the spring.application.group configuration property.

Support for the service.group resource attribute has been deprecated and will be removed in a future release.

It’s now possible to define a custom BatchSpanProcessor bean.

The span export can now be configured with newly added properties under the`management.tracing.opentelemetry.export` prefix.

Dependency Upgrades

Spring Boot 3.5.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:

TBD

Miscellaneous

Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:

  • Logging for Cloud Native Buildpacks integration has been improved.

  • The new property spring.data.mongodb.protocol has been added to allow the MongoDB protocol to be customized.

  • Logback and Log4j2 now respect the console charset.

  • The transport-specific configuration properties for GraphQL have been reorganized. spring.graphql.path is now spring.graphql.http.path and spring.graphql.sse.timeout is replaced by spring.graphql.http.sse.timeout.

  • Support for Zipkin’s URLConnectionSender has been removed.

  • Removed the default value of OtlpMetricsProperties.url. However, this should lead to no visible changes as Micrometer then provides the default value.

  • The auto-configured JdbcTemplate can be further customized using additional configuration properties for ignoreWarnings, skipResultsProcess, skipUndeclaredResults, and resultsMapCaseInsensitive.

  • In most cases, a DataSource can now be auto-configured without spring-jdbc on the classpath. spring-jdbc is still required to use an embedded database without a connection pool.

  • The property server.tomcat.use-apr now defaults to never. If you want to use Tomcat’s APR, set the property to when-available or always.

Deprecations in Spring Boot 3.5.0-M3

TBD

Clone this wiki locally