v3.1.1
🐞 Bug Fixes
- Websockets don't work when using WebFlux with Jetty #36009
- When using SimpleClientHttpRequestFactory, non-GET requests sent with RestTemplate have the wrong HttpMethod when SSLBundles are used #36007
- Spring Boot properties migrator can create circular references #35934
- Actuator loggers list endpoint throws exception on Log4J2 loggers with custom log levels #35922
- SSL configuration overwrites other WebClient customization #35914
- Validation is not applied for ConfigurationProperties that implement Validator and use
@ConstructorBinding
#35913 - Tracing only supports a single context propagation type #35907
- SpringApplication.from(?).with(?) adds its sources to every context that's created #35873
- Devtools does not support package-private main classes #35865
- DevTools prevent startup in native image with ClassNotFoundException #35853
- Password is not used from spring.data.redis.url property without username #35850
- Docker Compose connection details for MongoDB is missing the authSource option when authentication is configured #35777
- Processing of
@EndpointCloudFoundryExtension
logs a warnings as it does not use@AliasFor
on its override of the endpoint attribute #35766 - Java 20 is supported but there's no value for it in the JavaVersion enum #35764
- SpringApplication.from(...) is hard to use with Kotlin #35756
- Spring Boot 3.1.0 incompatible with Flyway 9.0 #35721
- The error message is unhelpful when spring.rabbitmq.host is configured with a comma-separated value #35684
- Docker Compose support produces non-working native image #35676
- Metadata for spring.ssl properties are missing #35667
- The new support for testcontainers in Spring Boot 3.1.0 does not work with native tests #35663
- Constructor binding of
@ConfigurationProperties
to a lateinit property fails with kotlin.UninitializedPropertyAccessException #35654 - PEM SSL bundles do not support encrypted PKCS8 private keys #35652
- When a configuration properties bean is defined using a
@Bean
method, BindableRuntimeHintsRegistrar may incorrectly register hints for constructor binding #35647 - Enabling Spring Data Elasticsearch auditing causes application startup failure #35610
- ZipkinAutoConfiguration always need a ZipkinProperties bean in SB 3.1 #35592
- MongoDB authentication to different DB than used no longer works in spring boot 3.1 #35567
- Auto-configuration for Spring Data MongoDB ignores spring.data.mongodb.database when spring.data.mongodb.uri has been set #35566
📔 Documentation
- Remove
@EnableBatchProcessing
mentions in reference documentation for sliced tests and user configuration #36004 - Update description of spring-boot-starter-data-rest to clarify that it uses Spring MVC #35911
- Add
@DynamicPropertySource
to documented list of property source ordering #35909 - Fix typo in Docker Compose documentation #35818
- Move property notes up to external configuration section #35769
- Improve OAuth2 Client section of docs #35767
- Description of spring.data.mongodb.uri property incorrectly states that it overrides spring.data.mongodb.database #35690
- Fix error in SSL bundle documentation #35665
- Document how to add parameters to the JDBC URL created for a Docker Compose managed container #35636
- Documenting audience support in Oauth2 resource server #35634
- Description of
build-image
andbuild-image-no-fork
Maven plugin goals is inconsistent #35618 - Some spring.docker.compose properties do not document their default values #35598
- Description of never value for spring.docker.compose.readiness.wait is incorrect #35597
- ServiceConnection Typo In
name
Documentation #35594 - Declare
@Testcontainers
before@SpringBootTest
in documentation examples to ensure that Testcontainers is started before the application tries to use its containers #35572
🔨 Dependency Upgrades
- Upgrade to Byte Buddy 1.14.5 #35826
- Upgrade to Couchbase Client 3.4.7 #35883
- Upgrade to Dropwizard Metrics 4.2.19 #35827
- Upgrade to Git Commit ID Maven Plugin 5.0.1 #35828
- Upgrade to Glassfish JAXB 4.0.3 #35829
- Upgrade to Hazelcast 5.2.4 #35884
- Upgrade to Hibernate 6.2.5.Final #35994
- Upgrade to HSQLDB 2.7.2 #35831
- Upgrade to HttpCore5 5.2.2 #35995
- Upgrade to Infinispan 14.0.11.Final #35996
- Upgrade to Jackson Bom 2.15.2 #35833
- Upgrade to Jakarta Json 2.1.2 #35834
- Upgrade to Jakarta Mail 2.1.2 #35835
- Upgrade to Jaybird 5.0.2.java11 #35836
- Upgrade to JBoss Logging 3.5.1.Final #35837
- Upgrade to Jersey 3.1.2 #35838
- Upgrade to Json-smart 2.4.11 #35839
- Upgrade to Kafka 3.4.1 #35840
- Upgrade to Kotlin 1.8.22 #35781
- Upgrade to Logback 1.4.8 #35885
- Upgrade to Lombok 1.18.28 #35841
- Upgrade to Micrometer 1.11.1 #35745
- Upgrade to Micrometer Tracing 1.1.2 #35746
- Upgrade to Native Build Tools Plugin 0.9.23 #35997
- Upgrade to Neo4j Java Driver 5.9.0 #35868
- Upgrade to Netty 4.1.94.Final #35998
- Upgrade to R2DBC MSSQL 1.0.1.RELEASE #35843
- Upgrade to R2DBC MySQL 1.0.2 #35844
- Upgrade to R2DBC Proxy 1.1.1.RELEASE #35845
- Upgrade to Reactor Bom 2022.0.8 #35747
- Upgrade to REST Assured 5.3.1 #35999
- Upgrade to Spring AMQP 3.0.5 #35748
- Upgrade to Spring Authorization Server 1.1.1 #35749
- Upgrade to Spring Data Bom 2023.0.1 #35750
- Upgrade to Spring Framework 6.0.10 #35751
- Upgrade to Spring GraphQL 1.2.1 #35752
- Upgrade to Spring Integration 6.1.1 #35859
- Upgrade to Spring Kafka 3.0.8 #36000
- Upgrade to Spring Retry 2.0.2 #35753
- Upgrade to Spring Security 6.1.1 #35754
- Upgrade to Spring Session 3.1.1 #35755
- Upgrade to Spring WS 4.0.5 #36017
- Upgrade to SQLite JDBC 3.41.2.2 #35846
- Upgrade to Testcontainers 1.18.3 #35847
- Upgrade to Tomcat 10.1.10 #35886
- Upgrade to UnboundID LDAPSDK 6.0.9 #35848
- Upgrade to Undertow 2.3.7.Final #35849
❤️ Contributors
Thank you to all the contributors who worked on this release:
@KitBolourchi, @ThomasKasene, @bbulgarelli, @bikash30851, @dreis2211, @eddumelendez, @fcappi, @izeye, @quaff, @rafaelrc7, @sdeleuze, @sjohnr, @sungchanjo, and @twobiers