领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,荣幸地宣布 Spring Cloud Hoxton Release Train 的 Service Release 1 (SR1) 版本现已发布。您可以在 Maven Central 找到该版本。有关更多信息,请参阅 Hoxton 版本说明。
此里程碑版本主要是一个错误修复版本。
请查看 Hoxton.SR1 Github 项目 以了解所有已关闭的问题。
此里程碑版本构建于 Spring Boot 2.2.2.RELEASE。
除了 Bug 修复外,Vault 身份验证已更改为使用 Spring Vault 项目,提供了更多选项。现在可以通过 AWS S3 环境存储库访问纯文本资源。
现在可以在每次测试后重置映射。
在 Spring Cloud Loadbalancer 中增加了对区域感知(zone awareness)的支持。
增加了对 Spring Cloud Circuitbreaker 的支持
除了 Bug 修复外,还增加了对新配置属性的支持。
在 Spring Cloud Loadbalancer 中增加了对 Eureka 区域感知(zone awareness)的支持。
以下模块已作为 Hoxton.SR1 的一部分进行了更新
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.2.1.RELEASE | (issues) | Spring Cloud Cloudfoundry | 2.2.0.RELEASE |
| Spring Cloud Vault | 2.2.1.RELEASE | (issues) | Spring Cloud Aws | 2.2.1.RELEASE |
| Spring Cloud Bus | 2.2.0.RELEASE |
| Spring Cloud Cli | 2.2.1.RELEASE |
| Spring Cloud Gcp | 1.2.1.RELEASE |
| Spring Cloud Contract | 2.2.1.RELEASE | (issues) | Spring Cloud Consul | 2.2.1.RELEASE |
| Spring Cloud Starter | Hoxton.SR1 |
| Spring Cloud Dependencies | Hoxton.SR1 |
| Spring Cloud Starter Parent | Hoxton.SR1 |
| Spring Cloud Sleuth | 2.2.1.RELEASE | (issues) | Spring Cloud Commons | 2.2.1.RELEASE | (issues) | Spring Cloud Openfeign | 2.2.1.RELEASE | (issues) | Spring Cloud Zookeeper | 2.2.0.RELEASE | (issues) | Spring Cloud Kubernetes | 1.1.1.RELEASE |
| Spring Cloud Security | 2.2.0.RELEASE |
| Spring Cloud Circuitbreaker | 1.0.0.RELEASE | (issues) | Spring Cloud Stream | Horsham.SR1 | (issues) | Spring Cloud Gateway | 2.2.1.RELEASE | (issues) | Spring Cloud Netflix | 2.2.1.RELEASE | (issues) | Spring Cloud Function | 3.0.1.RELEASE | (issues) | Spring Cloud Task | 2.2.2.RELEASE |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR1</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.8.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}