-
Notifications
You must be signed in to change notification settings - Fork 40.8k
Spring Boot 3.1.0 RC2 Release Notes
For changes in earlier milestones, please refer to:
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |
More services, with both Docker Compose and Testcontainers, are now supported. Please see the reference documentation for a complete list of services supported with Docker Compose and Testcontainers.
A new Maven goal (spring-boot:test-run
) and Gradle task (bootTestRun
) have been introduced.
They can be used to launch an application through a test main method when using Testcontainers at development time.
Classes declaring Testcontainers Container
instances as static fields can be imported using a new @ImportTestcontainers
annotation. Please refer to the reference documentation for further details.
Management of Testcontainers lifecycle has been improved, ensuring that containers are initialized first and destroyed last. Support for reusable containers has also been improved.
To contribute properties from Container
@Bean
methods, DynamicPropertyRegistry
can now be injected.
This works in a similar way to @DynamicPropertySource
that you can use in tests. Please refer to the reference docs for further details.
Support for SSL configuration using SSL bundles has been added to Redis and Elasticsearch auto-configuration.
Apart from the changes listed above, there have also been some minor tweaks and improvements including:
-
Dependency management for
io.r2dbc:r2dbc-mssql
has been reinstated -
Logback’s root log level is now defaulted to
INFO
as early as possible -
By default, Docker Compose is now stopped using
stop
rather thandown