Release Notes - Spring Framework - Version 5.1.4 - HTML format

Bug

  • [SPR-8335] - 'default-lazy-init' attribute is not processed when XSD validation is disabled
  • [SPR-17540] - Spring JavaMailSenderImpl does not show proper message when recipient list is empty
  • [SPR-17557] - HibernateTransactionManager (unintentionally) bound to Hibernate 5.2 SharedSessionContractImplementor
  • [SPR-17559] - Potential resource leak in DataSourceUtils.doGetConnection
  • [SPR-17564] - WebClient logs "Only one connection receive subscriber allowed" when response status is an error
  • [SPR-17565] - SpEL variable evaluation fails with NPE against ConcurrentHashMap
  • [SPR-17566] - MockHttpServletRequest changes Accept-Language header values
  • [SPR-17592] - Exporting a lazily initialized bean (which implements SelfNaming and is annotated with ManagedResource annotation) gives IllegalStateException
  • [SPR-17593] - Regression: IllegalStateException: Ambiguous handler methods is thrown for explicit HEAD mapping
  • [SPR-17594] - Composed RequestPredicates have invalid string representation
  • [SPR-17605] - SpEL, error parsing big InlineMap
  • [SPR-17606] - @Profile mishandles "not" operand mixed with "&"
  • [SPR-17607] - @Value Optional<...> field injection fails in case of registered ConversionService
  • [SPR-17609] - ChannelSendOperator does not propagate cancel signal to the server
  • [SPR-17611] - TomcatHttpHandlerAdapter is not aware of Server[Request|Response]Wrapper
  • [SPR-17619] - Cannot convert from Collection to RegularEnumSet
  • [SPR-17623] - MockMvcResultMatchers.forwardedUrl argument is not declared as nullable
  • [SPR-17629] - MethodParameter.isOptional() fails with ArrayIndexOutOfBoundsException
  • [SPR-17630] - UriComponentsBuilder.toUriString() is broken
  • [SPR-17633] - HttpHeaders.EMPTY is not immutable

Task

  • [SPR-9523] - Specify NumberUtils.parseNumber() trim behavior in the javadoc
  • [SPR-12886] - Improve docs on concurrent sending with direct use of WebSocket API
  • [SPR-17401] - Doc: Support for validation in WebFlux.fn
  • [SPR-17520] - Add protected method to StandaloneMockMvcBuilder to register additional MVC infrastructure components
  • [SPR-17556] - Error in reference documentation sentence in part 1.8.1. Customizing Beans by Using a BeanPostProcessor
  • [SPR-17574] - Enable io.netty.leakDetection at paranoid level in WebFlux tests
  • [SPR-17581] - Typo in SpEL Evaluation Context Sample
  • [SPR-17583] - Clarify whether spring-jms 5.x is still able to run with a JMS 1.1 provider
  • [SPR-17595] - Upgrade to CGLIB 3.2.10
  • [SPR-17597] - Duplicate word in spring docs
  • [SPR-17601] - Incorrect snippet of code in documentation

Improvement

  • [SPR-17087] - Add ability to retrieve associated ClientRequest from WebClientResponseException
  • [SPR-17546] - Reactive HTTP header adapters don't print header values in toString
  • [SPR-17550] - Equals checks to MediaType.ALL should not be affected the presence of parameters
  • [SPR-17558] - Use Netty's optimized UTF-8 encoding if available
  • [SPR-17560] - NettyDataBufferFactory.join should return original buffer as-is in case of a single element (for compatibility with Netty 4.1.32)
  • [SPR-17568] - StringHttpMessageConverter should assume charset UTF-8 for application/json
  • [SPR-17571] - Allow java.time types for setting the Last-Modified header
  • [SPR-17586] - spring-jcl routes logging inefficiently against SLF4J with log4j-to-slf4j setup
  • [SPR-17645] - FormHttpMessageConverter should support non-String form values

Refactoring

  • [SPR-17588] - Consistent handling of null header values in HttpHeaders

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.