说明

2019年1月23日,Spring Cloud创始人Spencer Gibb在博客发布了Spring Cloud Greenwich版本正式发版的消息,可以在 Spring Milestone 和 Maven Central 库获取到,现在来看看Greenwich有哪些变化。

2020年2月1号,发布Spring Cloud Service Release 5 (SR5) 发布。
Spring Cloud Greenwich Release 记录

End of Life (EOL) 提醒

Edgware版本将于2019年8月1日达到EOL状态。
官网:https://github.com/Netflix/Hystrix

Spring Cloud Finchley发布系列目前是一个主要版本,并且与Spring Boot 2.0.x版本相关联。 因此,当Spring Boot 2.0.x版本分支标记为EOL时,Spring Cloud Finchley版本系列将达到EOL状态。

Spring Cloud Greenwich版本系列被认为是次要版本,并将继续支持Spring Boot 2.x版本分支。

Greenwich有哪些新变化

Spring Cloud所有的项目都进行了更新,以实现Java 11的兼容性。并且Greenwich 版本有两个新项目,Spring Cloud GCP(提供与Google Cloud Platform的集成)和Spring Cloud Kubernetes(提供与Kubernetes的集成)

Spring Cloud Netflix项目进入维护模式

最近,Netflix宣布Hystrix正在进入维护模式(不再添加新功能,只修复bug)。 自2016年以来,Ribbon已处于类似状态。虽然Hystrix和Ribbon现在处于维护模式,但它们仍然在Netflix上大规模部署。

Hystrix Dashboard和Turbine已被Atlas取代。以下Spring Cloud Netflix模块将进入维护模式:

  • spring-cloud-netflix-archaius
  • spring-cloud-netflix-hystrix-contract
  • spring-cloud-netflix-hystrix-dashboard
  • spring-cloud-netflix-hystrix-stream
  • spring-cloud-netflix-hystrix
  • spring-cloud-netflix-ribbon
  • spring-cloud-netflix-turbine-stream
  • spring-cloud-netflix-turbine
  • spring-cloud-netflix-zuul

这不包括Eureka或并发限制模块。

替代组件

不过不用慌张,虽然netflix绝大部分组件已经进入维护模式,但是Spring Cloud团队开发了一些新的组件去取代这些组件。

当前组件 可取代的组件
Hystrix Resilience4j
Hystrix Dashboard / Turbine Micrometer + Monitoring System
Ribbon Spring Cloud Loadbalancer
Zuul 1 Spring Cloud Gateway
Archaius 1 Spring Boot external config + Spring Cloud Config

下面来看一下Greenwich版本的主要变化。

Spring Cloud Sleuth

  • 更新到了最新的Brave库。
  • WebFlux和Reactor集成的性能改进。
  • 增加了GRPC组件
  • 增加了对多个span reporter 支持。
  • 增加了限速采样器的支持。

Spring Cloud GCP
See the Google release announcement.

Spring Cloud Netflix

  • 升级了Ribbon and Eureka 的版本
  • 为新的ServiceInstance.instanceId字段添加了支持。

Spring Cloud Consul

  • 为新的ServiceInstance.instanceId字段添加了支持。

Spring Cloud Gateway

  • 添加了重写响应头过滤器。
  • 在各自的路由predict中为多个路径和主机添加了支持,并自定义在某些情况下返回的HTTP状态代码。

Spring Cloud Kubernetes

  • 你现在可以将ServiceInstance元数据配置为来自Kubernetes Labels对象、Annotations对象和Ports对象。
  • 在启动期间使用KubernetesDiscoveryClient进行了增强。
  • 添加了一个模块来检测Istio的存在。

Spring Cloud Security
添加了Spring Cloud Gateway 的一个过滤器去支持 OAuth2。具体可参考这个案例。https://github.com/spring-cloud-samples/sample-gateway-oauth2login

Spring Cloud Config

  • 添加了EnvironmentRepository以支持CredHub后端。

Spring Cloud OpenFeign

  • 支持了@QueryMap注解
  • 升级到了OpenFeign版本为10.1.0.

其他升级的组件比如Spring Cloud Commons、Spring Cloud 、VaultSpring Cloud Contract、Spring Cloud Task、Spring Cloud Zookeeper、Spring Cloud Stream、Spring Cloud Function见原文:https://spring.io/blog/2019/01/23/spring-cloud-greenwich-release-is-now-available

以下模块作为Greenwich.RELEASE版本进行了更新:

模块 版本
Spring Cloud Sleuth 2.1.0.RELEASE (issues)
Spring Cloud Gcp 1.1.0.RELEASE (issues)
Spring Cloud Build 2.1.2.RELEASE
Spring Cloud Netflix 2.1.0.RELEASE (issues)
Spring Cloud Consul 2.1.0.RELEASE
Spring Cloud Gateway 2.1.0.RELEASE (issues)
Spring Cloud Greenwich.RELEASE
Spring Cloud Function 2.0.0.RELEASE (issues)
Spring Cloud Stream Fishtown.RELEASE
Spring Cloud Zookeeper 2.1.0.RELEASE
Spring Cloud Cloudfoundry 2.1.0.RELEASE
Spring Cloud Aws 2.1.0.RELEASE
Spring Cloud Task 2.1.0.RELEASE
Spring Cloud Kubernetes 1.0.0.RELEASE (issues)
Spring Cloud Contract 2.1.0.RELEASE (issues)
Spring Cloud Release Greenwich.RELEASE
Spring Cloud Security 2.1.0.RELEASE
Spring Cloud Starter Greenwich.RELEASE
Spring Cloud Bus 2.1.0.RELEASE (issues)
Spring Cloud Config 2.1.0.RELEASE (issues)
Spring Cloud Vault 2.1.0.RELEASE (issues)
Spring Cloud Openfeign 2.1.0.RELEASE (issues)
Spring Cloud Commons 2.1.0.RELEASE
Spring Cloud Dependencies 2.1.2.RELEASE

Spring Cloud Finchely版本发布才半年多,Greenwich版本就发布了,2019年11月28号发布Hoxton。

参考

https://spring.io/team/spencergibb

https://mp.weixin.qq.com/s/YM02h32269Z4wxbKTz6y4w?

https://spring.io/blog/2019/11/28/spring-cloud-hoxton-released

https://spring.io/blog/2018/07/30/spring-cloud-edgware-eol-aug-1st-2019

【易实战】Spring Cloud Greenwich版本发布相关推荐

  1. Spring Cloud Greenwich版本已发布!

    点击上方"方志朋",选择"置顶或者星标" 你的关注意义重大! 就在1月23日,spring的官方博客发布了Spring Cloud Greenwich版本正式发 ...

  2. 2020年Spring Cloud最后一个大版本发布!

    2020年12月22日,Spring Cloud 2020.0 正式发布GA版本! 版本说明 每次Spring Cloud的大版本发布,我们都要先弄清楚,它对应的Spring Boot版本是哪个! 该 ...

  3. Spring Cloud Greenwich 新特性和F版升级分享

    来源:https://dwz.cn/LkwPsmut 前几天介绍了,关于Spring Cloud Greenwich版本发布的官方博客翻译:Spring Cloud Greenwich.RELEASE ...

  4. Spring Cloud Greenwich 正式发布,Hystrix 即将寿终正寝!

    Spring Cloud Greenwich 正式版在 01/23/2019 这天正式发布了,下面我们来看下有哪些更新内容. 生命周期终止提醒 Spring Cloud Edgware Edgware ...

  5. Spring Cloud Alibaba 版本对照详情

    版本说明 组件版本关系 Spring Cloud Alibaba Version Sentinel Version Nacos Version RocketMQ Version Dubbo Versi ...

  6. Spring Cloud Greenwich 最后一个计划版本发布!

    点击上方蓝色"程序猿DD",选择"设为星标" 回复"资源"获取独家整理的学习资料! 作者 | 局长 来源 | https://www.osc ...

  7. 实战 Spring Cloud Gateway 之限流篇

    来源:https://www.aneasystone.com/archives/2020/08/spring-cloud-gateway-current-limiting.html 话说在 Sprin ...

  8. Spring Cloud Alibaba 新版本发布:众多期待内容整合打包加入!

    点击蓝色"程序猿DD"关注我哟 加个"星标",不忘签到哦 在Nacos 1.0.0 Release之后,Spring Cloud Alibaba也终于发布了最新 ...

  9. Spring Cloud Greenwich 新特性和F升级分享

    2019.01.23 期待已久的Spring Cloud Greenwich 发布了release版本,作为我们团队也第一时间把RC版本替换为release,以下为总结,希望对你使用Spring Cl ...

  10. 网关 跨域_好文推荐:微服务网关实战—Spring Cloud Gateway

    作者:博云BoCloud| 前言 作为Netflix Zuul的替代者,Spring Cloud Gateway是一款非常实用的微服务网关,在Spring Cloud微服务架构体系中发挥非常大的作用. ...

最新文章

  1. 作业三--简单四则运算
  2. [转]Newtonsoft JSON how to dynamically change the date format?
  3. [SVN(ubuntu)] ubuntu使用svn
  4. 加密选项_视频会议Zoom 5.0版本重大更新,增强加密功能提供更多安全选项
  5. win10 x64+anaconda+labelme标注数据
  6. Leetcode | 107. Binary Tree Level Order Traversal II
  7. 串口工具securecrt_SecureCRT配置华为交换机部分命令
  8. java 8 特点_Java8的特性有哪些
  9. 火山PC模拟键盘操作
  10. SI24R1调试接收方能接收到数据,但发送方提示发送超时失败
  11. 什么是云桌面?企业为什么要关心云桌面?
  12. PhpStorm Unhandled exceptions错误解决
  13. JDBC如何有效防止SQL注入
  14. 5个最好的WordPress电商插件比较 - 2019年
  15. 函数与映射的区别和联系
  16. 2019年人工智能产业发展调研报告
  17. Android9 HWbinder使用-注册service流程解析
  18. 个人简历模板html5
  19. 自定义实现一个RPC框架(七)
  20. Docker部署Canal

热门文章

  1. oracle votedisk ocr,Oracle 11gR2 RAC OCR和votingdisk故障恢复案例
  2. PHP获取grpc请求时间,Go gRPC进阶-超时设置(六)
  3. 必看干货!五个步骤帮您成功实施IT SLA
  4. IntelliJ IDEA 2019.1 EAP5 发布,Maven 构建输出统一查看
  5. 关于Unity中DOTween插件的使用(专题一)
  6. ARM给服务器厂商更多创新机会
  7. shell中的比较与测试
  8. 360搜索引擎能否给苦逼的站长们带来希望?
  9. 查找算法——二分查找
  10. md(Markdown)文件编辑