2.Spring-Cloud版本说明

     Spring Cloud不想Spring社区其他一些项目那样相对独立,它是一个拥有诸多项目的大型综合项目,可以说是对微服务架构提供了一站式的解决方案,其包含的各个子项目也都独立进行着内容的更新与迭代,各自都维护这自己的版本号。因此每一个Spring Cloud的版本号都会包含多个不同的版本的子项目,为了管理每个版本的子项目清单,避免Spring Cloud的版本号与其子项目的版本号混淆,没有采用版本号的方式,而是通过命名的方式:

     这些版本名字采用了伦敦地铁站的名字,根据字母表的顺序来对应版本时间顺序,比如:最早的Release版本:Angel,第二个Release版本:Brixton,以此类推……

      经过上面的解释,不难猜出,之前所提到的Angel.SR6,Brixton.SR5中的SR6、SR5就是版本号了。当一个版本的Spring Cloud项目的发布内容积累到临界点或者一个严重bug解决可用后,就会发布一个“service releases”版本,简称SRX版本,其中X是一个递增数字。

 

通过下表,我们可以快速查阅当前各版本所包含的子项目,以及各子项目的版本号,通过此来决定需要选择怎么样的版本。

ComponentAngel.SR6Brixton.SR5Camden.M1Camden.BUILD-SNAPSHOT
spring-cloud-aws1.0.4.RELEASE1.1.1.RELEASE1.1.1.RELEASE1.1.2.BUILD-SNAPSHOT
spring-cloud-bus1.0.3.RELEASE1.1.1.RELEASE1.2.0.M11.2.0.BUILD-SNAPSHOT
spring-cloud-cli1.0.6.RELEASE1.1.5.RELEASE1.2.0.M11.2.0.BUILD-SNAPSHOT
spring-cloud-commons1.0.5.RELEASE1.1.1.RELEASE1.1.1.RELEASE1.1.2.BUILD-SNAPSHOT
spring-cloud-contract  1.0.0.M21.0.0.BUILD-SNAPSHOT
spring-cloud-config1.0.4.RELEASE1.1.3.RELEASE1.2.0.M11.2.0.BUILD-SNAPSHOT
spring-cloud-netflix1.0.7.RELEASE1.1.5.RELEASE1.2.0.M11.2.0.BUILD-SNAPSHOT
spring-cloud-security1.0.3.RELEASE1.1.2.RELEASE1.1.2.RELEASE1.1.3.BUILD-SNAPSHOT
spring-cloud-starters1.0.6.RELEASE   
spring-cloud-cloudfoundry 1.0.0.RELEASE1.0.0.RELEASE1.0.1.BUILD-SNAPSHOT
spring-cloud-cluster 1.0.1.RELEASE  
spring-cloud-consul 1.0.2.RELEASE1.1.0.M11.1.0.BUILD-SNAPSHOT
spring-cloud-sleuth 1.0.6.RELEASE1.0.6.RELEASE1.0.7.BUILD-SNAPSHOT
spring-cloud-stream 1.0.2.RELEASEBrooklyn.M1Brooklyn.BUILD-SNAPSHOT
spring-cloud-zookeeper 1.0.2.RELEASE1.0.2.RELEASE1.0.3.BUILD-SNAPSHOT
spring-boot1.2.8.RELEASE1.3.7.RELEASE1.4.0.RELEASE1.4.0.RELEASE
spring-cloud-task 1.0.2.RELEASE1.0.2.RELEASE1.0.3.BUILD-SNAPSHOT

不难看出,最初的Angel版本相对来说拥有的子项目较少,Brixton、Camden则拥有更全的子项目,所以能提供更多的组件支持。而Brixton与Camden之间,Brixton的发布子项目更为稳定,Camden则更为前瞻。

Spring Boot与Spring Cloud版本的时候,还是需要尽可能的按照Spring Cloud官方版本依赖关系来使用:
Angel版本对应Spring Boot 1.2.x

Brixton版本对应Spring Boot 1.3.x

Camden版本对应Spring Boot 1.4.x

Dalston版本和Edgware版本对应Spring Boot 1.5.x 不建议在Spring Boot2.0.x上运行

Finchley版本版本建议在Spring Boot2.0.x上运行不建议在Spring Boot 1.5.x 

ComponentEdgware.SR2Finchley.M7Finchley.BUILD-SNAPSHOT
spring-cloud-aws1.2.2.RELEASE2.0.0.M42.0.0.BUILD-SNAPSHOT
spring-cloud-bus1.3.2.RELEASE2.0.0.M62.0.0.BUILD-SNAPSHOT
spring-cloud-cli1.4.1.RELEASE2.0.0.M12.0.0.BUILD-SNAPSHOT
spring-cloud-commons1.3.2.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-contract1.2.3.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-config1.4.2.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-netflix1.4.3.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-security1.2.2.RELEASE2.0.0.M22.0.0.BUILD-SNAPSHOT
spring-cloud-cloudfoundry1.1.1.RELEASE2.0.0.M32.0.0.BUILD-SNAPSHOT
spring-cloud-consul1.3.2.RELEASE2.0.0.M62.0.0.BUILD-SNAPSHOT
spring-cloud-sleuth1.3.2.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-streamDitmars.SR3Elmhurst.RC1Elmhurst.BUILD-SNAPSHOT
spring-cloud-zookeeper1.2.0.RELEASE2.0.0.M62.0.0.BUILD-SNAPSHOT
spring-boot1.5.10.RELEASE2.0.0.RC22.0.0.BUILD-SNAPSHOT
spring-cloud-task1.2.2.RELEASE2.0.0.M32.0.0.RELEASE
spring-cloud-vault1.1.0.RELEASE2.0.0.M62.0.0.BUILD-SNAPSHOT
spring-cloud-gateway1.0.1.RELEASE2.0.0.M72.0.0.BUILD-SNAPSHOT
spring-cloud-openfeign 2.0.0.M12.0.0.BUILD-SNAPSHO

 

当前SpringCloud官方最新版本:http://projects.spring.io/spring-cloud/

 

 

整理自http://blog.didispace.com/springcloud-version/

                                                                               微信公众号: 

                                               

                                                                             JAVA程序猿成长之路

                          分享资源,记录程序猿成长点滴。专注于Java,Spring,SpringBoot,SpringCloud,分布式,微服务。 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值