领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Hoxton 系列的 Service Release 8 (SR8) 于今日发布。您可以在 Maven Central 找到该版本。您可以通过查阅 Hoxton 版本说明以获取更多信息。
这主要是一个错误修复和文档更新版本。
在 GitHub 项目中查看所有已包含的问题和拉取请求。Hoxton.SR8 与 Spring Boot 2.3.x 和 2.2.x 兼容。
为 Eureka Client 添加了 TLS 配置支持。
为 Config Client 添加了 TLS 配置支持。
增加了对 Spring Cloud Loadbalancer 的支持。自动为 Service Instance 元数据添加命名空间。
作为 Hoxton.SR8 的一部分,以下模块已更新:
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Starter Build | Hoxton.SR8 |
| Spring Cloud Netflix | 2.2.5.RELEASE |
| Spring Cloud Openfeign | 2.2.5.RELEASE | (问题) | Spring Cloud Config | 2.2.5.RELEASE |
| Spring Cloud Aws | 2.2.4.RELEASE |
| Spring Cloud Kubernetes | 1.1.6.RELEASE | (问题) | Spring Cloud Gateway | 2.2.5.RELEASE | (问题) | Spring Cloud Gcp | 1.2.5.RELEASE |
| Spring Cloud Commons | 2.2.5.RELEASE | (问题) | Spring Cloud Sleuth | 2.2.5.RELEASE | (问题) | Spring Cloud Vault | 2.2.5.RELEASE |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR8</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.10.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR8'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}