领先一步
VMware 提供培训和认证,以加速您的进步。
了解更多我很高兴代表社区宣布 Spring Cloud 2020.0 Release Train (2020.0.1) 的 Service Release 1 今天发布。该版本可以在 Maven Central 中找到。您可以查看 2020.0 的 发行说明以获取更多信息。
此版本主要用于错误修复和依赖项升级。
有关已知问题的列表,请参阅此页面。
有关此版本中所有重大更改的列表,请参见wiki。
请在Github 项目中查看所有包含的问题和 pull 请求。
所有已知问题都已修复。
发现了一个新的已知问题,其中 spring.config.import=consul:
不支持重试。
Config 模块中上下文顺序不正确的已修复。
Config 模块中上下文顺序不正确的已修复。
以下模块已作为 2020.0.0 的一部分更新
模块 | 版本 | 问题 |
---|---|---|
Spring Cloud Circuitbreaker | 2.0.0 | |
Spring Cloud Contract | 3.0.1 | |
Spring Cloud Kubernetes | 2.0.1 | |
Spring Cloud Commons | 3.0.1 | |
Spring Cloud Openfeign | 3.0.1 | |
Spring Cloud Cloudfoundry | 3.0.0 | |
Spring Cloud Bus | 3.0.1 | |
Spring Cloud Cli | 3.0.1 | |
Spring Cloud Zookeeper | 3.0.1 | |
Spring Cloud Sleuth | 3.0.1 | |
Spring Cloud Consul | 3.0.1 | |
Spring Cloud Starter Build | 2020.0.1 | |
Spring Cloud Gateway | 3.0.1 | |
Spring Cloud Netflix | 3.0.1 | |
Spring Cloud Vault | 3.0.1 | |
Spring Cloud Config | 3.0.2 | |
Spring Cloud Task | 2.3.0 |
与往常一样,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要开始使用带有 BOM 的 Maven(仅依赖项管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.1</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.1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}