github spring-projects/spring-boot v3.1.0-RC2

latest releases: v3.4.0-RC1, v3.3.5, v3.2.11...
pre-release18 months ago

⭐ New Features

  • Provide a Gradle task for running an application using the test source set's output and runtime classpath #35248
  • Support import of idomatic testcontainer declaration classes #35245
  • Change DockerComposeProperties shutdown default to stop #35239
  • Reduce the volume of Logback's output before the logging system is initialized #35238
  • Improve testcontainers lifecycle to Initialize containers first and destroy them last #35223
  • Apply TestcontainersLifecycleApplicationContextInitializer automatically for context tests #35222
  • Don't call close methods for reusable testcontainers #35210
  • Add manifest entry to indicate that a jar has been built for native image #35205
  • SpringApplication.from(...) should provide access to the created context #35203
  • Provide a Maven goal for running an application using a main class from src/test/java and the test runtime classpath #35202
  • Allow testcontainer beans to also contribute properties #35201
  • Remove service connection support for InfluxDB #35189
  • Support Brave's joint spans #35165
  • Reinstate dependency management for io.r2dbc:r2dbc-mssql #35159
  • Add SSL bundle support to Elasticsearch auto-configuration #35155
  • Allow Couchbase SSL to be enabled without custom trust material #35147
  • Add Docker Compose service connection support for SQL Server using JDBC #35146
  • Add Docker Compose service connection support for Oracle Database using JDBC #35145
  • Add Docker Compose service connection support for SQL Server using R2DBC #35144
  • Add Docker Compose service connection support for Oracle Database using R2DBC #35143
  • Add Docker Compose service connection support for Liquibase #35141
  • Add Docker Compose service connection support for Flyway #35138
  • Add Docker Compose service connection support for Cassandra #35136
  • Deprecate Couchbase SSL keystore properties #35135
  • Add service connection from Testcontainers Zipkin #35107
  • Add SSL bundle support to Redis auto-configuration #34815

🐞 Bug Fixes

  • Webflux server gracefulshutdown throws NullPointerException #35270
  • Health actuator mail details does not show default port #35255
  • SessionRepositoryFilterConfiguration can cause early initialization of SessionRepository beans including Redis #35242
  • Liveness and readiness probes return down when lazy initialization is enabled #35237
  • Devtools main method search algorithm can find incorrect main method #35221
  • TestTypeExcludeFilter is not applied when using SpringApplication.from #35206
  • When a WebFlux app is deployed to Cloud Foundry some metrics are lost and numerous beans are ineligible for post-processing #35171
  • @ServiceConnection annotation causes early bean initialization #35168
  • @ServletComponentScan causes AOT processing to fail with "Code generation is not supported for bean definitions declaring an instance supplier callback" #35160
  • Treating a null Flyway-specific password as an empty string prevents the use of PGPASS for authentication #35132
  • Containers managed by TestcontainersLifecycleBeanPostProcessor are closed twice #35120
  • spring-boot-testcontainers does not add org.testcontainers:testcontainers to the compile classpath of consumers #35119
  • Testcontainers JDBC URL doesn't work with Spring Boot 3.1.0-RC1 #35109
  • Kafka autoconfiguration fails to resolve spring.kafka.bootstrap-servers when using Testcontainers' KafkaContainer #34770

📔 Documentation

  • Add reference to Tor Spring Boot Starter #35272
  • Correct list of annotations that are equivalent to @SpringBootApplication #35231
  • Harmonize references to application.yaml files in reference docs #35130
  • Fix typo in testing docs #35128
  • Add Kotlin samples to SSL bundle documentation #35105
  • Consider reworking documentation around efficient deployment #32905
  • Update getting started with alternative gradle instructions #32779

🔨 Dependency Upgrades

  • Upgrade to Elasticsearch Client 8.7.1 #35274
  • Upgrade to Hibernate 6.2.2.Final #35275
  • Upgrade to Infinispan 14.0.9.Final #35276
  • Upgrade to Jackson Bom 2.15.0 #35277
  • Upgrade to Jakarta Activation 2.1.2 #35278
  • Upgrade to JUnit Jupiter 5.9.3 #35279
  • Upgrade to Kotlin 1.8.21 #35280
  • Upgrade to MariaDB 3.1.4 #35281
  • Upgrade to Mockito 5.3.1 #35282
  • Upgrade to Netty 4.1.92.Final #35283
  • Upgrade to R2DBC MySQL 1.0.1 #35284

❤️ Contributors

Thank you to all the contributors who worked on this release:

@aasaru, @deejay1, @eddumelendez, @ivandimitrov8080, @jonatan-ivanov, @quaff, and @theborakompanioni

Don't miss a new spring-boot release

NewReleases is sending notifications on new releases.