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

來源:互聯網
上載者:User

本部落格參考內容: 翟永超大神的《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 版本

下圖是spring-cloud官方給出的最新依賴的版本(https://projects.spring.io/spring-cloud/):

下圖是GitHub上spring-cloud版本更新記錄(https://github.com/spring-cloud/spring-cloud-release/releases):

在官網上最後:

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功能之前,它們將會在任何地方變更。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.