spring boot和spring cloud版本匹配关系

升级Spring Boot到2.0.0时,应当注意Spring Cloud Finchley与之匹配,不建议与Spring Boot 1.5.x版本配合使用。Dalston和Edgware适用于Spring Boot 1.5.x,不兼容2.0.x。Camden可以在1.4.x及1.5.x上运行。Brixton和Angel已结束支持。
摘要由CSDN通过智能技术生成
				版权声明:本文为博主原创文章,未经博主允许不得转载。**注意事项**:本博客所有代码是为了介绍相关内容而编写或者引用的,示例代码并非可直接用于生产的代码。仅供参考而已。					https://blog.csdn.net/russle/article/details/80865288				</div>
							            <div id="content_views" class="markdown_views prism-atom-one-light">
						<!-- flowchart 箭头图标 勿删 -->
						<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path></svg>
						<p>很多人在使用springboot和springcloud,但是对于这两者之间的版本关系不是很清楚,特别是在面临升级的时候不知道该如何操作。本文简要摘录的官方文档的部分内容作为依据,供广<a href="https://www.baidu.com/s?wd=%E5%A4%A7%E5%90%8C%E8%A1%8C&amp;tn=24004469_oem_dg&amp;rsv_dl=gh_pl_sl_csd" target="_blank">大同行</a>参考。</p>

问题的提出,我现在使用的是1.5.1版本的springboot 和Edgware.RELEASE版本的springcloud,我想升级到springboot到2.0.0, springcloud需要升级吗? 或者我想单独升级springcloud到Finchley.RELEASE,可以不用升级springboot吗?

如果一次升级多个基础框架,可能面临的风险较大,需要我们审慎评估和测试,所以一般我们都是小步快速升级,先升级一个,上线没问题后,再升级另外一个,最终达到升级整改项目框架。可是有时我们必须理清楚这些要升级的框架之间的依赖关系,否则就无法有的放矢,因为升级了A,可能系统就无法正常运行,因为A和他依赖的某个框架是同步绑定版本的,升级A就必须同步升级他的依赖。而SpringCloud和Springboot就存在这样的关系。

Spring Cloud的版本列表
这里写图片描述

release发布记录在这里

https://projects.spring.io/spring-cloud/。 Finchley builds and works with Spring Boot 2.0.x, and is not expected to work with 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.
The Camden release train builds on Spring Boot 1.4.x, but is also tested with 1.5.x.
NOTE: The Brixton and Angel release trains were marked end-of-life (EOL) in July 2017.
The Brixton release train builds on Spring Boot 1.3.x, but is also tested with 1.4.x.

从这段文字可以知道,
Finchley需要Spring Boot 2.0.x,预计不会与Spring Boot 1.5.x一起工作(潜在台词,和1.5.x没有和做过兼容性测试,最好不要和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进行过测试。所以可以认为是能够和Spring Boot 1.5.x一起工作的。
Brixton版本和Angel版本已经不再支持了(2017-07就结束了)。

Spring Cloud与Spring Boot版本匹配关系
这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值