IT资讯 Spring Framework 6.0.0-M6 和 5.3.23 发布

marvin · 2022-09-17 17:00:07 · 热度: 11

Spring Framework 6.0.0-M6 和 5.3.23 已发布。

Spring Framework5.3.23包含 32 项修复和改进,建议所有在生产环境使用的用户都进行升级。

5.3.23 主要变化

  • 引入 AnnotationUtils.isSynthesizedAnnotation(Annotation) #29054
  • 在 AbstractGenericWebContextLoader 中引入 createContext() 工厂方法 #28983
  • 在 CollectionFactory.createCollection() 中支持 TreeSet collection 类型而不使用反射 #28949
  • 当 RequestEntity.getUrl() 抛出 UnsupportedOperationException 异常时进行记录 #28930
  • 弃用 NestedIOException #28929
  • 将 WebSocketConnectionManager 中的 isConnected() 设置为公开 #28785
  • 将 STOMP RECEIPT 帧中的 header 公开给已注册的回调 #28715
  • 使 WebClientException 可序列化#28321
  • 将依赖项 Reactor 升级到 2020.0.23 #29129
  • ……

Spring Framework6.0.0-M6包含 123 项特定于 6.0 分支的附加修复和改进。这个里程碑囊口了目前大部分 AOT 工作,团队称已经为发布 RC 做好准备。

6.0.0-M6 主要变化

  • 添加 HandshakeWebSocketService runtime 提示 #29146
  • 在 ReflectionHintsPredicates 中添加 className 变体用于检查字段和方法 #29143
  • 在原生镜像中2将hibernate.bytecode.provider设置为none#29140
  • 为 org.hibernate.SessionFactory 和 org.hibernate.Session 添加代理提示 #29138
  • 修复 DefaultPersistenceUnitManager.determineDefaultPersistenceUnitRootUrl 无法解析原生镜像中的根 url 问题 #29137
  • 使 FieldHint 适应最新的 GraalVM 版本 #29130
  • 弃用 StreamUtils.emptyInput() #29125
  • 当无法生成值的代码时,改进异常消息 #29118
  • 弃用对 theme 的支持 #29114
  • HtmlCharacterEntityReferences.properties添加资源提示 #29112
  • 在 TestContext 框架中引入 AotTestAttributes 机制 #29100
  • 支持从 ClassPathResource#getPath 返回不带斜杠的绝对路径 #29099
  • 为通过 PersistenceManagedTypes 公开的类型注册运行时提示  #29096
  • 删除不推荐使用的 SynthesizedAnnotation 接口 #29092
  • 添加对提供 JNI 运行时提示的支持 #29085

发布公告

 

为您推荐与 spring 相关的帖子:

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册