Spring Cloud 学习(一)版本那些事
Spring Cloud版本那些事
首先我们先看看一张图(来自spring cloud中文官方文档)
除了我们看到Spring cloud版本有这些 Brixton版本,Dalston版本,还有截止目前最新的Greenwich版本,流行的基于spring boot 2.0的Finchley版本,及稳定版本Edgware版本
版本命名的故事
有不同的版本,为了管理主项目和子项目的依赖关系,为了避免冲突和误解,主项目与子项目并没有使用直接的数学的版本的形式,而是用的是 伦敦的 地铁站的 名字进行的命名.所有的字母是从A–Z进行的排序迭代更新的.
故第一个spirng的第一个名称为Angel 第二个版本名 Britxton —>Camden–>Dalston–
当产生一个大的 bug的修复的 或者 一个项目的顶峰 时 会发布一个 Service Release 版本, --> 简称为 SR(x) ---->此处的x 不是x是数字的递增
Spring Cloud与Spring Boot之间的关系
这是目前发行的Spring Cloud版本与Spring boot对应关系,摘自与Spring Cloud中文官方文档,Spring Cloud是基于Spring Boot开发的云应用框架
- Greenwich 是基于Spring Boot 2.1.x构建的
- 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, 之上,但也支持 1.4.x.
- Angel 是构建在 Spring Boot 1.2.x, 之上,但也兼容 Spring Boot 1.3.x.
注意: Angel 和 Brixton 两个版本已于2017年7月终止不再进行维护。
Spring Cloud组件和对应开发的Spring boot版本号
Spring Cloud学习推荐博文
个人比较喜欢方志朋大佬的博客,简单通俗易懂,强烈推荐
方志朋的博客https://www.fangzhipeng.com/springcloud
纯洁的微笑博客http://www.ityouknow.com/spring-cloud.html
程序猿DD的博客http://blog.didispace.com/
文章参考
- Spring Cloud中文官方文档https://springcloud.cc/
- Spring Cloud英文官方文档https://spring.io/projects/spring-cloud
- 徐小冠****博客https://blog.****.net/weixin_42114097/article/details/82354534