Spring Cloud Finchley.SR1 发布

Spring Cloud版本

Spring Cloud版本演进情况如下:

版本名称 版本
Finchley snapshot版
Edgware snapshot版
Dalston SR1 当前最新稳定版本
Camden SR7 稳定版本
Brixton SR7 稳定版本
Angel SR6 稳定版本

从下Angel到上Finchley可以看出,版本的第一个字母是按照A-Z顺序编排的。这些单词是什么含义呢,大概的搜一下可以得出基本都是地名,官方说明是这些版本号的单词来自于英国伦敦的地铁站站名。

那么为什么要用单词而不是数字类型的版本号呢? 

因为Spring Cloud包含了一系列的子系统,Spring Cloud Config,Spring Cloud Netflix,Spring Cloud Bus等,为了防止与这些子系统的版本号混淆,Spring Cloud的版本号全部使用英文单词。

版本号后面的SRX,X代表一个数字,这个是小版本号,就是在特定的版本中,修复一些致命问题,做的升级版本号。

Spring Cloud与Spring Boot版本匹配关系

Spring Cloud Spring Boot
Finchley 兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x
Dalston和Edgware 兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x
Camden 兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x
Brixton 兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x
Angel 兼容Spring Boot 1.2.x

经过数个前期测试版本,Spring Cloud Finchley 终于迎来了正式版本:

显著变化:

  • 与 Spring Boot 2.0.x 兼容

  • 不支持 Spring Boot 1.5.x

  • 最低要求 Java 8

  • 新增 Spring Cloud Function 和 Spring Cloud Gateway 

Spring Cloud Gateway

这是一个基于 Spring Webflux 和 Reactor Netty 构建的 API 网关,可视为 Spring Cloud Netflix Zuul 的替代品。它提供了基于易于定义的谓词的动态路由。它还提供了适用于每个路由的过滤器,包括:路径重写,断路器(circuit breaker),添加或删除 headers ,速率限制和安全性。

Spring Cloud Function

Spring Cloud Function 的项目目标:

  • 通过函数促进业务逻辑的实现。

  • 将业务逻辑的开发生命周期与任何特定的运行时目标分离,以便相同的代码可以作为 Web 端点、流处理器或任务运行。

  • 支持跨 serverless providers 的统一编程模型,以及独立运行(本地或 PaaS )的能力。

  • 在 serverless providers 上启用 Spring Boot 功能(自动配置,依赖项注入,指标)。

更新包括:

  • Based on Spring Boot 2.0.3.RELEASE

  • Spring Cloud Consul 2.0.0.RELEASE (issues)

  • Spring Cloud Gateway 2.0.0.RELEASE (issues)

  • Spring Cloud Function 1.0.0.RELEASE (issues)

  • Spring Cloud Zookeeper 2.0.0.RELEASE (issues)

  • Spring Cloud Sleuth 2.0.0.RELEASE (issues)

  • Spring Cloud Aws 2.0.0.RELEASE (issues)

  • Spring Cloud Config 2.0.0.RELEASE (该版本增加对码云 Gitee 的支持,详情)

  • Spring Cloud Cloudfoundry 2.0.0.RELEASE

  • Spring Cloud Security 2.0.0.RELEASE

  • Spring Cloud Netflix 2.0.0.RELEASE (issues)

  • Spring Cloud Task 2.0.0.RELEASE (Blog Post)

  • Spring Cloud Commons 2.0.0.RELEASE

  • Spring Cloud Contract 2.0.0.RELEASE (issues)

  • Spring Cloud Stream Elmhurst.RELEASE (Release Notes)

  • Spring Cloud Vault 2.0.0.RELEASE (issues)

  • Spring Cloud Bus 2.0.0.RELEASE (issues)

  • Spring Cloud Openfeign 2.0.0.RELEASE (issues)

 更多细节可查阅:

相关链接

具体链接为

http://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies/Finchley.RELEASE

spring-cloud-netflix-dependencies 2.0.0的依赖关系。
http://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-netflix-dependencies/2.0.0.RELEASE

https://www.oschina.net/news/98613/spring-cloud-finchley-sr1-released

猜你喜欢

转载自blog.csdn.net/u014401141/article/details/81777165