release版本 数据溢出_Spring Cloud Greenwich版本已发布!

 点击上方“方志朋”,选择“置顶或者星标”

你的关注意义重大!

就在1月23日,spring的官方博客发布了Spring Cloud Greenwich版本正式发版的消息,Greenwich版本目前已经上了Maven的中央仓库,现在来看看Greenwich有哪些变化。

End of Life (EOL) 提醒

Edgware版本将于2019年8月1日达到EOL状态。您可以在此处阅读正式公告。

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团队开发了一些新的组件去取代这些组件。

当前组件可取代的组件
HystrixResilience4j
Hystrix Dashboard / TurbineMicrometer + Monitoring System
RibbonSpring Cloud Loadbalancer
Zuul 1Spring Cloud Gateway
Archaius 1Spring 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 Sleuth2.1.0.RELEASE (issues)
Spring Cloud Gcp1.1.0.RELEASE (issues)
Spring Cloud Build2.1.2.RELEASE
Spring Cloud Netflix2.1.0.RELEASE (issues)
Spring Cloud Consul2.1.0.RELEASE
Spring Cloud Gateway2.1.0.RELEASE (issues)
Spring CloudGreenwich.RELEASE
Spring Cloud Function2.0.0.RELEASE (issues)
Spring Cloud StreamFishtown.RELEASE
Spring Cloud Zookeeper2.1.0.RELEASE
Spring Cloud Cloudfoundry2.1.0.RELEASE
Spring Cloud Aws2.1.0.RELEASE
Spring Cloud Task2.1.0.RELEASE
Spring Cloud Kubernetes1.0.0.RELEASE (issues)
Spring Cloud Contract2.1.0.RELEASE (issues)
Spring Cloud ReleaseGreenwich.RELEASE
Spring Cloud Security2.1.0.RELEASE
Spring Cloud StarterGreenwich.RELEASE
Spring Cloud Bus2.1.0.RELEASE (issues)
Spring Cloud Config2.1.0.RELEASE (issues)
Spring Cloud Vault2.1.0.RELEASE (issues)
Spring Cloud Openfeign2.1.0.RELEASE (issues)
Spring Cloud Commons2.1.0.RELEASE
Spring Cloud Dependencies2.1.2.RELEASE

Spring Cloud Finchely版本发布才半年多,Greenwich版本就发布了,预计2019年7月将会发布H版本了,有得学了,大家加油。

注:本文部分参考spring官方博客https://spring.io/blog/2019/01/23/spring-cloud-greenwich-release-is-now-available

-更多文章-

分布式事务的实现原理

SpringMVC工作原理详解

面试被问烂的SpringIOC(求求你别再问了)

SpringAOP是什么?你都拿它做什么?

浅析几种线程安全模型

-关注我-

82a4f0c236ccb2054e93f30376bdf1eb.png

看完了,帮我点个“好看”鸭

点鸭点鸭

↓↓↓↓

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值