大版本
Spring Cloud并没有熟悉的数字版本号,而是对应一个英文开发代号。
Cloud代号 | Boot版本(train) | Boot版本(tested) | lifecycle |
---|---|---|---|
Angle | 1.2.x | incompatible with 1.3 | 2017.7 |
Brixton | 1.3.x | 1.4.x | 2017.7 |
Camden | 1.4.x | 1.5.x | 2018.6 |
Dalston | 1.5.x | 不兼容 2.0.x | 2018.12 |
Edgware | 1.5.x | 不兼容 2.0.x | - |
Finchley | 2.0.x | 不兼容 1.5.x | - |
Greenwich | 2.1.x | 不兼容 2.0.x | - |
Hoxton | 2.2.x |
版本按照A,B,C,D,E,F...的顺序, 比如Edgware,我们一般称为E版本
小版本
Spring Cloud 小版本分为:
SNAPSHOT: 快照版本,随时可能修改
M: MileStone,M1表示第1个里程碑版本,一般同时标注PRE,表示预览版版。
SR: Service Release,SR1表示第1个正式版本,一般同时标注GA:(GenerallyAvailable),表示稳定版本。
RC: Release.Candidate, 就是发行候选版本。和Beta版最大的差别在于Beta阶段会一直加入新的功能,但是到了RC版本,几乎就不会加入新的功能了,而主要着重于除错。
每个SR版本明细都可以在这里找到:
https://github.com/spring-projects/spring-cloud/wiki
如Edgware
地址为
https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Edgware-Release-Notes
详细情况
"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.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT",
"Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4",
"Hoxton.SR3": "Spring Boot >=2.2.0.M4 and <2.3.0.BUILD-SNAPSHOT",
"Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT"
如何引入spring-cloud依赖?
org.springframework.cloud
spring-cloud-dependencies
Finchley.M2
pom
import
参考文章:
https://github.com/spring-projects/spring-cloud/wiki
https://www.cnblogs.com/xingzc/p/9414208.html
https://start.spring.io/actuator/info
https://blog.csdn.net/qq_32867467/article/details/102979969