大版本
Spring Cloud并沒有熟悉的數(shù)字版本號,而是對應一個英文開發(fā)代號逗堵。
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),表示穩(wěn)定版本悔雹。
RC: Release.Candidate, 就是發(fā)行候選版本复哆。和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依賴?
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.M2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
參考文章:
https://github.com/spring-projects/spring-cloud/wiki
https://www.cnblogs.com/xingzc/p/9414208.html