spring boot、spring cloud、spring cloud alibaba 之间的版本对应关系

大家在引用pom的时候还是要以官方推荐版本为主,不然容易出现未知的问题。

1.spring boot 和 spring cloud 的版本关系

官方提供的版本对照表 https://start.spring.io/actuator/info

{
    
    
    "git": {
    
    
        "branch": "93e528fc7e79e41a513e493d057499401a15eb67",
        "commit": {
    
    
            "id": "93e528f",
            "time": "2022-05-12T12:07:39Z"
        }
    },
    "build": {
    
    
        "version": "0.0.1-SNAPSHOT",
        "artifact": "start-site",
        "versions": {
    
    
            "spring-boot": "2.6.6",
            "initializr": "0.13.0-SNAPSHOT"
        },
        "name": "start.spring.io website",
        "time": "2022-05-12T12:09:13.057Z",
        "group": "io.spring.start"
    },
    "bom-ranges": {
    
    
        "codecentric-spring-boot-admin": {
    
    
            "2.4.3": "Spring Boot >=2.3.0.M1 and <2.5.0-M1",
            "2.5.6": "Spring Boot >=2.5.0.M1 and <2.6.0-M1",
            "2.6.5": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        },
        "solace-spring-boot": {
    
    
            "1.1.0": "Spring Boot >=2.3.0.M1 and <2.6.0-M1",
            "1.2.1": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        },
        "solace-spring-cloud": {
    
    
            "1.1.1": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
            "2.1.0": "Spring Boot >=2.4.0.M1 and <2.6.0-M1",
            "2.3.0": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        },
        "spring-cloud": {
    
    
            "Hoxton.SR12": "Spring Boot >=2.2.0.RELEASE and <2.4.0.M1",
            "2020.0.5": "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.2": "Spring Boot >=2.6.1 and <2.6.8-SNAPSHOT",
            "2021.0.3-SNAPSHOT": "Spring Boot >=2.6.8-SNAPSHOT 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.1.0-M1"
        },
        "spring-cloud-azure": {
    
    
            "4.0.0": "Spring Boot >=2.5.0.M1 and <2.7.0-M1"
        },
        "spring-cloud-gcp": {
    
    
            "2.0.10": "Spring Boot >=2.4.0-M1 and <2.6.0-M1",
            "3.2.1": "Spring Boot >=2.6.0-M1 and <2.7.0-M1"
        },
        "spring-cloud-services": {
    
    
            "2.3.0.RELEASE": "Spring Boot >=2.3.0.RELEASE and <2.4.0-M1",
            "2.4.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
            "3.3.0": "Spring Boot >=2.5.0-M1 and <2.6.0-M1",
            "3.4.0": "Spring Boot >=2.6.0-M1 and <2.7.0-M1"
        },
        "spring-geode": {
    
    
            "1.3.12.RELEASE": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
            "1.4.13": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
            "1.5.13": "Spring Boot >=2.5.0-M1 and <2.6.0-M1",
            "1.6.7": "Spring Boot >=2.6.0-M1 and <2.7.0-M1",
            "1.7.0-RC1": "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
            "2.0.0-M2": "Spring Boot >=3.0.0-M1 and <3.1.0-M1"
        },
        "vaadin": {
    
    
            "14.8.10": "Spring Boot >=2.1.0.RELEASE and <2.6.0-M1",
            "23.0.9": "Spring Boot >=2.6.0-M1 and <2.8.0-M1"
        },
        "wavefront": {
    
    
            "2.0.2": "Spring Boot >=2.1.0.RELEASE and <2.4.0-M1",
            "2.1.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
            "2.2.2": "Spring Boot >=2.5.0-M1 and <2.7.0-M1"
        }
    },
    "dependency-ranges": {
    
    
        "native": {
    
    
            "0.9.0": "Spring Boot >=2.4.3 and <2.4.4",
            "0.9.1": "Spring Boot >=2.4.4 and <2.4.5",
            "0.9.2": "Spring Boot >=2.4.5 and <2.5.0-M1",
            "0.10.0": "Spring Boot >=2.5.0-M1 and <2.5.2",
            "0.10.1": "Spring Boot >=2.5.2 and <2.5.3",
            "0.10.2": "Spring Boot >=2.5.3 and <2.5.4",
            "0.10.3": "Spring Boot >=2.5.4 and <2.5.5",
            "0.10.4": "Spring Boot >=2.5.5 and <2.5.6",
            "0.10.5": "Spring Boot >=2.5.6 and <2.5.9",
            "0.10.6": "Spring Boot >=2.5.9 and <2.6.0-M1",
            "0.11.0-M1": "Spring Boot >=2.6.0-M1 and <2.6.0-RC1",
            "0.11.0-M2": "Spring Boot >=2.6.0-RC1 and <2.6.0",
            "0.11.0-RC1": "Spring Boot >=2.6.0 and <2.6.1",
            "0.11.0": "Spring Boot >=2.6.1 and <2.6.2",
            "0.11.1": "Spring Boot >=2.6.2 and <2.6.3",
            "0.11.2": "Spring Boot >=2.6.3 and <2.6.4",
            "0.11.3": "Spring Boot >=2.6.4 and <2.6.6",
            "0.11.5": "Spring Boot >=2.6.6 and <2.7.0-M1",
            "0.12.0-SNAPSHOT": "Spring Boot >=2.7.0-M1 and <2.7.1"
        },
        "okta": {
    
    
            "1.4.0": "Spring Boot >=2.2.0.RELEASE and <2.4.0-M1",
            "1.5.1": "Spring Boot >=2.4.0-M1 and <2.4.1",
            "2.0.1": "Spring Boot >=2.4.1 and <2.5.0-M1",
            "2.1.5": "Spring Boot >=2.5.0-M1 and <2.7.0-M1"
        },
        "mybatis": {
    
    
            "2.1.4": "Spring Boot >=2.1.0.RELEASE and <2.5.0-M1",
            "2.2.2": "Spring Boot >=2.5.0-M1"
        },
        "camel": {
    
    
            "3.5.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
            "3.10.0": "Spring Boot >=2.4.0.M1 and <2.5.0-M1",
            "3.13.0": "Spring Boot >=2.5.0.M1 and <2.6.0-M1",
            "3.16.0": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        },
        "picocli": {
    
    
            "4.6.3": "Spring Boot >=2.4.0.RELEASE and <3.0.0-M1"
        },
        "open-service-broker": {
    
    
            "3.2.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
            "3.3.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
            "3.4.0-M2": "Spring Boot >=2.5.0-M1 and <2.6.0-M1"
        }
    }
}

如果上面没有找到 可以查看下面方式

SpringCloud SpringBoot
Finchley 2.0.x
Finchley.SR1 Spring Boot >=2.0.3.RELEASE and <=2.0.9RELEASE
Finchley.SR4 Spring Boot >=2.0.3.RELEASE and <=2.0.9RELEASE
Greenwich 2.1.x
Hoxton 2.2.x 2.3.x (Starting with SR5)
2020.0.x aka Ilford 2.4.x

通过官网查询 https://spring.io/projects/spring-cloud#learn
在这里插入图片描述
对应版本号后,点击 Reference Doc. 。能看到很明显的 Supported Boot Version 字样

2.spring boot、spring cloud、spring cloud alibaba 三者之间的版本对照关系

最新版本对照关系:https://github.com/alibaba/spring-cloud-alibaba/wiki/版本说明
适配 Spring Boot 为 2.4,Spring Cloud Hoxton 版本及以下的 Spring Cloud Alibaba 版本按从新到旧排列如下表(最新版本用*标记):
在这里插入图片描述

3.Spring Cloud Alibaba 版本及其自身所适配的各组件对应版关系

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_37924396/article/details/127315745