Spring Cloud版本
Spring Cloud版本演進情況如下:
版本名稱 | 版本 |
Finchley | snapshot版 |
Edgware | snapshot版 |
Dalston SR1 | 當前最新穩定版本 |
Camden SR7 | 穩定版本 |
Brixton SR7 | 穩定版本 |
Angel SR6 | 穩定版本 |
從下Angel到上Finchley可以看出,版本的第一個字母是按照A-Z順序編排的。單詞來自於英國倫敦的地鐵站站名。
那么為什么要用單詞而不是數字類型的版本號呢?
因為Spring Cloud包含了一系列的子系統,Spring Cloud Config,Spring Cloud Netflix,Spring Cloud Bus等,為了防止與這些子系統的版本號混淆,Spring Cloud的版本號全部使用英文單詞。
版本號后面的SRX,X代表一個數字,這個是小版本號,就是在特定的版本中,修復一些致命問題,做的升級版本號。
Spring Cloud與Spring Boot版本匹配關系
Spring Cloud | Spring Boot |
Finchley | 兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x |
Dalston和Edgware | 兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x |
Camden | 兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x |
Brixton | 兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x |
Angel | 兼容Spring Boot 1.2.x |
顯著變化:
-
與 Spring Boot 2.0.x 兼容
-
不支持 Spring Boot 1.5.x
-
最低要求 Java 8
-
新增 Spring Cloud Function 和 Spring Cloud Gateway