領先一步
VMware 提供培訓和認證,以加速您的進展。
瞭解更多我謹代表社群宣布,Spring Cloud 2020.0 Release Train (2020.0.3) 的 Service Release 3 今天已發布。此版本可在 Maven Central 找到。您可以查看 2020.0 的發行說明以取得更多資訊。
此版本最大的變更是支援 Spring Boot 2.5。除此之外,此版本主要為錯誤修正和依賴項升級。
請參閱 Github 專案中的所有包含問題和提取請求。
spring.config.import
相關的錯誤修正DiscoveryClient
現在預設使用目前的命名空間 (#678)connectTimeout
和 readTimeout
(#468)decorate_queues
Reactor instrumentation 選項 (#1900)以下模組已更新為 2020.0.3 的一部分
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Bus | 3.0.3 | |
Spring Cloud Circuitbreaker | 2.0.2 | |
Spring Cloud Cli | 3.0.3 | |
Spring Cloud Cloudfoundry | 3.0.2 | |
Spring Cloud Commons | 3.0.3 | 問題 |
Spring Cloud Config | 3.0.4 | 問題 |
Spring Cloud Consul | 3.0.3 | 問題 |
Spring Cloud Contract | 3.0.3 | 問題 |
Spring Cloud Gateway | 3.0.3 | 問題 |
Spring Cloud Kubernetes | 2.0.3 | 問題 |
Spring Cloud Netflix | 3.0.3 | 問題 |
Spring Cloud Openfeign | 3.0.3 | 問題 |
Spring Cloud Sleuth | 3.0.3 | 問題 |
Spring Cloud Task | 2.3.2 | |
Spring Cloud Vault | 3.0.3 | |
Spring Cloud Zookeeper | 3.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.3</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
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2020.0.3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}