1. SpringCloud版本概述
SpringCloud版本名称的命名方式采用了伦敦地铁站的名称,同时根据字母表的顺序来对应版本时间顺
序。最早的版本:Angel,第二个Release版本:Brixton,然后是Camden、Dalston、Edgware、
Finchley、Greenwich ,目前最新的版本为Hoxton。详情查看spring官网
目前官网着重强调如下几点:
- Greenwich版本对应Spring Boot 2.1x,不能整合Spring Boot 1.5x
- Dalson 和 Edgware 版本对应Spring Boot 1.5x,不能整合Spring Boot 2.0x
- Camden 、Brixton 和 Angel 版本
was marked end-of-life
均已废弃
2. SpringCloud大版本
大版本目前有:
- 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
- Hoxton 版本对应Spring Boot 2.2.x
具体版本的对应关系可参考网址:
https://start.spring.io/actuator/info
{
git: {
commit: {
time: "2019-10-08T16:07:17Z",
id: "4a3480d"
},
branch: "4a3480d9fca05a65f6e25e8f78cfcc1fc3bcde27"
},
build: {
version: "0.0.1-SNAPSHOT",
artifact: "start-site",
name: "start.spring.io website",
versions: {
initializr: "0.9.0.BUILD-SNAPSHOT",
spring-boot: "2.1.9.RELEASE"
},
group: "io.spring.start",
time: "2019-10-08T16:11:41.817Z"
},
bom-ranges: {
azure: {
2.0.10: "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE",
2.1.7: "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1",
2.2.0.M1: "Spring Boot >=2.2.0.M1"
},
codecentric-spring-boot-admin: {
2.0.6: "Spring Boot >=2.0.0.M1 and <2.1.0.M1",
2.1.5: "Spring Boot >=2.1.0.M1 and <2.2.0.M1"
},
spring-cloud: {
Finchley.M2: "Spring Boot >=2.0.0.M3 and <2.0.0.M5",
Finchley.M3: "Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
Finchley.M4: "Spring Boot >=2.0.0.M6 and <=2.0.0.M6",
Finchley.M5: "Spring Boot >=2.0.0.M7 and <=2.0.0.M7",
Finchley.M6: "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1",
Finchley.M7: "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2",
Finchley.M9: "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE",
Finchley.RC1: "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE",
Finchley.RC2: "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE",
Finchley.SR4: "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT",
Finchley.BUILD-SNAPSHOT: "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3",
Greenwich.M1: "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
Greenwich.SR3: "Spring Boot >=2.1.0.RELEASE and <2.1.10.BUILD-SNAPSHOT",
Greenwich.BUILD-SNAPSHOT: "Spring Boot >=2.1.10.BUILD-SNAPSHOT and <2.2.0.M4",
Hoxton.M2: "Spring Boot >=2.2.0.M4 and <2.2.0.BUILD-SNAPSHOT",
Hoxton.BUILD-SNAPSHOT: "Spring Boot >=2.2.0.BUILD-SNAPSHOT"
}
3. SpringCloud小版本
- SNAPSHOT: 快照版本,随时可能修改
- M: MileStone,M1表示第1个里程碑版本,一般同时标注PRE,表示预览版版。
- SR: Service Release,SR1表示第1个正式版本,一般同时标注GA(Generally Available),表示稳定版本。
注意:生产环境建议选择GA稳定版本
更详细的版本选择参考:
https://github.com/spring-projects/spring-cloud/wiki
参考链接: