spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-test)
### [`v3.2.0`](https://togithub.com/spring-projects/spring-boot/releases/tag/v3.2.0)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v3.1.6...v3.2.0)
##### :star: New Features
- Auto-configure observations for RestClients [#38500](https://togithub.com/spring-projects/spring-boot/issues/38500)
- Add support for Oracle Free, the replacement for Oracle XE, with Testcontainers and Docker Compose [#38476](https://togithub.com/spring-projects/spring-boot/issues/38476)
- Provide dependency management for org.crac:crac [#38378](https://togithub.com/spring-projects/spring-boot/issues/38378)
- Add new properties for Liquibase 4.24.0 [#38274](https://togithub.com/spring-projects/spring-boot/pull/38274)
- Provide a way to create custom ApplicationContextFactory in SpringBootContextLoader [#38205](https://togithub.com/spring-projects/spring-boot/issues/38205)
- Report friendly error when failing to find AOT initializer [#38188](https://togithub.com/spring-projects/spring-boot/pull/38188)
##### :lady_beetle: Bug Fixes
- Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans [#38507](https://togithub.com/spring-projects/spring-boot/issues/38507)
- CRaC restoration fails when Actuator's running on a separate port [#38502](https://togithub.com/spring-projects/spring-boot/issues/38502)
- App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created [#38286](https://togithub.com/spring-projects/spring-boot/issues/38286)
- App fails to start with a NoSuchMethodError when using Flyway 10.0.0 [#38268](https://togithub.com/spring-projects/spring-boot/issues/38268)
- MeterRegistry throws BeanCreationNotAllowedException on shutdown [#38240](https://togithub.com/spring-projects/spring-boot/issues/38240)
- Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar [#38233](https://togithub.com/spring-projects/spring-boot/issues/38233)
- Docker JSON parsing fails on certain locales [#38220](https://togithub.com/spring-projects/spring-boot/issues/38220)
- FileNotFoundException is thrown serving resources due to JarUrlConnection.getLastModified() returning zero [#38204](https://togithub.com/spring-projects/spring-boot/issues/38204)
- Failed to extract parameter names exception thrown when binding with non-enumerable property source [#38201](https://togithub.com/spring-projects/spring-boot/issues/38201)
- Spring Boot 3.2.0-RC1 application fails on JDK with CRaC but without a dependency on org.crac:crac [#38186](https://togithub.com/spring-projects/spring-boot/issues/38186)
- Missing configuration processing for PartEvent support [#37642](https://togithub.com/spring-projects/spring-boot/issues/37642)
##### :notebook_with_decorative_cover: Documentation
- Document supported SQL comment prefixes [#38496](https://togithub.com/spring-projects/spring-boot/issues/38496)
- Update access log pattern documentation to align with changes in Tomcat 10 [#38425](https://togithub.com/spring-projects/spring-boot/issues/38425)
- Update Dynatrace docs with info about the meter metadata toggle [#38368](https://togithub.com/spring-projects/spring-boot/pull/38368)
- Improve documentation regarding tracing in tests [#38362](https://togithub.com/spring-projects/spring-boot/issues/38362)
- Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage [#38354](https://togithub.com/spring-projects/spring-boot/issues/38354)
- Document how to use cloudfoundry specific actuators with a custom base path for webflux applications [#38353](https://togithub.com/spring-projects/spring-boot/issues/38353)
- Document Liberica JDK with CRaC [#38350](https://togithub.com/spring-projects/spring-boot/pull/38350)
- Add a Restarting a stopped or failed Job section to the batch howto [#38341](https://togithub.com/spring-projects/spring-boot/issues/38341)
- Clarify documentation on importing Testcontainer declarations and using `@ServiceConnection` or `@DynamicPropertySource` [#38337](https://togithub.com/spring-projects/spring-boot/issues/38337)
- Make distinction between Testcontainers for integration tests and development more clear in documentation [#38336](https://togithub.com/spring-projects/spring-boot/issues/38336)
- When using Testcontainers at development time with `@ServiceConnection` on a `@Bean` method, describe when to use the name attribute and why [#38335](https://togithub.com/spring-projects/spring-boot/issues/38335)
- Fix link to Elasticsearch health indicator [#38334](https://togithub.com/spring-projects/spring-boot/issues/38334)
- Update Spring Framework documentation links [#38289](https://togithub.com/spring-projects/spring-boot/issues/38289)
- Code sample in "Developing Your First Spring Boot Application" does not work [#38272](https://togithub.com/spring-projects/spring-boot/issues/38272)
- Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI [#38249](https://togithub.com/spring-projects/spring-boot/issues/38249)
- Add how-to documentation for test-only database migrations with Flyway/Liquibase [#38231](https://togithub.com/spring-projects/spring-boot/issues/38231)
- Document that PEM content can be used directly in application.yaml [#38215](https://togithub.com/spring-projects/spring-boot/issues/38215)
- Document that TomcatConnectorCustomizers are not applied to additional connectors [#38198](https://togithub.com/spring-projects/spring-boot/issues/38198)
##### :hammer: Dependency Upgrades
- Upgrade to AspectJ 1.9.20.1 [#38358](https://togithub.com/spring-projects/spring-boot/issues/38358)
- Upgrade to Byte Buddy 1.14.10 [#38407](https://togithub.com/spring-projects/spring-boot/issues/38407)
- Upgrade to DB2 JDBC 11.5.9.0 [#38408](https://togithub.com/spring-projects/spring-boot/issues/38408)
- Upgrade to Dependency Management Plugin 1.1.4 [#38346](https://togithub.com/spring-projects/spring-boot/issues/38346)
- Upgrade to Dropwizard Metrics 4.2.22 [#38409](https://togithub.com/spring-projects/spring-boot/issues/38409)
- Upgrade to GraphQL Java 21.3 [#38478](https://togithub.com/spring-projects/spring-boot/issues/38478)
- Upgrade to Hazelcast 5.3.6 [#38410](https://togithub.com/spring-projects/spring-boot/issues/38410)
- Upgrade to Infinispan 14.0.21.Final [#38411](https://togithub.com/spring-projects/spring-boot/issues/38411)
- Upgrade to JUnit Jupiter 5.10.1 [#38412](https://togithub.com/spring-projects/spring-boot/issues/38412)
- Upgrade to Kotlin Serialization 1.6.1 [#38413](https://togithub.com/spring-projects/spring-boot/issues/38413)
- Upgrade to Lettuce 6.3.0.RELEASE [#38414](https://togithub.com/spring-projects/spring-boot/issues/38414)
- Upgrade to Maven Javadoc Plugin 3.6.2 [#38415](https://togithub.com/spring-projects/spring-boot/issues/38415)
- Upgrade to Micrometer 1.12.0 [#38305](https://togithub.com/spring-projects/spring-boot/issues/38305)
- Upgrade to Micrometer Tracing 1.2.0 [#38306](https://togithub.com/spring-projects/spring-boot/issues/38306)
- Upgrade to Mockito 5.7.0 [#38479](https://togithub.com/spring-projects/spring-boot/issues/38479)
- Upgrade to MongoDB 4.11.1 [#38416](https://togithub.com/spring-projects/spring-boot/issues/38416)
- Upgrade to Netty 4.1.101.Final [#38417](https://togithub.com/spring-projects/spring-boot/issues/38417)
- Upgrade to Pooled JMS 3.1.5 [#38418](https://togithub.com/spring-projects/spring-boot/issues/38418)
- Upgrade to Pulsar Reactive 0.5.0 [#38406](https://togithub.com/spring-projects/spring-boot/issues/38406)
- Upgrade to Rabbit Stream Client 0.14.0 [#38480](https://togithub.com/spring-projects/spring-boot/issues/38480)
- Upgrade to Reactor Bom 2023.0.0 [#38307](https://togithub.com/spring-projects/spring-boot/issues/38307)
- Upgrade to Spring AMQP 3.1.0 [#38308](https://togithub.com/spring-projects/spring-boot/issues/38308)
- Upgrade to Spring Authorization Server 1.2.0 [#38309](https://togithub.com/spring-projects/spring-boot/issues/38309)
- Upgrade to Spring Batch 5.1.0 [#38310](https://togithub.com/spring-projects/spring-boot/issues/38310)
- Upgrade to Spring Data Bom 2023.1.0 [#38311](https://togithub.com/spring-projects/spring-boot/issues/38311)
- Upgrade to Spring Framework 6.1.1 [#38451](https://togithub.com/spring-projects/spring-boot/issues/38451)
- Upgrade to Spring GraphQL 1.2.4 [#38313](https://togithub.com/spring-projects/spring-boot/issues/38313)
- Upgrade to Spring HATEOAS 2.2.0 [#38314](https://togithub.com/spring-projects/spring-boot/issues/38314)
- Upgrade to Spring Integration 6.2.0 [#38315](https://togithub.com/spring-projects/spring-boot/issues/38315)
- Upgrade to Spring Kafka 3.1.0 [#38316](https://togithub.com/spring-projects/spring-boot/issues/38316)
- Upgrade to Spring LDAP 3.2.0 [#38317](https://togithub.com/spring-projects/spring-boot/issues/38317)
- Upgrade to Spring Pulsar 1.0.0 [#38419](https://togithub.com/spring-projects/spring-boot/issues/38419)
- Upgrade to Spring RESTDocs 3.0.1 [#38420](https://togithub.com/spring-projects/spring-boot/issues/38420)
- Upgrade to Spring Security 6.2.0 [#38318](https://togithub.com/spring-projects/spring-boot/issues/38318)
- Upgrade to Spring Session 3.2.0 [#38319](https://togithub.com/spring-projects/spring-boot/issues/38319)
- Upgrade to Spring WS 4.0.8 [#38320](https://togithub.com/spring-projects/spring-boot/issues/38320)
- Upgrade to Testcontainers 1.19.3 [#38471](https://togithub.com/spring-projects/spring-boot/issues/38471)
- Upgrade to Tomcat 10.1.16 [#38421](https://togithub.com/spring-projects/spring-boot/issues/38421)
- Upgrade to Versions Maven Plugin 2.16.2 [#38422](https://togithub.com/spring-projects/spring-boot/issues/38422)
- Upgrade to WebJars Locator Core 0.55 [#38481](https://togithub.com/spring-projects/spring-boot/issues/38481)
##### :heart: Contributors
Thank you to all the contributors who worked on this release:
[@EvaristeGalois11](https://togithub.com/EvaristeGalois11), [@PENEKhun](https://togithub.com/PENEKhun), [@abdullah-jaffer](https://togithub.com/abdullah-jaffer), [@audtjddld](https://togithub.com/audtjddld), [@cachescrubber](https://togithub.com/cachescrubber), [@dreis2211](https://togithub.com/dreis2211), [@eddumelendez](https://togithub.com/eddumelendez), [@izeye](https://togithub.com/izeye), [@jonatan-ivanov](https://togithub.com/jonatan-ivanov), [@pirgeo](https://togithub.com/pirgeo), [@quaff](https://togithub.com/quaff), and [@sdeleuze](https://togithub.com/sdeleuze)
### [`v3.1.6`](https://togithub.com/spring-projects/spring-boot/releases/tag/v3.1.6)
[Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v3.1.5...v3.1.6)
#### :star: New Features
- Upgrade default CNB builders to Paketo Jammy [#38485](https://togithub.com/spring-projects/spring-boot/issues/38485)
#### :lady_beetle: Bug Fixes
- Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans [#38473](https://togithub.com/spring-projects/spring-boot/issues/38473)
- App fails to start with a NoSuchMethodError when using Flyway 10.0.0 [#38267](https://togithub.com/spring-projects/spring-boot/issues/38267)
- Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar [#38209](https://togithub.com/spring-projects/spring-boot/issues/38209)
- App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created [#38181](https://togithub.com/spring-projects/spring-boot/issues/38181)
- spring.webflux.multipart.max-disk-usage-per-part behaves incorrectly for values where the number of bytes overflows an int [#38151](https://togithub.com/spring-projects/spring-boot/issues/38151)
- Mail health indicator fails when host is not set in properties [#38043](https://togithub.com/spring-projects/spring-boot/issues/38043)
- Docker Compose integration does not work with 2.23.0 due to 'Cannot invoke "org.springframework.boot.docker.compose.core.DockerCliInspectResponse.hostConfig()" because "inspectResponse" is null' [#37982](https://togithub.com/spring-projects/spring-boot/issues/37982)
- Docker JSON parsing fails on certain locales [#37648](https://togithub.com/spring-projects/spring-boot/issues/37648)
- Testcontainers support for various containers does not work in a native-image [#36606](https://togithub.com/spring-projects/spring-boot/issues/36606)
#### :notebook_with_decorative_cover: Documentation
- Document supported SQL comment prefixes [#38495](https://togithub.com/spring-projects/spring-boot/issues/38495)
- Update access log pattern documentation to align with changes in Tomcat 10 [#38424](https://togithub.com/spring-projects/spring-boot/issues/38424)
- Add a Restarting a stopped or failed Job section to the batch howto [#38340](https://togithub.com/spring-projects/spring-boot/issues/38340)
- Fix link to Elasticsearch health indicator [#38333](https://togithub.com/spring-projects/spring-boot/issues/38333)
- Update Spring Framework documentation links [#38288](https://togithub.com/spring-projects/spring-boot/issues/38288)
- Code sample in "Developing Your First Spring Boot Application" does not work [#38271](https://togithub.com/spring-projects/spring-boot/issues/38271)
- Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI [#38248](https://togithub.com/spring-projects/spring-boot/issues/38248)
- Add how-to documentation for test-only database migrations with Flyway/Liquibase [#38230](https://togithub.com/spring-projects/spring-boot/issues/38230)
- Document that PEM content can be used directly in application.yaml [#38210](https://togithub.com/spring-projects/spring-boot/issues/38210)
- Document that TomcatConnectorCustomizers are not applied to additional connectors [#38197](https://togithub.com/spring-projects/spring-boot/issues/38197)
- Document that application.\* banner variables require a packaged jar or the use of Boot's launcher [#38148](https://togithub.com/spring-projects/spring-boot/issues/38148)
- Improve systemd configuration documentation [#38116](https://togithub.com/spring-projects/spring-boot/issues/38116)
- Clarify that `@AutoConfigureWebTestClient` binds WebTestClient to mock infrastructure [#38113](https://togithub.com/spring-projects/spring-boot/issues/38113)
- MyErrorWebExceptionHandler example in documentation isn't working [#38110](https://togithub.com/spring-projects/spring-boot/issues/38110)
- Document that properties that change an application's beans are fixed at build time [#38107](https://togithub.com/spring-projects/spring-boot/issues/38107)
- Add section on AspectJ support [#38096](https://togithub.com/spring-projects/spring-boot/issues/38096)
- Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default [#38089](https://togithub.com/spring-projects/spring-boot/issues/38089)
- Document that testing with ApplicationContextRunner in a native image is not supported [#38081](https://togithub.com/spring-projects/spring-boot/issues/38081)
- Spring Boot Actuator documentation misses management.endpoint.env.show-values property [#38079](https://togithub.com/spring-projects/spring-boot/issues/38079)
- Document how to downgrade dependencies to use embedded Jetty 11 [#38076](https://togithub.com/spring-projects/spring-boot/issues/38076)
- Update "Use Another Web Server" how-to to reflect Servlet 5.0 baseline [#38074](https://togithub.com/spring-projects/spring-boot/issues/38074)
- Update "Running Behind a Front-end Proxy Server" to include reactive and ForwardedHeaderTransformer [#38071](https://togithub.com/spring-projects/spring-boot/issues/38071)
- Document how to customize the basePackages that auto-configurations consider (for example Spring Data Repositories) [#38053](https://togithub.com/spring-projects/spring-boot/issues/38053)
- Reference documentation MyContainersConfiguration sample is missing `@ServiceConnection` [#38046](https://togithub.com/spring-projects/spring-boot/issues/38046)
- Clarifying documentation on including a top-level `@TestConfiguration` class in a test [#38040](https://togithub.com/spring-projects/spring-boot/issues/38040)
- Document ConfigurationPropertyCaching [#38037](https://togithub.com/spring-projects/spring-boot/issues/38037)
- Document server.servlet.encoding.\* properties and server.servlet.encoding.mapping in particular [#38034](https://togithub.com/spring-projects/spring-boot/issues/38034)
- Document configuration for building images with Colima [#38031](https://togithub.com/spring-projects/spring-boot/issues/38031)
- Add a section on customizing embedded reactive servers [#38027](https://togithub.com/spring-projects/spring-boot/issues/38027)
- Improve documentation of `classpath.idx` file and its generation by the Maven and Gradle plugins [#38024](https://togithub.com/spring-projects/spring-boot/issues/38024)
- Document additional user configuration that's required after setting `spring.hateoas.use-hal-as-default-json-media-type` to `false` [#38021](https://togithub.com/spring-projects/spring-boot/issues/38021)
- Clarify that MVC components provided through WebMvcRegistrations are subject to subsequent processing and configuration by MVC [#38018](https://togithub.com/spring-projects/spring-boot/issues/38018)
- Add Embedded MongoDB to community starters [#38015](https://togithub.com/spring-projects/spring-boot/issues/38015)
- Document that spring-boot-starter-parent sets maven.compiler.release and how to unset it if needed [#37993](https://togithub.com/spring-projects/spring-boot/issues/37993)
- Improve health group membership validation error message to provide hint for property to disable validation [#36489](https://togithub.com/spring-projects/spring-boot/issues/36489)
- Explain how Docker Compose support works when services are already running [#36483](https://togithub.com/spring-projects/spring-boot/issues/36483)
- Outdated spring-boot-maven-plugin build-info documentation causing project builds to fail [#36114](https://togithub.com/spring-projects/spring-boot/issues/36114)
- When using Testcontainers at development time with `@ServiceConnection` on a `@Bean` method, describe when to use the name attribute and why [#36071](https://togithub.com/spring-projects/spring-boot/issues/36071)
- Make distinction between Testcontainers for integration tests and development more clear in documentation [#35856](https://togithub.com/spring-projects/spring-boot/issues/35856)
- Clarify documentation on importing Testcontainer declarations and using `@ServiceConnection` or `@DynamicPropertySource` [#35629](https://togithub.com/spring-projects/spring-boot/issues/35629)
- Improve documentation regarding tracing in tests [#33975](https://togithub.com/spring-projects/spring-boot/issues/33975)
- Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage [#33088](https://togithub.com/spring-projects/spring-boot/issues/33088)
- Document how to use cloudfoundry specific actuators with a custom base path for webflux applications [#24991](https://togithub.com/spring-projects/spring-boot/issues/24991)
#### :hammer: Dependency Upgrades
- Upgrade to ActiveMQ 5.18.3 [#38452](https://togithub.com/spring-projects/spring-boot/issues/38452)
- Upgrade to AspectJ 1.9.20.1 [#38357](https://togithub.com/spring-projects/spring-boot/issues/38357)
- Upgrade to Byte Buddy 1.14.10 [#38453](https://togithub.com/spring-projects/spring-boot/issues/38453)
- Upgrade to DB2 JDBC 11.5.9.0 [#38454](https://togithub.com/spring-projects/spring-boot/issues/38454)
- Upgrade to Dependency Management Plugin 1.1.4 [#38345](https://togithub.com/spring-projects/spring-boot/issues/38345)
- Upgrade to Dropwizard Metrics 4.2.22 [#38455](https://togithub.com/spring-projects/spring-boot/issues/38455)
- Upgrade to Glassfish JAXB 4.0.4 [#38456](https://togithub.com/spring-projects/spring-boot/issues/38456)
- Upgrade to Infinispan 14.0.21.Final [#38457](https://togithub.com/spring-projects/spring-boot/issues/38457)
- Upgrade to Jakarta Json 2.1.3 [#38458](https://togithub.com/spring-projects/spring-boot/issues/38458)
- Upgrade to Jakarta XML SOAP 3.0.1 [#38459](https://togithub.com/spring-projects/spring-boot/issues/38459)
- Upgrade to Jakarta XML WS 4.0.1 [#38460](https://togithub.com/spring-projects/spring-boot/issues/38460)
- Upgrade to Jetty 11.0.18 [#38462](https://togithub.com/spring-projects/spring-boot/issues/38462)
- Upgrade to Jetty Reactive HTTPClient 3.0.10 [#38461](https://togithub.com/spring-projects/spring-boot/issues/38461)
- Upgrade to Lettuce 6.2.7.RELEASE [#38463](https://togithub.com/spring-projects/spring-boot/issues/38463)
- Upgrade to Micrometer 1.11.6 [#38297](https://togithub.com/spring-projects/spring-boot/issues/38297)
- Upgrade to Micrometer Tracing 1.1.7 [#38298](https://togithub.com/spring-projects/spring-boot/issues/38298)
- Upgrade to Native Build Tools Plugin 0.9.28 [#38464](https://togithub.com/spring-projects/spring-boot/issues/38464)
- Upgrade to Netty 4.1.101.Final [#38465](https://togithub.com/spring-projects/spring-boot/issues/38465)
- Upgrade to Pooled JMS 3.1.5 [#38466](https://togithub.com/spring-projects/spring-boot/issues/38466)
- Upgrade to Reactor Bom 2022.0.13 [#38299](https://togithub.com/spring-projects/spring-boot/issues/38299)
- Upgrade to SAAJ Impl 3.0.3 [#38467](https://togithub.com/spring-projects/spring-boot/issues/38467)
- Upgrade to Spring Batch 5.0.4 [#38493](https://togithub.com/spring-projects/spring-boot/issues/38493)
- Upgrade to Spring Data Bom 2023.0.6 [#38300](https://togithub.com/spring-projects/spring-boot/issues/38300)
- Upgrade to Spring Framework 6.0.14 [#38301](https://togithub.com/spring-projects/spring-boot/issues/38301)
- Upgrade to Spring GraphQL 1.2.4 [#38302](https://togithub.com/spring-projects/spring-boot/issues/38302)
- Upgrade to Spring HATEOAS 2.1.3 [#38375](https://togithub.com/spring-projects/spring-boot/issues/38375)
- Upgrade to Spring Integration 6.1.5 [#38303](https://togithub.com/spring-projects/spring-boot/issues/38303)
- Upgrade to Spring Kafka 3.0.13 [#38370](https://togithub.com/spring-projects/spring-boot/issues/38370)
- Upgrade to Spring RESTDocs 3.0.1 [#38468](https://togithub.com/spring-projects/spring-boot/issues/38468)
- Upgrade to Spring WS 4.0.8 [#38304](https://togithub.com/spring-projects/spring-boot/issues/38304)
- Upgrade to Tomcat 10.1.16 [#38469](https://togithub.com/spring-projects/spring-boot/issues/38469)
#### :heart: Contributors
Thank you to all the contributors who worked on this release:
[@GVictorG7](https://togithub.com/GVictorG7), [@PENEKhun](https://togithub.com/PENEKhun), [@audtjddld](https://togithub.com/audtjddld), [@cachescrubber](https://togithub.com/cachescrubber), [@dreis2211](https://togithub.com/dreis2211), [@eddumelendez](https://togithub.com/eddumelendez), [@izeye](https://togithub.com/izeye), [@jonatan-ivanov](https://togithub.com/jonatan-ivanov), and [@quaff](https://togithub.com/quaff)
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
3.1.5
->3.2.0
Release Notes
spring-projects/spring-boot (org.springframework.boot:spring-boot-starter-test)
### [`v3.2.0`](https://togithub.com/spring-projects/spring-boot/releases/tag/v3.2.0) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v3.1.6...v3.2.0) ##### :star: New Features - Auto-configure observations for RestClients [#38500](https://togithub.com/spring-projects/spring-boot/issues/38500) - Add support for Oracle Free, the replacement for Oracle XE, with Testcontainers and Docker Compose [#38476](https://togithub.com/spring-projects/spring-boot/issues/38476) - Provide dependency management for org.crac:crac [#38378](https://togithub.com/spring-projects/spring-boot/issues/38378) - Add new properties for Liquibase 4.24.0 [#38274](https://togithub.com/spring-projects/spring-boot/pull/38274) - Provide a way to create custom ApplicationContextFactory in SpringBootContextLoader [#38205](https://togithub.com/spring-projects/spring-boot/issues/38205) - Report friendly error when failing to find AOT initializer [#38188](https://togithub.com/spring-projects/spring-boot/pull/38188) ##### :lady_beetle: Bug Fixes - Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans [#38507](https://togithub.com/spring-projects/spring-boot/issues/38507) - CRaC restoration fails when Actuator's running on a separate port [#38502](https://togithub.com/spring-projects/spring-boot/issues/38502) - App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created [#38286](https://togithub.com/spring-projects/spring-boot/issues/38286) - App fails to start with a NoSuchMethodError when using Flyway 10.0.0 [#38268](https://togithub.com/spring-projects/spring-boot/issues/38268) - MeterRegistry throws BeanCreationNotAllowedException on shutdown [#38240](https://togithub.com/spring-projects/spring-boot/issues/38240) - Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar [#38233](https://togithub.com/spring-projects/spring-boot/issues/38233) - Docker JSON parsing fails on certain locales [#38220](https://togithub.com/spring-projects/spring-boot/issues/38220) - FileNotFoundException is thrown serving resources due to JarUrlConnection.getLastModified() returning zero [#38204](https://togithub.com/spring-projects/spring-boot/issues/38204) - Failed to extract parameter names exception thrown when binding with non-enumerable property source [#38201](https://togithub.com/spring-projects/spring-boot/issues/38201) - Spring Boot 3.2.0-RC1 application fails on JDK with CRaC but without a dependency on org.crac:crac [#38186](https://togithub.com/spring-projects/spring-boot/issues/38186) - Missing configuration processing for PartEvent support [#37642](https://togithub.com/spring-projects/spring-boot/issues/37642) ##### :notebook_with_decorative_cover: Documentation - Document supported SQL comment prefixes [#38496](https://togithub.com/spring-projects/spring-boot/issues/38496) - Update access log pattern documentation to align with changes in Tomcat 10 [#38425](https://togithub.com/spring-projects/spring-boot/issues/38425) - Update Dynatrace docs with info about the meter metadata toggle [#38368](https://togithub.com/spring-projects/spring-boot/pull/38368) - Improve documentation regarding tracing in tests [#38362](https://togithub.com/spring-projects/spring-boot/issues/38362) - Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage [#38354](https://togithub.com/spring-projects/spring-boot/issues/38354) - Document how to use cloudfoundry specific actuators with a custom base path for webflux applications [#38353](https://togithub.com/spring-projects/spring-boot/issues/38353) - Document Liberica JDK with CRaC [#38350](https://togithub.com/spring-projects/spring-boot/pull/38350) - Add a Restarting a stopped or failed Job section to the batch howto [#38341](https://togithub.com/spring-projects/spring-boot/issues/38341) - Clarify documentation on importing Testcontainer declarations and using `@ServiceConnection` or `@DynamicPropertySource` [#38337](https://togithub.com/spring-projects/spring-boot/issues/38337) - Make distinction between Testcontainers for integration tests and development more clear in documentation [#38336](https://togithub.com/spring-projects/spring-boot/issues/38336) - When using Testcontainers at development time with `@ServiceConnection` on a `@Bean` method, describe when to use the name attribute and why [#38335](https://togithub.com/spring-projects/spring-boot/issues/38335) - Fix link to Elasticsearch health indicator [#38334](https://togithub.com/spring-projects/spring-boot/issues/38334) - Update Spring Framework documentation links [#38289](https://togithub.com/spring-projects/spring-boot/issues/38289) - Code sample in "Developing Your First Spring Boot Application" does not work [#38272](https://togithub.com/spring-projects/spring-boot/issues/38272) - Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI [#38249](https://togithub.com/spring-projects/spring-boot/issues/38249) - Add how-to documentation for test-only database migrations with Flyway/Liquibase [#38231](https://togithub.com/spring-projects/spring-boot/issues/38231) - Document that PEM content can be used directly in application.yaml [#38215](https://togithub.com/spring-projects/spring-boot/issues/38215) - Document that TomcatConnectorCustomizers are not applied to additional connectors [#38198](https://togithub.com/spring-projects/spring-boot/issues/38198) ##### :hammer: Dependency Upgrades - Upgrade to AspectJ 1.9.20.1 [#38358](https://togithub.com/spring-projects/spring-boot/issues/38358) - Upgrade to Byte Buddy 1.14.10 [#38407](https://togithub.com/spring-projects/spring-boot/issues/38407) - Upgrade to DB2 JDBC 11.5.9.0 [#38408](https://togithub.com/spring-projects/spring-boot/issues/38408) - Upgrade to Dependency Management Plugin 1.1.4 [#38346](https://togithub.com/spring-projects/spring-boot/issues/38346) - Upgrade to Dropwizard Metrics 4.2.22 [#38409](https://togithub.com/spring-projects/spring-boot/issues/38409) - Upgrade to GraphQL Java 21.3 [#38478](https://togithub.com/spring-projects/spring-boot/issues/38478) - Upgrade to Hazelcast 5.3.6 [#38410](https://togithub.com/spring-projects/spring-boot/issues/38410) - Upgrade to Infinispan 14.0.21.Final [#38411](https://togithub.com/spring-projects/spring-boot/issues/38411) - Upgrade to JUnit Jupiter 5.10.1 [#38412](https://togithub.com/spring-projects/spring-boot/issues/38412) - Upgrade to Kotlin Serialization 1.6.1 [#38413](https://togithub.com/spring-projects/spring-boot/issues/38413) - Upgrade to Lettuce 6.3.0.RELEASE [#38414](https://togithub.com/spring-projects/spring-boot/issues/38414) - Upgrade to Maven Javadoc Plugin 3.6.2 [#38415](https://togithub.com/spring-projects/spring-boot/issues/38415) - Upgrade to Micrometer 1.12.0 [#38305](https://togithub.com/spring-projects/spring-boot/issues/38305) - Upgrade to Micrometer Tracing 1.2.0 [#38306](https://togithub.com/spring-projects/spring-boot/issues/38306) - Upgrade to Mockito 5.7.0 [#38479](https://togithub.com/spring-projects/spring-boot/issues/38479) - Upgrade to MongoDB 4.11.1 [#38416](https://togithub.com/spring-projects/spring-boot/issues/38416) - Upgrade to Netty 4.1.101.Final [#38417](https://togithub.com/spring-projects/spring-boot/issues/38417) - Upgrade to Pooled JMS 3.1.5 [#38418](https://togithub.com/spring-projects/spring-boot/issues/38418) - Upgrade to Pulsar Reactive 0.5.0 [#38406](https://togithub.com/spring-projects/spring-boot/issues/38406) - Upgrade to Rabbit Stream Client 0.14.0 [#38480](https://togithub.com/spring-projects/spring-boot/issues/38480) - Upgrade to Reactor Bom 2023.0.0 [#38307](https://togithub.com/spring-projects/spring-boot/issues/38307) - Upgrade to Spring AMQP 3.1.0 [#38308](https://togithub.com/spring-projects/spring-boot/issues/38308) - Upgrade to Spring Authorization Server 1.2.0 [#38309](https://togithub.com/spring-projects/spring-boot/issues/38309) - Upgrade to Spring Batch 5.1.0 [#38310](https://togithub.com/spring-projects/spring-boot/issues/38310) - Upgrade to Spring Data Bom 2023.1.0 [#38311](https://togithub.com/spring-projects/spring-boot/issues/38311) - Upgrade to Spring Framework 6.1.1 [#38451](https://togithub.com/spring-projects/spring-boot/issues/38451) - Upgrade to Spring GraphQL 1.2.4 [#38313](https://togithub.com/spring-projects/spring-boot/issues/38313) - Upgrade to Spring HATEOAS 2.2.0 [#38314](https://togithub.com/spring-projects/spring-boot/issues/38314) - Upgrade to Spring Integration 6.2.0 [#38315](https://togithub.com/spring-projects/spring-boot/issues/38315) - Upgrade to Spring Kafka 3.1.0 [#38316](https://togithub.com/spring-projects/spring-boot/issues/38316) - Upgrade to Spring LDAP 3.2.0 [#38317](https://togithub.com/spring-projects/spring-boot/issues/38317) - Upgrade to Spring Pulsar 1.0.0 [#38419](https://togithub.com/spring-projects/spring-boot/issues/38419) - Upgrade to Spring RESTDocs 3.0.1 [#38420](https://togithub.com/spring-projects/spring-boot/issues/38420) - Upgrade to Spring Security 6.2.0 [#38318](https://togithub.com/spring-projects/spring-boot/issues/38318) - Upgrade to Spring Session 3.2.0 [#38319](https://togithub.com/spring-projects/spring-boot/issues/38319) - Upgrade to Spring WS 4.0.8 [#38320](https://togithub.com/spring-projects/spring-boot/issues/38320) - Upgrade to Testcontainers 1.19.3 [#38471](https://togithub.com/spring-projects/spring-boot/issues/38471) - Upgrade to Tomcat 10.1.16 [#38421](https://togithub.com/spring-projects/spring-boot/issues/38421) - Upgrade to Versions Maven Plugin 2.16.2 [#38422](https://togithub.com/spring-projects/spring-boot/issues/38422) - Upgrade to WebJars Locator Core 0.55 [#38481](https://togithub.com/spring-projects/spring-boot/issues/38481) ##### :heart: Contributors Thank you to all the contributors who worked on this release: [@EvaristeGalois11](https://togithub.com/EvaristeGalois11), [@PENEKhun](https://togithub.com/PENEKhun), [@abdullah-jaffer](https://togithub.com/abdullah-jaffer), [@audtjddld](https://togithub.com/audtjddld), [@cachescrubber](https://togithub.com/cachescrubber), [@dreis2211](https://togithub.com/dreis2211), [@eddumelendez](https://togithub.com/eddumelendez), [@izeye](https://togithub.com/izeye), [@jonatan-ivanov](https://togithub.com/jonatan-ivanov), [@pirgeo](https://togithub.com/pirgeo), [@quaff](https://togithub.com/quaff), and [@sdeleuze](https://togithub.com/sdeleuze) ### [`v3.1.6`](https://togithub.com/spring-projects/spring-boot/releases/tag/v3.1.6) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v3.1.5...v3.1.6) #### :star: New Features - Upgrade default CNB builders to Paketo Jammy [#38485](https://togithub.com/spring-projects/spring-boot/issues/38485) #### :lady_beetle: Bug Fixes - Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans [#38473](https://togithub.com/spring-projects/spring-boot/issues/38473) - App fails to start with a NoSuchMethodError when using Flyway 10.0.0 [#38267](https://togithub.com/spring-projects/spring-boot/issues/38267) - Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar [#38209](https://togithub.com/spring-projects/spring-boot/issues/38209) - App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created [#38181](https://togithub.com/spring-projects/spring-boot/issues/38181) - spring.webflux.multipart.max-disk-usage-per-part behaves incorrectly for values where the number of bytes overflows an int [#38151](https://togithub.com/spring-projects/spring-boot/issues/38151) - Mail health indicator fails when host is not set in properties [#38043](https://togithub.com/spring-projects/spring-boot/issues/38043) - Docker Compose integration does not work with 2.23.0 due to 'Cannot invoke "org.springframework.boot.docker.compose.core.DockerCliInspectResponse.hostConfig()" because "inspectResponse" is null' [#37982](https://togithub.com/spring-projects/spring-boot/issues/37982) - Docker JSON parsing fails on certain locales [#37648](https://togithub.com/spring-projects/spring-boot/issues/37648) - Testcontainers support for various containers does not work in a native-image [#36606](https://togithub.com/spring-projects/spring-boot/issues/36606) #### :notebook_with_decorative_cover: Documentation - Document supported SQL comment prefixes [#38495](https://togithub.com/spring-projects/spring-boot/issues/38495) - Update access log pattern documentation to align with changes in Tomcat 10 [#38424](https://togithub.com/spring-projects/spring-boot/issues/38424) - Add a Restarting a stopped or failed Job section to the batch howto [#38340](https://togithub.com/spring-projects/spring-boot/issues/38340) - Fix link to Elasticsearch health indicator [#38333](https://togithub.com/spring-projects/spring-boot/issues/38333) - Update Spring Framework documentation links [#38288](https://togithub.com/spring-projects/spring-boot/issues/38288) - Code sample in "Developing Your First Spring Boot Application" does not work [#38271](https://togithub.com/spring-projects/spring-boot/issues/38271) - Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI [#38248](https://togithub.com/spring-projects/spring-boot/issues/38248) - Add how-to documentation for test-only database migrations with Flyway/Liquibase [#38230](https://togithub.com/spring-projects/spring-boot/issues/38230) - Document that PEM content can be used directly in application.yaml [#38210](https://togithub.com/spring-projects/spring-boot/issues/38210) - Document that TomcatConnectorCustomizers are not applied to additional connectors [#38197](https://togithub.com/spring-projects/spring-boot/issues/38197) - Document that application.\* banner variables require a packaged jar or the use of Boot's launcher [#38148](https://togithub.com/spring-projects/spring-boot/issues/38148) - Improve systemd configuration documentation [#38116](https://togithub.com/spring-projects/spring-boot/issues/38116) - Clarify that `@AutoConfigureWebTestClient` binds WebTestClient to mock infrastructure [#38113](https://togithub.com/spring-projects/spring-boot/issues/38113) - MyErrorWebExceptionHandler example in documentation isn't working [#38110](https://togithub.com/spring-projects/spring-boot/issues/38110) - Document that properties that change an application's beans are fixed at build time [#38107](https://togithub.com/spring-projects/spring-boot/issues/38107) - Add section on AspectJ support [#38096](https://togithub.com/spring-projects/spring-boot/issues/38096) - Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default [#38089](https://togithub.com/spring-projects/spring-boot/issues/38089) - Document that testing with ApplicationContextRunner in a native image is not supported [#38081](https://togithub.com/spring-projects/spring-boot/issues/38081) - Spring Boot Actuator documentation misses management.endpoint.env.show-values property [#38079](https://togithub.com/spring-projects/spring-boot/issues/38079) - Document how to downgrade dependencies to use embedded Jetty 11 [#38076](https://togithub.com/spring-projects/spring-boot/issues/38076) - Update "Use Another Web Server" how-to to reflect Servlet 5.0 baseline [#38074](https://togithub.com/spring-projects/spring-boot/issues/38074) - Update "Running Behind a Front-end Proxy Server" to include reactive and ForwardedHeaderTransformer [#38071](https://togithub.com/spring-projects/spring-boot/issues/38071) - Document how to customize the basePackages that auto-configurations consider (for example Spring Data Repositories) [#38053](https://togithub.com/spring-projects/spring-boot/issues/38053) - Reference documentation MyContainersConfiguration sample is missing `@ServiceConnection` [#38046](https://togithub.com/spring-projects/spring-boot/issues/38046) - Clarifying documentation on including a top-level `@TestConfiguration` class in a test [#38040](https://togithub.com/spring-projects/spring-boot/issues/38040) - Document ConfigurationPropertyCaching [#38037](https://togithub.com/spring-projects/spring-boot/issues/38037) - Document server.servlet.encoding.\* properties and server.servlet.encoding.mapping in particular [#38034](https://togithub.com/spring-projects/spring-boot/issues/38034) - Document configuration for building images with Colima [#38031](https://togithub.com/spring-projects/spring-boot/issues/38031) - Add a section on customizing embedded reactive servers [#38027](https://togithub.com/spring-projects/spring-boot/issues/38027) - Improve documentation of `classpath.idx` file and its generation by the Maven and Gradle plugins [#38024](https://togithub.com/spring-projects/spring-boot/issues/38024) - Document additional user configuration that's required after setting `spring.hateoas.use-hal-as-default-json-media-type` to `false` [#38021](https://togithub.com/spring-projects/spring-boot/issues/38021) - Clarify that MVC components provided through WebMvcRegistrations are subject to subsequent processing and configuration by MVC [#38018](https://togithub.com/spring-projects/spring-boot/issues/38018) - Add Embedded MongoDB to community starters [#38015](https://togithub.com/spring-projects/spring-boot/issues/38015) - Document that spring-boot-starter-parent sets maven.compiler.release and how to unset it if needed [#37993](https://togithub.com/spring-projects/spring-boot/issues/37993) - Improve health group membership validation error message to provide hint for property to disable validation [#36489](https://togithub.com/spring-projects/spring-boot/issues/36489) - Explain how Docker Compose support works when services are already running [#36483](https://togithub.com/spring-projects/spring-boot/issues/36483) - Outdated spring-boot-maven-plugin build-info documentation causing project builds to fail [#36114](https://togithub.com/spring-projects/spring-boot/issues/36114) - When using Testcontainers at development time with `@ServiceConnection` on a `@Bean` method, describe when to use the name attribute and why [#36071](https://togithub.com/spring-projects/spring-boot/issues/36071) - Make distinction between Testcontainers for integration tests and development more clear in documentation [#35856](https://togithub.com/spring-projects/spring-boot/issues/35856) - Clarify documentation on importing Testcontainer declarations and using `@ServiceConnection` or `@DynamicPropertySource` [#35629](https://togithub.com/spring-projects/spring-boot/issues/35629) - Improve documentation regarding tracing in tests [#33975](https://togithub.com/spring-projects/spring-boot/issues/33975) - Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage [#33088](https://togithub.com/spring-projects/spring-boot/issues/33088) - Document how to use cloudfoundry specific actuators with a custom base path for webflux applications [#24991](https://togithub.com/spring-projects/spring-boot/issues/24991) #### :hammer: Dependency Upgrades - Upgrade to ActiveMQ 5.18.3 [#38452](https://togithub.com/spring-projects/spring-boot/issues/38452) - Upgrade to AspectJ 1.9.20.1 [#38357](https://togithub.com/spring-projects/spring-boot/issues/38357) - Upgrade to Byte Buddy 1.14.10 [#38453](https://togithub.com/spring-projects/spring-boot/issues/38453) - Upgrade to DB2 JDBC 11.5.9.0 [#38454](https://togithub.com/spring-projects/spring-boot/issues/38454) - Upgrade to Dependency Management Plugin 1.1.4 [#38345](https://togithub.com/spring-projects/spring-boot/issues/38345) - Upgrade to Dropwizard Metrics 4.2.22 [#38455](https://togithub.com/spring-projects/spring-boot/issues/38455) - Upgrade to Glassfish JAXB 4.0.4 [#38456](https://togithub.com/spring-projects/spring-boot/issues/38456) - Upgrade to Infinispan 14.0.21.Final [#38457](https://togithub.com/spring-projects/spring-boot/issues/38457) - Upgrade to Jakarta Json 2.1.3 [#38458](https://togithub.com/spring-projects/spring-boot/issues/38458) - Upgrade to Jakarta XML SOAP 3.0.1 [#38459](https://togithub.com/spring-projects/spring-boot/issues/38459) - Upgrade to Jakarta XML WS 4.0.1 [#38460](https://togithub.com/spring-projects/spring-boot/issues/38460) - Upgrade to Jetty 11.0.18 [#38462](https://togithub.com/spring-projects/spring-boot/issues/38462) - Upgrade to Jetty Reactive HTTPClient 3.0.10 [#38461](https://togithub.com/spring-projects/spring-boot/issues/38461) - Upgrade to Lettuce 6.2.7.RELEASE [#38463](https://togithub.com/spring-projects/spring-boot/issues/38463) - Upgrade to Micrometer 1.11.6 [#38297](https://togithub.com/spring-projects/spring-boot/issues/38297) - Upgrade to Micrometer Tracing 1.1.7 [#38298](https://togithub.com/spring-projects/spring-boot/issues/38298) - Upgrade to Native Build Tools Plugin 0.9.28 [#38464](https://togithub.com/spring-projects/spring-boot/issues/38464) - Upgrade to Netty 4.1.101.Final [#38465](https://togithub.com/spring-projects/spring-boot/issues/38465) - Upgrade to Pooled JMS 3.1.5 [#38466](https://togithub.com/spring-projects/spring-boot/issues/38466) - Upgrade to Reactor Bom 2022.0.13 [#38299](https://togithub.com/spring-projects/spring-boot/issues/38299) - Upgrade to SAAJ Impl 3.0.3 [#38467](https://togithub.com/spring-projects/spring-boot/issues/38467) - Upgrade to Spring Batch 5.0.4 [#38493](https://togithub.com/spring-projects/spring-boot/issues/38493) - Upgrade to Spring Data Bom 2023.0.6 [#38300](https://togithub.com/spring-projects/spring-boot/issues/38300) - Upgrade to Spring Framework 6.0.14 [#38301](https://togithub.com/spring-projects/spring-boot/issues/38301) - Upgrade to Spring GraphQL 1.2.4 [#38302](https://togithub.com/spring-projects/spring-boot/issues/38302) - Upgrade to Spring HATEOAS 2.1.3 [#38375](https://togithub.com/spring-projects/spring-boot/issues/38375) - Upgrade to Spring Integration 6.1.5 [#38303](https://togithub.com/spring-projects/spring-boot/issues/38303) - Upgrade to Spring Kafka 3.0.13 [#38370](https://togithub.com/spring-projects/spring-boot/issues/38370) - Upgrade to Spring RESTDocs 3.0.1 [#38468](https://togithub.com/spring-projects/spring-boot/issues/38468) - Upgrade to Spring WS 4.0.8 [#38304](https://togithub.com/spring-projects/spring-boot/issues/38304) - Upgrade to Tomcat 10.1.16 [#38469](https://togithub.com/spring-projects/spring-boot/issues/38469) #### :heart: Contributors Thank you to all the contributors who worked on this release: [@GVictorG7](https://togithub.com/GVictorG7), [@PENEKhun](https://togithub.com/PENEKhun), [@audtjddld](https://togithub.com/audtjddld), [@cachescrubber](https://togithub.com/cachescrubber), [@dreis2211](https://togithub.com/dreis2211), [@eddumelendez](https://togithub.com/eddumelendez), [@izeye](https://togithub.com/izeye), [@jonatan-ivanov](https://togithub.com/jonatan-ivanov), and [@quaff](https://togithub.com/quaff)Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.