保持领先
VMware 提供培训和认证,助您加速进步。
了解更多我代表社区高兴地宣布,Spring Cloud Hoxton 发布列车的 Service Release 1 (SR1) 于今日发布。该版本可在 Maven Central 找到。您可以查看 Hoxton 发行说明以获取更多信息。
此里程碑版本主要是一个错误修复版本。
请参阅 Hoxton.SR1 Github 项目 以了解所有已关闭的问题。
此里程碑版本是基于 Spring Boot 2.2.2.RELEASE 构建的。
除了错误修复外,Vault 认证已更改为使用 Spring Vault 项目,提供了更多选项。现在可以通过 AWS S3 环境仓库提供纯文本资源。
每次测试后可以重置映射。
Spring Cloud Loadbalancer 中增加了区域感知支持。
增加了对 Spring Cloud Circuitbreaker 的支持。
除了错误修复外,还增加了对新配置属性的支持。
Spring Cloud Loadbalancer 中增加了 Eureka 对区域感知的支持。
作为 Hoxton.SR1 的一部分,以下模块已更新:
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.2.1.RELEASE | (问题) | Spring Cloud Cloudfoundry | 2.2.0.RELEASE |
| Spring Cloud Vault | 2.2.1.RELEASE | (问题) | 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 | (问题) | 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 | (问题) | Spring Cloud Commons | 2.2.1.RELEASE | (问题) | Spring Cloud Openfeign | 2.2.1.RELEASE | (问题) | Spring Cloud Zookeeper | 2.2.0.RELEASE | (问题) | Spring Cloud Kubernetes | 1.1.1.RELEASE |
| Spring Cloud Security | 2.2.0.RELEASE |
| Spring Cloud Circuitbreaker | 1.0.0.RELEASE | (问题) | Spring Cloud Stream | Horsham.SR1 | (问题) | Spring Cloud Gateway | 2.2.1.RELEASE | (问题) | Spring Cloud Netflix | 2.2.1.RELEASE | (问题) | Spring Cloud Function | 3.0.1.RELEASE | (问题) | Spring Cloud Task | 2.2.2.RELEASE |
和往常一样,欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
使用 BOM (仅依赖管理) 通过 Maven 入门
<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'
...
}