Spring Cloud與Spring Boot版本匹配關係

  • 2019 年 12 月 7 日
  • 筆記

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