Spring Framework 4.3.12 版本正式发布

Spring Framework 4.3.12 已发布,该版本包含 17 项修复和一些特定的改进,为即将推出的 Spring Boot 1.5.8 打好基础。

请注意,Spring Framework 4.x 需要 JDK 6 及以上版本,Spring Framework 5.x 需要 JDK 8 及以上版本。

更新内容:

Bug

  • [SPR-15676] – Request params Optional<List<String> and List<String> are inconsistent

  • [SPR-15918] – java.util.Optional MultipartFile[] @RequestParam argument is null in multipart/form-data POST

  • [SPR-15919] – only one MultipartFile object populated when using an java.util.Optional MutipartFile array or list @RequestParam

  • [SPR-15952] – HttpEntityMethodProcessor discards headers

  • [SPR-15962] – TaskExecutorRegistration.getTaskExecutor() overrides executor properties of a provided ThreadPoolTaskExecutor

  • [SPR-15965] – JmsMessagingTemplate is not correctly configured

  • [SPR-15976] – ChannelRegistration.setInterceptors is misnamed

  • [SPR-15978] – RestTemplate doesn't consistently tolerate unknown HTTP status codes

  • [SPR-15989] – PathMatchingResourcePatternResolver provides duplicate resources when using classpath* prefix combined with ant-style

  • [SPR-16032] – Spring EL does not allow '' characters

  • [SPR-16043] – sort BeanDefinitionRegistryPostProcessors added by other BeanDefinitionRegistryPostProcessors

Improvement

  • [SPR-15854] – Backport s/s/m/j/o/s/m/w/MockPart.java from 5.x to 4.3.x

  • [SPR-16054] – Add convenient method to construct ParameterizedTypeReference from Type

Refactoring

  • [SPR-15656] – Backport selected refinements from the nullability efforts in 5.0

  • [SPR-16017] – Consistent configurer access in WebMvcConfigurationSupport

Task

  • [SPR-15973] – Clarify @Bean return type recommendation in case of multiple interfaces

  • [SPR-16016] – Deprecate HibernateJpaSessionFactoryBean (against Hibernate 5.2)

Edit/Copy Release Notes

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

下载地址:

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

From:

Spring Framework 4.3.12 版本正式发布