spring boot 和cloud 版本升级

spring boot 和cloud 版本对应
背景:原来一直用的版本是Hoxton.SR12 +2.3.10.RELEASE(SR12一路升,几乎没有影响,不需要测试,但是换大版本就有点担心)
去年2022年底黑鸭子报漏洞把springboot,cloud一锅端了,每次发版都要申请豁免好多jar包,真的头大了,想想还在用好几年前的版本,确实不太合适,下定决心升一下版本。

1

具体对应关系可以通过官方给的网址来获取:https://start.spring.io/actuator/info

 "spring-cloud":{
            "Hoxton.SR12":"Spring Boot >=2.2.0.RELEASE and <2.4.0.M1",
            "2020.0.6":"Spring Boot >=2.4.0.M1 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-RC1",
            "2021.0.0-RC1":"Spring Boot >=2.6.0-RC1 and <2.6.1",
            "2021.0.5":"Spring Boot >=2.6.1 and <3.0.0-M1",
            "2022.0.0-M1":"Spring Boot >=3.0.0-M1 and <3.0.0-M2",
            "2022.0.0-M2":"Spring Boot >=3.0.0-M2 and <3.0.0-M3",
            "2022.0.0-M3":"Spring Boot >=3.0.0-M3 and <3.0.0-M4",
            "2022.0.0-M4":"Spring Boot >=3.0.0-M4 and <3.0.0-M5",
            "2022.0.0-M5":"Spring Boot >=3.0.0-M5 and <3.0.0-RC1",
            "2022.0.0-RC1":"Spring Boot >=3.0.0-RC1 and <3.0.0-RC2",
            "2022.0.0-RC2":"Spring Boot >=3.0.0-RC2 and <3.0.0",
            "2022.0.1":"Spring Boot >=3.0.0 and <3.1.0-M1"
        }

2

对应关系 https://spring.io/projects/spring-cloud 往下拉

cloudbootjava
2022.0.x aka Kilburn3.0.xjdk17
2021.0.x aka Jubilee2.6.x, 2.7.x (Starting with 2021.0.3)
2020.0.x aka Ilford2.4.x, 2.5.x (Starting with 2020.0.3)
Hoxton2.2.x, 2.3.x (Starting with SR5)
Greenwich2.1.x
Finchley2.0.x
Edgware1.5.x
Dalston1.5.x

3 GA版本

cloud的GA版本是 https://spring.io/projects/spring-cloud#learn

  • 2022.0.1
  • 2021.0.8
  • 2020.0.6

boot的GA版本 https://spring.io/projects/spring-boot#learn

  • 3.0.2
  • 2.7.17

居然Hoxton 已经不是GA了(Hoxton 2021/06/30 停止维护 ,重大bug延迟维护到2022/02/28),2.3.10.RELEASE也不是了

这些都被黑鸭子报漏洞了

倾向于springcloud升级到 2021.0.8 这个GA版本
https://docs.spring.io/spring-cloud/docs/2021.0.5/reference/html/

Release Train Version: 2021.0.8
Supported Boot Version: 2.6.15

推荐的boot版本是2.6.15,

https://spring.io/projects/spring-boot#support

版本发布时间停止维护时间停止商业支持
2.7.02022-05-192023-11-242025-08-24
2.6.02021-12-17已停止2024-02-24
2.5.x2021-05-20已停止已停止
2.4.x2020-11-12已停止已停止
2.3.x2020-05-15已停止已停止
2.2.x2019-10-16已停止已停止
2.1.x2018-10-10已停止已停止
2.0.x2018-03-01已停止已停止
1.5.x2017-01-30已停止已停止

黑鸭子里面的springboot安全版本是

  • 2.5.12+ 已经不支持了
  • 2.6.6+ 也停止维护了
  • 2.7.0+ 感觉也快停止维护了

所以最后暂时选择了升级到 2021.0.8+2.7.17 这样的GA版本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值