领先一步
VMware 提供培训和认证,助您快速提升。
了解更多我代表社区,很高兴地宣布 Spring Cloud Hoxton 发布列车的 Service Release 7 (SR7) 今天已可用。该版本可在 Maven Central 中找到。你可以查看 Hoxton 的发布说明了解更多信息。
在 GitHub 项目中查看所有包含的问题和拉取请求。
CVE-2020-5412:spring-cloud-netflix-hystrix-dashboard 中的 Hystrix Dashboard Proxy
将 CF Java 客户端升级到 3.25.0.RELEASE。
在 Consul binder 中添加了对 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 的一部分进行了更新
| 模块 | 版本 | 问题 |--- |--- |--- |--- | 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 | (问题) | Spring Cloud Gateway | 2.2.4.RELEASE | (问题) | Spring Cloud Config | 2.2.4.RELEASE | (问题) | Spring Cloud Contract | 2.2.4.RELEASE | (问题) | Spring Cloud Netflix | 2.2.4.RELEASE | (问题) | Spring Cloud Gcp | 1.2.4.RELEASE |
| Spring Cloud Security | 2.2.4.RELEASE |
| Spring Cloud Sleuth | 2.2.4.RELEASE | (问题) | Spring Cloud Openfeign | 2.2.4.RELEASE | (问题) | Spring Cloud Cli | 2.2.2.RELEASE |
| Spring Cloud Commons | 2.2.4.RELEASE | (问题) | Spring Cloud Aws | 2.2.3.RELEASE | (问题) | Spring Cloud Vault | 2.2.4.RELEASE |
| Spring Cloud Zookeeper | 2.2.3.RELEASE | (问题) | Spring Cloud Circuitbreaker | 1.0.4.RELEASE |
| Spring Cloud Bus | 2.2.3.RELEASE |
一如既往,欢迎在 GitHub、在 Gitter、在 Stack Overflow 以及在 Twitter 上提供反馈。
使用带有 BOM(仅依赖管理)的 Maven 入门
<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'
//...
}