您现在的位置是:首页 > 文章详情

Spring Cloud 2022.0.2 发布

日期:2023-03-31点击:272

Spring Cloud 2022.0.2 已发布

获取地址:Maven

Spring Cloud 为开发人员提供了工具,以快速构建分布式系统中的某些常见模式(例如:配置管理、服务发现、智能路由、微代理、控制总线、一次性令牌、全局锁、分布式会话、群集状态等)。架构如下:

Spring Cloud 2022.x 是基于 Spring Framework 6.x 和 Spring Boot 3.x 构建的重要版本,兼容 Jakarta EE,并且最低要求使用 Java 17。

此次补丁更新包含以下主要变化:

Spring Cloud Kubernetes

  • 使用 Fabric8 DiscoveryClient添加了对外部名称服务的支持 (#1243)
  • 将 Pod 的元数据和注释添加到ServiceInstance(#1254)

Spring Cloud Contract

  • 支持使用 sendMessage 处理文件中的 body 部分 (.1867)
  • 使用 RestTemplate 拦截器放宽 SSL 验证 (#1869)

Spring Cloud Commons

  • 支持批量发送 healthcheck 实例 (#1122)

Spring Cloud OpenFeign

  • 为用户提供的参数和返回类型注册原生反射提示 (#849)
  • 支持在运行时为原生镜像设置 FeignClient URL (#807)
  • 允许为底层 OKHttp 客户端设置协议 (#825)
  • 添加使用 factory bean 进行 fallback 的可能性 (#822)

Spring Cloud Function

Spring Cloud Stream

Spring Cloud Consul

  • 修复当使用spring.config.import=consul:时,ONSUL_TOKEN没被读取的问题(738)
  • ACL Token 现在会被传递给agentCheckPass(770)

Spring Cloud Gateway

  • 支持在使用本地响应缓存 (Local Response Cache) 时禁用全局缓存 (2895)

以下模块作为 2022.0.2 的一部分也进行了更新:

Module Version Issues
Spring Cloud Vault 4.0.1 (issues)
Spring Cloud Circuitbreaker 3.0.1  
Spring Cloud Kubernetes 3.0.2 (issues)
Spring Cloud Task 3.0.2 (issues)
Spring Cloud Function 4.0.2 (issues)
Spring Cloud Commons 4.0.2 (issues)
Spring Cloud Openfeign 4.0.2 (issues)
Spring Cloud Stream 4.0.2  
Spring Cloud Consul 4.0.2 (issues)
Spring Cloud Contract 4.0.2 (issues)
Spring Cloud Gateway 4.0.4 (issues)
Spring Cloud Config 4.0.2 (issues)
Spring Cloud Netflix 4.0.1 (issues)
Spring Cloud Build 4.0.2  

详情查看 Release Notes

 

原文链接:https://www.oschina.net/news/234964/spring-cloud-2022-0-2-released
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章