SpringCloud包含了眾多子項目,每一個子項目發布時間不一定一致,所以采用了倫敦地鐵站為版本說明,而不是數字。并且從A開始是第一個發布版,B是第二個,以此類推。
SpringCloud版本 | SpringBoot版本 |
---|---|
Greenwich(格林威治) | 2.1.x |
Finchley(芬奇利) | 2.0.x |
Edgware(埃奇韋爾) | 1.5.x |
Dalston(多爾斯頓) | 1.5.x |
Camden(卡姆登) | 1.4.x |
Brixton(布里克斯頓) | 1.3.x |
Angel(天使) | 1.0.x |
現在最新版本是Greenwich和2.1.x,如果版本不對,程序啟動和運行會發生很多問題。
SpringCloud的幾個發布標簽有:
GA:General availability:通用版本。并且已經很穩定了,功能齊全。
RC:Release candidate:發布候選版本。功能較為齊全,相對穩定,問題應該相對少和次要,值得報告,bug將會修復。
M:Milestone build:里程碑版本。功能還不全,項目完成了一個計劃,但是還是可能有問題的。
SRX:Service Release:服務發布版本。When point releases of the individual projects accumulate to a critical mass, or if there is a critical bug in one of them that needs to be available to everyone, the release train will push out "service releases" with names ending ".SRX", where "X" is a number.
在選擇SpringCloud和SpringBoot版本的時候一定要考慮這些。