领先一步
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 上提供反馈。
使用带有 BOM 的 Maven 入门(仅依赖管理)
<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'
//...
}