spring cloud 版本命名規(guī)范與spring boot的版本兼容性

大版本

Spring Cloud并沒有熟悉的數(shù)字版本號,而是對應(yīng)一個英文開發(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個里程碑版本,一般同時標(biāo)注PRE,表示預(yù)覽版版。

SR: Service Release,SR1表示第1個正式版本,一般同時標(biāo)注GA:(GenerallyAvailable),表示穩(wěn)定版本。

RC: Release.Candidate, 就是發(fā)行候選版本。和Beta版最大的差別在于Beta階段會一直加入新的功能,但是到了RC版本,幾乎就不會加入新的功能了,而主要著重于除錯。

每個SR版本明細(xì)都可以在這里找到:

https://github.com/spring-projects/spring-cloud/wiki

Edgware地址為

https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Edgware-Release-Notes

詳細(xì)情況

"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

https://start.spring.io/actuator/info

https://blog.csdn.net/qq_32867467/article/details/102979969

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容