搶先一步
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}"
}
}