先行一步
VMware 提供培训和认证,助您快速提升。
了解更多我代表社区宣布,Spring Cloud 2020.0 Release Train 的第二个服务版本 (2020.0.2) 今天发布。该版本可在 Maven Central 中找到。您可以查看 2020.0 的发布说明以获取更多信息。
此版本主要用于错误修复和依赖项升级。
有关已知问题的列表,请参阅此页面。
有关此 Release Train 中所有重大变更的列表,请参阅 wiki。
请在 Github 项目页面查看所有包含的问题和拉取请求。
ConfigData
时添加了 TLS 支持 (#1689)Message
的能力,以及通过用户提供的回调实现的额外路由机制SleuthFeignBuilder
现在允许提供自定义的 delegate
(#1865)以下模块作为 2020.0.2 的一部分进行了更新
模块 | 版本 | 问题 |
---|---|---|
Spring Cloud Bus | 3.0.2 | |
Spring Cloud Circuitbreaker | 2.0.1 | |
Spring Cloud Cli | 3.0.2 | |
Spring Cloud Cloudfoundry | 3.0.1 | |
Spring Cloud Commons | 3.0.2 | |
Spring Cloud Config | 3.0.3 | |
Spring Cloud Consul | 3.0.2 | |
Spring Cloud Contract | 3.0.2 | |
Spring Cloud Gateway | 3.0.2 | |
Spring Cloud Kubernetes | 2.0.2 | |
Spring Cloud Netflix | 3.0.2 | |
Spring Cloud Openfeign | 3.0.2 | |
Spring Cloud Sleuth | 3.0.2 | |
Spring Cloud Task | 2.3.1 | |
Spring Cloud Vault | 3.0.2 | |
Spring Cloud Zookeeper | 3.0.2 |
一如既往,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
通过 Maven 使用 BOM(仅依赖管理)入门
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.2</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.2'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}