Spring Framework 5.2.7 和 5.1.16 发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:Spring Framework 同时发布了 5.2.7 和 5.1.16 版本。 其中,Spring Framework 5.2.7 包含超过 44 项修复和改进;5.1.16 版本包括 17 项修复和改进。 新特性 实施可靠的调用顺序 增强执行 ResponseEntity.of() 时...

Spring Framework 同时发布了 5.2.7 和 5.1.16 版本。

其中,Spring Framework 5.2.7 包含超过 44 项修复和改进;5.1.16 版本包括 17 项修复和改进。 

新特性

  • 实施可靠的调用顺序
  • 增强执行 ResponseEntity.of() 时的性能
  • 支持 GroovyScriptFactory 中的共享 GroovyClassLoader
  • 建议对 AbstractApplicationContext.earlyApplicationEvents 进行 Set.size() > 0 判断
  • 利用 YamlProcessor 中可配置的自定义类型
  • 避免在 ContextAnnotationAutowireCandidateResolver 子类中使用默认构造函数
  • ConstructorResolver.resolveConstructorArguments() 返回值问题
  • 引入 serializeToByteArray/deserializeFromByteArray 便捷方法
  • MockServerHttpRequest 上的自定义 HTTP 方法
  • AbstractMessageChannel.addInterceptor / setInterceptors 中缺少空检查
  • 避免在 AbstractRefreshableApplicationContext.getBeanFactory() 中进行完全同步,因为它可能导致大量线程阻塞
  • 简化 HttpComponentsClientHttpRequestFactory 中 HttpContext 的使用,以支持与用户相关的连接
  • 当通用签名中的类型不存在时,ResolvableType forClass 失败
  • 在 ServerSentEventHttpMessageReader 中删除不必要的中间 StringBuilder.toString() 调用
  • 修复 XStreamMarshaller 中的并发问题
  • 引入机制来发现在 ReactiveAdapterRegistry 中注册的反应类型是否使用延迟计算
  • 避免在 AbstractSockJsSession 中为关闭的会话记录异常
  • 没有合适的 HttpMessageConverter 时,在 RestTemplate 异常中包含响应主体

发布公告: https://spring.io/blog/2020/06/09/spring-framework-5-2-7-and-5-1-16-available-now


以上所述就是小编给大家介绍的《Spring Framework 5.2.7 和 5.1.16 发布》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Ethnography and Virtual Worlds

Ethnography and Virtual Worlds

Tom Boellstorff、Bonnie Nardi、Celia Pearce、T. L. Taylor / Princeton University Press / 2012-9-16 / GBP 21.00

"Ethnography and Virtual Worlds" is the only book of its kind - a concise, comprehensive, and practical guide for students, teachers, designers, and scholars interested in using ethnographic methods t......一起来看看 《Ethnography and Virtual Worlds》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试