1. 程式人生 > >Spring-Cloud學習之路-版本說明

Spring-Cloud學習之路-版本說明

本部落格參考內容: 翟永超大神的《SpringCloud微服務實戰》一書

最近剛開始自主學習spring-cloud,在pom.xml中總是被眼花繚亂的版本號弄得自己不知所措,比如:Angel.SR6、Brixton.SR5、Dalston.SR1等等之類的。

由於Spring Cloud是一個擁有諸多子專案的大型綜合專案,可以說是對微服務架構解決方案的綜合套件元件,其中包含的各個子專案都獨立的進行著內容的迭代與更新,各自維護自己的釋出版本號。

因此每一個Spring Cloud的版本都包含了不同版本的子專案,為了管理每個版本的子專案清單,避免版本號與其子專案的版本號混淆,故沒有采用版本號的方式,而是採用版本名的方式。

這些版本採用的倫敦地鐵站的名字,按照字母排序對應版本的時間順序
比如最早的RELEASE版本是 Angel,第二是Birxton……

那麼不難理解 版本名後面的SR4、SR5就是版本號了(service Release 4)

當一個Spring cloud 專案的釋出內容積累到臨界點或者一個嚴重的BUG解決可用後,就會發佈一個“service Release”版本, 簡稱SR(X)版本,x是一個遞增數字

所以 Dalston.SR1就是 Dalston的第1個 service Release 版本

在官網上最後:

Finchley builds and works with
Spring Boot 2.0.x, and is not expected to work with Spring Boot 1.5.x.-- Finchley構建並使用Spring Boot 2.0.x,並且不期望與Spring Boot 1.5.x一起使用。 The Dalston and Edgware release trains build on Spring Boot 1.5.x, and are not expected to work with Spring Boot 2.0.x. -- Dalston和Edgware建立在Spring Boot 1.5.x上,並不期望與Spring Boot 2.0.x一起使用。
The Camden release train builds on Spring Boot 1.4.x, but is also tested with 1.5.x. -- Camden搭載Spring Boot 1.4.x,但也經過1.5.x測試。 The Brixton release train builds on Spring Boot 1.3.x, but is also tested with 1.4.x. -- Brixton搭載Spring Boot 1.3.x,但也經過1.4.x測試。 The Angel release train builds on Spring Boot 1.2.x, and is incompatible in some areas with Spring Boot 1.3.x. Brixton builds on Spring Boot 1.3.x and is similarly incompatible with 1.2.x. Some libraries and most apps built on Angel will run fine on Brixton, but changes will be required anywhere that the OAuth2 features from spring-cloud-security 1.0.x are used (they were mostly moved to Spring Boot in 1.3.0). -- Angel版本建立在Spring Boot 1.2.x上,在某些領域與Spring Boot 1.3.x不相容。Brixton構建在Spring Boot 1.3.x上,與1.2.x類似。某些libraries和大部分基於Angel的應用程式都將在Brixton上執行良好,但是在使用Spring-cloud-security 1.0.x的OAuth2功能之前,它們將會在任何地方進行更改。