Skip to content

v3.1.6

Compare
Choose a tag to compare
@spring-builds spring-builds released this 23 Nov 12:02
· 6990 commits to main since this release

⭐ New Features

  • Upgrade default CNB builders to Paketo Jammy #38485

🐞 Bug Fixes

  • Annotation based ConditionalOnBean checks can cause early initialization of FactoryBeans #38473
  • App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38267
  • Resolution of productionRuntimeClasspath configuration may select the wrong variant and contain a dependency's source jar #38209
  • App that depends on Tomcat and on Jetty's websocket-server module fails to start with IllegalStateException: WebSocketComponents has not been created #38181
  • spring.webflux.multipart.max-disk-usage-per-part behaves incorrectly for values where the number of bytes overflows an int #38151
  • Mail health indicator fails when host is not set in properties #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
  • Docker JSON parsing fails on certain locales #37648
  • Testcontainers support for various containers does not work in a native-image #36606

📔 Documentation

  • Document supported SQL comment prefixes #38495
  • Update access log pattern documentation to align with changes in Tomcat 10 #38424
  • Add a Restarting a stopped or failed Job section to the batch howto #38340
  • Fix link to Elasticsearch health indicator #38333
  • Update Spring Framework documentation links #38288
  • Code sample in "Developing Your First Spring Boot Application" does not work #38271
  • Improve --help and documentation for "encodepassword -a/--algorithm" in the Spring Boot CLI #38248
  • Add how-to documentation for test-only database migrations with Flyway/Liquibase #38230
  • Document that PEM content can be used directly in application.yaml #38210
  • Document that TomcatConnectorCustomizers are not applied to additional connectors #38197
  • Document that application.* banner variables require a packaged jar or the use of Boot's launcher #38148
  • Improve systemd configuration documentation #38116
  • Clarify that @AutoConfigureWebTestClient binds WebTestClient to mock infrastructure #38113
  • MyErrorWebExceptionHandler example in documentation isn't working #38110
  • Document that properties that change an application's beans are fixed at build time #38107
  • Add section on AspectJ support #38096
  • Document that SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS is disabled by default #38089
  • Document that testing with ApplicationContextRunner in a native image is not supported #38081
  • Spring Boot Actuator documentation misses management.endpoint.env.show-values property #38079
  • Document how to downgrade dependencies to use embedded Jetty 11 #38076
  • Update "Use Another Web Server" how-to to reflect Servlet 5.0 baseline #38074
  • Update "Running Behind a Front-end Proxy Server" to include reactive and ForwardedHeaderTransformer #38071
  • Document how to customize the basePackages that auto-configurations consider (for example Spring Data Repositories) #38053
  • Reference documentation MyContainersConfiguration sample is missing @ServiceConnection #38046
  • Clarifying documentation on including a top-level @TestConfiguration class in a test #38040
  • Document ConfigurationPropertyCaching #38037
  • Document server.servlet.encoding.* properties and server.servlet.encoding.mapping in particular #38034
  • Document configuration for building images with Colima #38031
  • Add a section on customizing embedded reactive servers #38027
  • Improve documentation of classpath.idx file and its generation by the Maven and Gradle plugins #38024
  • Document additional user configuration that's required after setting spring.hateoas.use-hal-as-default-json-media-type to false #38021
  • Clarify that MVC components provided through WebMvcRegistrations are subject to subsequent processing and configuration by MVC #38018
  • Add Embedded MongoDB to community starters #38015
  • Document that spring-boot-starter-parent sets maven.compiler.release and how to unset it if needed #37993
  • Improve health group membership validation error message to provide hint for property to disable validation #36489
  • Explain how Docker Compose support works when services are already running #36483
  • Outdated spring-boot-maven-plugin build-info documentation causing project builds to fail #36114
  • When using Testcontainers at development time with @ServiceConnection on a @Bean method, describe when to use the name attribute and why #36071
  • Make distinction between Testcontainers for integration tests and development more clear in documentation #35856
  • Clarify documentation on importing Testcontainer declarations and using @ServiceConnection or @DynamicPropertySource #35629
  • Improve documentation regarding tracing in tests #33975
  • Document the accepted inputs when configuring tags on spring-boot:build-image and bootBuildImage #33088
  • Document how to use cloudfoundry specific actuators with a custom base path for webflux applications #24991

🔨 Dependency Upgrades

  • Upgrade to ActiveMQ 5.18.3 #38452
  • Upgrade to AspectJ 1.9.20.1 #38357
  • Upgrade to Byte Buddy 1.14.10 #38453
  • Upgrade to DB2 JDBC 11.5.9.0 #38454
  • Upgrade to Dependency Management Plugin 1.1.4 #38345
  • Upgrade to Dropwizard Metrics 4.2.22 #38455
  • Upgrade to Glassfish JAXB 4.0.4 #38456
  • Upgrade to Infinispan 14.0.21.Final #38457
  • Upgrade to Jakarta Json 2.1.3 #38458
  • Upgrade to Jakarta XML SOAP 3.0.1 #38459
  • Upgrade to Jakarta XML WS 4.0.1 #38460
  • Upgrade to Jetty 11.0.18 #38462
  • Upgrade to Jetty Reactive HTTPClient 3.0.10 #38461
  • Upgrade to Lettuce 6.2.7.RELEASE #38463
  • Upgrade to Micrometer 1.11.6 #38297
  • Upgrade to Micrometer Tracing 1.1.7 #38298
  • Upgrade to Native Build Tools Plugin 0.9.28 #38464
  • Upgrade to Netty 4.1.101.Final #38465
  • Upgrade to Pooled JMS 3.1.5 #38466
  • Upgrade to Reactor Bom 2022.0.13 #38299
  • Upgrade to SAAJ Impl 3.0.3 #38467
  • Upgrade to Spring Batch 5.0.4 #38493
  • Upgrade to Spring Data Bom 2023.0.6 #38300
  • Upgrade to Spring Framework 6.0.14 #38301
  • Upgrade to Spring GraphQL 1.2.4 #38302
  • Upgrade to Spring HATEOAS 2.1.3 #38375
  • Upgrade to Spring Integration 6.1.5 #38303
  • Upgrade to Spring Kafka 3.0.13 #38370
  • Upgrade to Spring RESTDocs 3.0.1 #38468
  • Upgrade to Spring WS 4.0.8 #38304
  • Upgrade to Tomcat 10.1.16 #38469

❤️ Contributors

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

@GVictorG7, @PENEKhun, @audtjddld, @cachescrubber, @dreis2211, @eddumelendez, @izeye, @jonatan-ivanov, and @quaff