领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Hoxton 系列的 Service Release 7 (SR7) 今日发布。您可以在 Maven Central 找到该版本。您可以查阅 Hoxton 的发布说明以获取更多信息。
您可以在 GitHub 项目中查看所有包含的 issue 和 pull requests。
CVE-2020-5412: spring-cloud-netflix-hystrix-dashboard 中的 Hystrix Dashboard 代理
已将 CF Java 客户端升级到 3.25.0.RELEASE。
为 Consul binding 添加了对 byte[] 消息的支持。
添加了基于 HTTP 状态码触发 Spring Cloud Circuitbreaker 的支持。
添加了通过属性禁用 JDBC 支持的功能。
添加了基于 StubRunner 的 ReactiveDiscoveryClient 实现。
为 CollectionFormat 添加了支持,并改进了与 @FeignClient 的交互。
这是在新社区维护者下的第一个 GA 版本。
此版本包含了许多优秀的社区贡献。
spring-cloud-gcp-starter-metrics 配置 Micrometer Stackdriver,可自动获取项目 ID 和凭据(感谢 @eddumelendez)。SecretManagerTemplate 上增加了管理 Secret 版本的额外操作(感谢 @kioie)。GcsAcceptModifiedAfterFileListFilter 和 GcsDiscardRecentModifiedFileListFilter(感谢 @hosainnet)。作为 Hoxton.SR7 的一部分,更新了以下模块:
| 模块 | 版本 | Issue |---|---|---|---| Spring Cloud Starter Build | Hoxton.SR7 |
| Spring Cloud Cloudfoundry | 2.2.3.RELEASE |
| Spring Cloud Kubernetes | 1.1.5.RELEASE |
| Spring Cloud Consul | 2.2.4.RELEASE | (issue) | Spring Cloud Gateway | 2.2.4.RELEASE | (issue) | Spring Cloud Config | 2.2.4.RELEASE | (issue) | Spring Cloud Contract | 2.2.4.RELEASE | (issue) | Spring Cloud Netflix | 2.2.4.RELEASE | (issue) | Spring Cloud Gcp | 1.2.4.RELEASE |
| Spring Cloud Security | 2.2.4.RELEASE |
| Spring Cloud Sleuth | 2.2.4.RELEASE | (issue) | Spring Cloud Openfeign | 2.2.4.RELEASE | (issue) | Spring Cloud Cli | 2.2.2.RELEASE |
| Spring Cloud Commons | 2.2.4.RELEASE | (issue) | Spring Cloud Aws | 2.2.3.RELEASE | (issue) | Spring Cloud Vault | 2.2.4.RELEASE |
| Spring Cloud Zookeeper | 2.2.3.RELEASE | (issue) | Spring Cloud Circuitbreaker | 1.0.4.RELEASE |
| Spring Cloud Bus | 2.2.3.RELEASE |
一如既往,我们欢迎您在 GitHub、Gitter、Stack Overflow 和 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR7</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.9.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR7'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}