领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud 2020.0.4 版本现已发布。该版本可以在 Maven Central 中找到。您可以查看 2020.0 的 发行说明以获取更多信息。
查看此版本中包含的所有问题 此处。
这主要是为了修复 Bug 和更新文档。2020.0.4 与 Spring Boot 2.4.x 和 2.5.x 兼容。
以下模块已在 2020.0.4 版本中更新
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Starter Build | 3.0.4 | |
| Spring Cloud Netflix | 3.0.4 | (问题) |
| Spring Cloud Openfeign | 3.0.4 | (问题) |
| Spring Cloud Gateway | 3.0.4 | (问题) |
| Spring Cloud Commons | 3.0.4 | (问题) |
| Spring Cloud Config | 3.0.5 | (问题) |
| Spring Cloud Consul | 3.0.4 | (问题) |
| Spring Cloud Contract | 3.0.4 | (问题) |
| Spring Cloud Kubernetes | 2.0.4 | (问题) |
| Spring Cloud Sleuth | 3.0.4 | (问题) |
| Spring Cloud Vault | 3.0.4 | (问题) |
| Spring Cloud Zookeeper | 3.0.4 | |
| Spring Cloud CircuitBreaker | 2.0.2 | |
| Spring Cloud Stream | 3.1.4 | |
| Spring Cloud Function | 3.1.4 |
一如既往,我们欢迎大家在 GitHub、Stack Overflow 或 Twitter 上提出反馈意见。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.4</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.4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}