领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud 2020.0 发布系列 (2020.0.2) 的服务版本 2 今天可用。该版本可以在 Maven Central 中找到。您可以查看 2020.0 的 发布说明以获取更多信息。
本次发布主要用于错误修复和依赖升级。
请参阅 此页面 查看已知问题列表。
请参阅 Wiki 查看此发布系列中所有破坏性更改的列表。
在 GitHub 项目 中查看所有包含的问题和拉取请求。
ConfigData 时添加了 TLS 支持 (#1689)spring.config.import=consul: 添加了重试支持。( #703)Message 的能力以及通过用户提供的回调进行额外的路由机制,改进了 RSocket 支持。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'
//...
}