github spring-projects/spring-framework v6.1.11

latest releases: v6.2.0-RC1, v6.1.13, v6.2.0-M7...
2 months ago

⭐ New Features

  • Ensure varargs component type for MethodHandle is not null in SpEL's ReflectionHelper #33193
  • Confusing WebClient exception message in case of Reactor-Netty PrematureCloseException during response #33127
  • Include the bean name in the exception when an invalid factoryBeanObjectType attribute is found #33117
  • Use error handler for reactive cache aspect #33073
  • getTypeForFactoryMethod should catch NoClassDefFoundError #33075

🐞 Bug Fixes

  • SpEL cannot invoke varargs MethodHandle function with an array #33191
  • SpEL cannot invoke varargs MethodHandle function with zero variable arguments #33190
  • Nested bean instance supplier invocation does not retain previous factory method #33180
  • DefaultErrorResponseBuilder does not implement headers(Consumer) #33156
  • Fix adaptation of violations on Set method parameter #33150
  • Web controller call with invalid body resulting in 500 instead of 400 when using kotlinx-serialization #33138
  • "file:." cannot be resolved to java.nio.file.Path (and plain "." value resolves to classpath root) #33124
  • Mockito mock falsely initialized as CGLIB proxy with AspectJ aspect #33113
  • Fix ClassCastException from return value validation with proxy when adaptConstraintViolations=true #33105
  • Spring coroutines AOP is not compatible with @Transactional #33095
  • ReactorClientHttpConnector creates new HttpClient for every request #33093
  • Trace and Span IDs are no longer propagated RequestBodyAdvice beans #33091
  • Early LocalContainerEntityManagerFactoryBean initialization fails in case of null bean definition #33082
  • ReactorNettyClientRequest.convertException should include original exception if cause is null #33080
  • SpEL incorrectly splits string arguments by comma for Object... varargs method #33013
  • ProtobufMessageConverter fails to parse JSON payload if byte array is used #27408

📔 Documentation

  • Harmonize phrasing in URI Encoding section #33166
  • Document that ModelMap is not a supported argument type in WebFlux #33107
  • Example in Method Injection section of Spring Framework documentation refers to wrong bean names #33096
  • Resource writer doesn't consider subclasses of InputStreamResource for content length bypass #33089
  • Improve documentation regarding encoding in FreeMarker support #33071
  • Exception for validation failure in WebFlux does not match the documentation #33061

🔨 Dependency Upgrades

  • Upgrade to Kotlin 1.9.24 #33177
  • Upgrade to Kotlin Serialization 1.6.3 #33175
  • Upgrade to Micrometer 1.12.8 #33168
  • Upgrade to Reactor 2023.0.8 #33169

❤️ Contributors

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

@TAKETODAY, @hunhee98, @imvtsl, @snussbaumer, and @zizare

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.