Spring Boot 3.1.5 released

Spring Boot 3.1.5 is now available and includes 62 bug fixes, documentation improvements, and dependency upgrades .

Noteworthy Changes

  • Corrected spring.jms.listener.concurrencybehavior to match documentation (  #37180  ). If you spring.jms.listener.concurrencydid not set it up at the same time spring.jms.listener.max-concurrency, it is recommended to review your configuration when upgrading.

Bug Fixes

  • Constructor bound to custom collection type not working  #37941
  • @OrderNot applicable to (CommandLine|Application)Runner @Beanmethod #37938
  • on the test class @ComponentScanwill be processed when the test context is created, but will not be included in the context's cache key  #37924
  • Restarter causes memory leak in tests #37920
  • AOT processing fails when scan discovery is @WebServlet annotated #37883@MultipartConfig
  • Gradle plugin uses soon-to-be-deprecated API to get and set file permissions #37881
  • Task executor metric is not registered when using lazy initialization  #37838
  • Gradle AOT processing tasks do not use the project's Java tool chain #37826
  • @ServiceConnectionNot found when used in an interface implemented by a test class #37671
  • Image building may fail when using GraalVM compilation and remote Docker daemon #37665
  • When testing  with @SpringBootTest, and MockMvc, NPE will appear in Jetty's WebSocketUpgradeFilter #37663@AutoConfigureMockMvc
  • @WebListenerDoesn't work in native image without additional reflection hint #37635
  • AspectJ transaction management using compile-time weaving does not work with spring.main.lazy-initialization=true  #37632
  • IPv6 IP addresses cannot be used with RabbitMQ #37619
  • Unwanted Logback status messages are sometimes logged during startup #37600
  • Neo4j managed types are not used in Neo4j data automatic configuration #37594
  • fileMode and dirMode do not work for all entries in BootJar generated archives #37588
  • Application fails to start when optional configuration import cannot be resolved #37570
  • Contrary to the documentation, set spring.jms.listener.concurrency separately to configure the maximum number of concurrencies #37553
  • Missing dependency management for kafka-server-common with test classifier #37542
  • RepackageMojo does not support 1-digit numeric values ​​for project.build.outputTimestamp #37535

Documentation

  • Documentation that "spring.docker.compose.file" can be used to share Docker Compose configuration between applications  #37886
  • Remove link to LiveReload site due to timeout  #37691
  • Call ActiveMQ ActiveMQ "Classic"  #37615
  • Remove spring.webflux.multipart.streaming No records  #37609
  • Default value for spring.jmx.registration-policy is undocumented  #37596
  • Update documentation to use inline mock generator by default to be consistent with Mockito 5  #37561
  • Add Javadoc for AbstractAotMojo.getSession()  #37547
  • Documentation support for Java 21 #37532
  • Use more idiomatic Kotlin in the example of "Map Health Indicators to Micrometer Metrics"  #37510

Dependency Upgrades

  • Upgrade to  Byte Buddy 1.14.9  #37853
  • Upgrade to Couchbase Client 3.4.11  #37759
  • Upgrade to Dropwizard Metrics 4.2.21  #37897
  • Upgrade to Hibernate 6.2.13.Final  #37854
  • Upgrade to HttpCore5 5.2.3  #37762
  • Upgrading to Infinispan 14.0.19.Final  #37855
  • Upgrade to Jackson Bom 2.15.3  #37898
  • Upgrade to Jetty 11.0.17  #37856
  • Upgrade to Jetty Reactive HTTPClient 3.0.9  #37932
  • Upgrade to jOOQ 3.18.7  #37857
  • Upgrade to  Micrometer 1.11.5  #37693
  • Upgrade to  Micrometer Tracing 1.1.6  #37694
  • Upgrade to Neo4j Java Driver 5.13.0  #37793
  • Upgrade to Netty 4.1.100.Final  #37858
  • Upgrade to  Pooled JMS 3.1.4  #37764
  • Upgrade to R2DBC MySQL 1.0.5  #37859
  • Upgrade to Reactor Bom 2022.0.12  #37695
  • Upgrade to RxJava3 3.1.8  #37766
  • Upgrade to Spring AMQP 3.0.10  #37696
  • Upgrade to Spring Authorization Server 1.1.3  #37697
  • Upgrade to Spring Data Bom 2023.0.5  #37698
  • Upgrade to Spring Framework 6.0.13  #37816
  • Upgrade to Spring Integration 6.1.4  #37914
  • Upgrade to Spring Kafka 3.0.12  #37797
  • Upgrade to Spring LDAP 3.1.2  #37699
  • Upgrade to Spring Retry 2.0.4  #37700
  • Upgrade to Spring Security 6.1.5  #37701
  • Upgrade to Spring Session 3.1.3  #37702
  • Upgrade to Tomcat 10.1.15  #37902
  • Upgrade to UnboundID LDAPSDK 6.0.10  #37767
  • Upgrade to Undertow 2.3.10.Final  #37933

Update instructions: https://github.com/spring-projects/spring-boot/releases/tag/v3.1.5

Guess you like

Origin www.oschina.net/news/262562/spring-boot-3-1-5-released