Spring Cloud版本选择

大版本目前主要有:
Angel版本对应Spring Boot 1.2.x
Brixton版本对应Spring Boot 1.3.x
Camden版本对应Spring Boot 1.4.x
Dalston 版本对应Spring Boot 1.5.x
Edgware 版本对应Spring Boot 1.5.x
Finchley 版本对应Spring Boot 2.0.x
Greenwich 版本对应Spring Boot 2.1.x
小版本:
SNAPSHOT: 快照版本,随时可能修改
M: MileStone,M1表示第1个里程碑版本,一般同时标注PRE,表示预览版版。
SR: Service Release,SR1表示第1个正式版本,一般同时标注GA(GenerallyAvailable),表示稳定版本。
生产系统建议选择GA稳定版本

D版本和E版本的区别
二者均基于SpringBoot的1.5.x版本。但支持其他组件的版本不同,每个小版本的不同,会有细微差别。如以 Dalston.SR4 和 Edgware.RELEASE 来对比:

spring-cloud-config 分别对应 1.3.3和 1.4.0;
spring-cloud-netflix 分别对应 1.3.5和 1.4.0;
spring-cloud-consul 分别对应 1.2.1和 1.3.0;
spring-cloud-gateway 前者不支持,后者 1.0.0。

版本的选择建议
考虑单体应用的Spring Boot的版本兼容性。
如果你项目需要和与老项目集成,以兼容为第一要务。

发表回复

您的电子邮箱地址不会被公开。

1 × 1 =