红联Linux门户
Linux帮助

Spring Framework 4.3.7发布,超过20处修复和改进

发布时间:2017-03-02 09:25:40来源:红联作者:baihuo
Spring Framework 4.3.7 发布了,Spring Framework 为基于 Java 的企业应用提供了一个全面的编程和配置模型。

此维护版本是即将发布的 Spring Boot 1.4.5 和 1.5.2 版本的基础,包括有超过20处修补程序和指定改进。

Bug

InterceptingClientHttpRequest replaces headers set in request factory instead of merging them

If backing Cache is down @CacheResult does not seamlessly call method (in contrast to @Cacheable)

SpelCompiler VerifyError - Incompatible argument to function

Spring does not clean up db connection registered in afterCompletion callback

SettableListenableFuture may be both set and canceled successfully

HTTP Response should not contain both Transfer-Encoding and Content-Length headers

Principal check in ServletRequestMethodArgumentResolver can result in type mismatches

MockHttpServletRequest.getReader() returns null in case of no content

SettableListenableFuture may be successfully set with failureCallback executed and success callback ignored

DispatcherServlet's multipart request parsing fails during Jetty error dispatch

MockHttpServletRequest.protocol default should be "HTTP/1.1", not "http"

RestTemplate with Netty produces two Content-Length headers

RestTemplate with MockMvcClientHttpRequestFactory double encodes URIs

HEAD response has "Content-Length: 0" for @RestController @GetMapping methods

@Configuration processing fails to handle AbstractFactoryBean.getObject() calls

Improvement

TransactionSynchronizationManager - throw an Exception or log a warning if a Synchronization wants to add a Synchronization and afterCompletion is already called

Support for read-only transactions with Oracle 12c JDBC driver

Log failures to load PropertySources when ignoreResourceNotFound = true

DefaultSubscriptionRegistry should prevent duplicate Subscriptions per subscription id

Allow configuring the ContentNegotiationManager in MockMVC standalone controller setup

Database.SQL_SERVER should set more recent Hibernate dialect with Spring 4.3.x

Consistently support CompletionStage next to CompletableFuture

MessageHeaderAccessor's MutableMessageHeaders should be serializable

Skip transaction/caching metadata retrieval for java.lang.Object methods

Task

Revisit Assert to avoid single-arg assert methods (with refined messages)

CronSequenceGenerator examples in documentation are incorrect

下载地址:

http://projects.spring.io/spring-framework/

来自:开源中国社区
文章评论

共有 0 条评论