banner
Hi my new friend!

山河浪漫,
人间温暖。

Scroll down

在SpringCloud官网(https://spring.io/projects/spring-cloud)可以看到,当前(2021年11月),SpringCloud的最新GA版本是2020.0.4这一版。
在这里插入图片描述
除了2020.0.X版本外,SpringCloud之前的版本名称是伦敦地铁站的站名命名,且首字母顺序与版本时间顺序一致,如,
Angel
Brixton
Camden
Dalston
Edgware
Finchley
Greenwich
Hoxton

当SpringCloud的发布内容积累到临界点或者一个重大Bug被解决后,会发布一个"Service Releases"版本,简称"SR"版本。
在这里插入图片描述

SpringCloud与SpringBoot的版本对应关系,可以通过以下三种方式来确定。

  • 第一种方式,描述SpringCloud发布版本与SpringBoot版本兼容性的表格。
    表中描述了一个大概范围,比如与SpringCloud Hoxton版本适配的SpringBoot版本应该是2.2.x版本或者2.3.x SR5及以上版本。
    在这里插入图片描述
    在这里插入图片描述
  • 第二种方式,访问https://start.spring.io/actuator/info
    在这里插入图片描述
    格式化后的JSON内容如下,
{ "bom-ranges": { "spring-cloud": { "Hoxton.SR12": "Spring Boot >=2.2.0.RELEASE and <2.4.0.M1", "2020.0.4": "Spring Boot >=2.4.0.M1 and <2.5.7-SNAPSHOT", "2020.0.5-SNAPSHOT": "Spring Boot >=2.5.7-SNAPSHOT and <2.6.0-M1", "2021.0.0-M1": "Spring Boot >=2.6.0-M1 and <2.6.0-M3", "2021.0.0-M3": "Spring Boot >=2.6.0-M3 and <2.6.0-SNAPSHOT", "2021.0.0-SNAPSHOT": "Spring Boot >=2.6.0-SNAPSHOT" } } }

json文件中描述的适配关系,相较于第一种方式中的兼容性表格,则更具体。如,使用SpringCloud Hoxton.SR12版本时,选择的SpringBoot版本应该在2.2.0.RELEASE~2.4.0.M1之间。

  • 第三种方式,SpringCloud参考文档推荐使用的SpringBoot版本。
    在这里插入图片描述
    在这里插入图片描述
    这种方式就相当于精准推荐了,是最合适的选型方式。

附2022最新版本对应表:

| **SpringCloud版本**       | **SpringBoot版本**                                        |
| ----------------------- | ------------------------------------------------------- |
| 2021.0.1-SNAPSHOT       | Spring Boot >=2.6.4-SNAPSHOT and <2.7.0-M1              |
| 2021.0.0                | Spring Boot >=2.6.1 and <2.6.4-SNAPSHOT                 |
| 2021.0.0-RC1            | Spring Boot >=2.6.0-RC1 and <2.6.1                      |
| 2021.0.0-M3             | Spring Boot >=2.6.0-M3 and <2.6.0-RC1                   |
| 2021.0.0-M1             | Spring Boot >=2.6.0-M1 and <2.6.0-M3                    |
| 2020.0.5                | Spring Boot >=2.4.0.M1 and <2.6.0-M1                    |
| Hoxton.SR12             | Spring Boot >=2.2.0.RELEASE and <2.4.0.M1               |
| Hoxton.BUILD-SNAPSHOT   | Spring Boot >=2.2.0.BUILD-SNAPSHOT                      |
| Hoxton.M2               | Spring Boot >=2.2.0.M4 and <=2.2.0.M5                   |
| Greenwich.BUILD-SNAPSHO | Spring Boot >=2.1.9.BUILD-SNAPSHOT and <2.2.0.M4        |
| Greenwich.SR2           | Spring Boot >=2.1.0.RELEASE and <2.1.9.BUILD-SNAPSHOT   |
| Greenwich.M1            | Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE               |
| Finchley.BUILD-SNAPSHOT | Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3      |
| Finchley.SR4            | Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT |
| Finchley.RC2            | Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE          |
|  Finchley.RC1           |  Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE         |
| Finchley.M9             | Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE         |
| Finchley.M7             | Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2                 |
| Finchley.M6             | Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1                 |
| Finchley.M5             | Spring Boot >=2.0.0.M7 and <=2.0.0.M7                   |
| Finchley.M4             | Spring Boot >=2.0.0.M6 and <=2.0.0.M6                   |
| Finchley.M3             | Spring Boot >=2.0.0.M5 and <=2.0.0.M5                   |
| Finchley.M2             | Spring Boot >=2.0.0.M3 and <2.0.0.M5                    |
| Edgware.SR5             | 1.5.20.RELEASE                                          |
| Edgware.SR5             | 1.5.16.RELEASE                                          |
| Edgware.RELEASE         | 1.5.9.RELEASE                                           |
| Dalston.RC1             | 1.5.2.RELEASE                                           |

原文链接:https://blog.csdn.net/qq_36050986/article/details/124983325

我很可爱,请给我钱

昵称
邮箱
0/200
  • OωO
  • |´・ω・)ノ
  • ヾ(≧∇≦*)ゝ
  • (☆ω☆)
  • (╯‵□′)╯︵┴─┴
  •  ̄﹃ ̄
  • (/ω\)
  • ∠( ᐛ 」∠)_
  • (๑•̀ㅁ•́ฅ)
  • →_→
  • ୧(๑•̀⌄•́๑)૭
  • ٩(ˊᗜˋ*)و
  • (ノ°ο°)ノ
  • (´இ皿இ`)
  • ⌇●﹏●⌇
  • (ฅ´ω`ฅ)
  • (╯°A°)╯︵○○○
  • φ( ̄∇ ̄o)
  • ヾ(´・ ・`。)ノ"
  • ( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
  • (ó﹏ò。)
  • Σ(っ °Д °;)っ
  • ( ,,´・ω・)ノ"(´っω・`。)
  • ╮(╯▽╰)╭
  • o(*////▽////*)q
  • >﹏<
  • ( ๑´•ω•) "(ㆆᴗㆆ)
  • 😂
  • 😀
  • 😅
  • 😊
  • 🙂
  • 🙃
  • 😌
  • 😍
  • 😘
  • 😜
  • 😝
  • 😏
  • 😒
  • 🙄
  • 😳
  • 😡
  • 😔
  • 😫
  • 😱
  • 😭
  • 💩
  • 👻
  • 🙌
  • 🖕
  • 👍
  • 👫
  • 👬
  • 👭
  • 🌚
  • 🌝
  • 🙈
  • 💊
  • 😶
  • 🙏
  • 🍦
  • 🍉
  • 😣
  • 颜文字
  • Emoji
0 条评论