⭐ New Features
- Restore support for Jersey now that it supports JAX-RS 4 (Jakarta EE 11) #47967
- Refactor OpenTelemetryLoggingAutoConfiguration from OpenTelemetrySdkAutoConfiguration #47963
- Switch property backing OnEnabledTracingExportCondition to management.tracing.export.{name}.enabled #47959
- Rename management.zipkin.tracing to management.tracing.export.zipkin #47958
- Switch property backing OnEnabledLoggingExportCondition to management.logging.export.{name}.enabled #47957
- Rename management.opentelemetry.logging.export properties #47954
- Split spring-boot-micrometer-tracing into Brave and OpenTelemetry specific module #47953
- Use Elasticsearch 9.2's elasticsearch-rest5-client in spring-boot-elasticsearch #47945
- Provide auto-configuration for Jackson's XML data format #47942
- Rename OnlyOnceLoggingDenyMeterFilter #47925
- Allow url to be specified when working with
@AutoConfigureWebMvcconfigured HtmlUnit beans #47857
🐞 Bug Fixes
- Incorrect metadata for HttpServiceClientProperties ("spring.http.serviceclient") #47943
- Setting 'max-uri-tags' does not prevent unlimited meter growth on any AutoConfiguredCompositeMeterRegistry #47924
- Docker response 407 is not handled correctly resulting in no error message #47901
- Runtime hints for web resources no longer include nested folders #47894
- Auto-configuration for WebTestClient should be in an autoconfigure package #47892
- Jackson 2 support does not work in some sliced tests #47869
- spring-boot-starter-zipkin is missing spring-boot-micrometer-tracing dependency #47866
- Application TaskExecutor is no longer used when a custom AsyncConfigurer bean is defined #47897
- Custom Jackson serializers are no longer included in WebMvcTest and WebFluxTest #47864
- spring-boot-webtestclient is missing from GraphQL test starter #47849
- spring-boot-security brings test dependencies #47813
@JsonTestand@AutoConfigureJsonfail when using spring-boot-jackson2 #47811- Message converter customizer ordering impedes overriding #47798
- Deprecated testcontainers implementations are no longer detected #47796
- reactor-test is missing from reactive test starters #47795
- spring-kafka-test is missing from spring-boot-starter-kafka-test #47793
- spring-batch-test is missing from spring-boot-starter-batch-test #47792
- spring-rabbit-test is missing from spring-boot-starter-amqp-test #47791
- App fails to start when using Actuator with Jackson 2 and without spring-web #47788
- Depending on spring-boot-starter-actuator without a tracing bridge results in empty and unwanted correlation IDs in the logs #47785
- spring-boot-maven-plugin process-aot goal does not find package-private main method #47783
- Templating auto-configurations still have enabled properties that are not relevant following modularization #32250
📔 Documentation
- Config property management.logging.export.enabled is missing from documentation #47961
- Add a section about upgrading to Spring Boot 4.x #47916
- BootstrapContext#getOrElseThrow has incorrect reference to IllegalStateException #47906
- Clarify when BootstrapContext get methods may return null rather than throwing an exception or calling the fallback supplier #47899
- Document that web clients are opt-in with
@SpringBootTest#47891 - Document AssertJ support in RestTestClient #47881
- Document that Actuator endpoint may have at most one extension of each type #47874
- Limit Kotlin API documentation to Kotlin-specific APIs #47860
- Correct link to JacksonTester in JacksonTesterTestAutoConfiguration javadoc #47784
🔨 Dependency Upgrades
- Downgrade to Cassandra Driver 4.19.0 #47938
- Upgrade to AspectJ 1.9.25 #47931
- Upgrade to Caffeine 3.2.3 #47884
- Upgrade to Elasticsearch Client 9.2.0 #47847
- Upgrade to GraphQL Java 25.0.beta-9 #47911
- Upgrade to Hibernate 7.1.6.Final #47932
- Upgrade to Jackson 2 Bom 2.20.1 #47886
- Upgrade to JUnit Jupiter 6.0.1 #47933
- Upgrade to Kotlin 2.2.21 #47887
- Upgrade to Prometheus Client 1.4.2 #47888
- Upgrade to Quartz 2.5.1 #47889
- Upgrade to R2DBC Postgresql 1.1.1.RELEASE #47890
- Upgrade to Rabbit AMQP Client 5.27.1 #47950
- Upgrade to Spring Batch 6.0.0-RC2 #47842
- Upgrade to Spring Data Bom 2025.1.0-RC2 #47843
- Upgrade to Spring Framework 7.0.0-RC3 #47850
- Upgrade to Spring GraphQL 2.0.0-RC2 #47879
- Upgrade to Spring HATEOAS 3.0.0-RC2 #47851
- Upgrade to Spring Integration 7.0.0-RC2 #47880
- Upgrade to Spring Security 7.0.0-RC3 #47844
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Walti91, @filiphr, @mipo256, @namest504, @ngocnhan-tran1996, @siva-sai-udaygiri, and @tschut