Release Notes - Spring Framework - Version 4.3.7 - HTML format

Bug

  • [SPR-15166] - InterceptingClientHttpRequest replaces headers set in request factory instead of merging them
  • [SPR-15188] - If backing Cache is down @CacheResult does not seamlessly call method (in contrast to @Cacheable)
  • [SPR-15192] - SpelCompiler VerifyError - Incompatible argument to function
  • [SPR-15194] - Spring does not clean up db connection registered in afterCompletion callback
  • [SPR-15202] - SettableListenableFuture may be both set and canceled successfully
  • [SPR-15212] - HTTP Response should not contain both Transfer-Encoding and Content-Length headers
  • [SPR-15214] - Principal check in ServletRequestMethodArgumentResolver can result in type mismatches
  • [SPR-15215] - MockHttpServletRequest.getReader() returns null in case of no content
  • [SPR-15216] - SettableListenableFuture may be successfully set with failureCallback executed and success callback ignored
  • [SPR-15231] - DispatcherServlet's multipart request parsing fails during Jetty error dispatch
  • [SPR-15232] - MockHttpServletRequest.protocol default should be "HTTP/1.1", not "http"
  • [SPR-15241] - RestTemplate with Netty produces two Content-Length headers
  • [SPR-15254] - RestTemplate with MockMvcClientHttpRequestFactory double encodes URIs
  • [SPR-15261] - HEAD response has "Content-Length: 0" for @RestController @GetMapping methods
  • [SPR-15275] - @Configuration processing fails to handle AbstractFactoryBean.getObject() calls

Improvement

  • [SPR-11590] - TransactionSynchronizationManager - throw an Exception or log a warning if a Synchronization wants to add a Synchronization and afterCompletion is already called
  • [SPR-15210] - Support for read-only transactions with Oracle 12c JDBC driver
  • [SPR-15218] - Log failures to load PropertySources when ignoreResourceNotFound = true
  • [SPR-15229] - DefaultSubscriptionRegistry should prevent duplicate Subscriptions per subscription id
  • [SPR-15248] - Allow configuring the ContentNegotiationManager in MockMVC standalone controller setup
  • [SPR-15255] - Database.SQL_SERVER should set more recent Hibernate dialect with Spring 4.3.x
  • [SPR-15258] - Consistently support CompletionStage next to CompletableFuture
  • [SPR-15262] - MessageHeaderAccessor's MutableMessageHeaders should be serializable
  • [SPR-15296] - Skip transaction/caching metadata retrieval for java.lang.Object methods

Task

  • [SPR-15196] - Revisit Assert to avoid single-arg assert methods (with refined messages)
  • [SPR-15240] - CronSequenceGenerator examples in documentation are incorrect

Edit/Copy Release Notes

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