领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴地代表社区宣布 Spring Cloud 2020.0.6 Release Train 今天可用。您可以在 Maven Central 中找到此版本。您可以查看 2020.0.6 的 发行说明以获取更多信息。请考虑升级到最新的 2021.0.x Release Train,因为 2020.0.x Release Train 已达到 OSS 支持的终点。
这主要是一个错误修复和依赖项升级版本,包括从 2021.0.x 版本回溯的各种问题。一些增强功能也已回溯。
有关版本中包含的所有问题的详细信息,请参阅 项目页面。
2021.0.x 回溯的错误修复2021.0.x 回溯的错误修复2021.0.x 回溯的错误修复作为 2020.0.6 版本一部分更新的模块如下
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Stream | 3.1.6 | |
| Spring Cloud Config | 3.0.7 | |
| Spring Cloud Build | 3.0.5 | |
| Spring Cloud Sleuth | 3.0.6 | (问题) |
| Spring Cloud Contract | 3.0.6 | (问题) |
| Spring Cloud Starter Build | 2020.0.6 | |
| Spring Cloud Gateway | 3.0.8 | |
| Spring Cloud Consul | 3.0.7 | |
| Spring Cloud Netflix | 3.0.6 | |
| Spring Cloud Cloudfoundry | 3.0.3 | |
| Spring Cloud Vault | 3.0.5 | |
| Spring Cloud Kubernetes | 2.0.6 | |
| Spring Cloud Bus | 3.0.3 | |
| Spring Cloud Zookeeper | 3.0.5 | |
| Spring Cloud Task | 2.3.5 | |
| Spring Cloud CLI | 3.0.4 | |
| Spring Cloud Commons | 3.0.6 | |
| Spring Cloud Openfeign | 3.0.7 | |
| Spring Cloud Function | 3.1.6 | |
| Spring Cloud Circuitbreaker | 2.0.3 |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
...
</dependencies>
或使用 Gradle
plugins {
id 'org.springframework.boot' version '2.4.13'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '8'
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2020.0.6")
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}