Spring Cloud Hoxton Service Release 3 (SR3) 现已发布。

工程 | Olga Maciaszek-Sharma | 2020年3月5日 | ...

我谨代表社区宣布,Spring Cloud Hoxton 发行版的服务发行版 3(SR3)现已发布。您可以在 Maven Central 中找到该版本。您可以查阅 Hoxton 发行说明以获取更多信息

重要安全公告

Spring Cloud Config 包含对 CVE-2020-5405 的修复。

Hoxton 发行版列车中的显著更改

此里程碑版本主要是一个错误修复版本。

有关所有已关闭的问题,请参阅 Hoxton.SR3 Github 项目

此里程碑版本是基于 Spring Boot 2.2.5.RELEASE 构建的。

Spring Cloud Config

注意可写的 env 端点默认已禁用。要重新启用此功能,请设置 management.endpoint.env.post.enabled=true。请确保此端点不面向公众。

增加了覆盖 ConfigTokenProvider 的可能性。修复了 KeyStoreTestEncryptorLocator 的性能问题。

Spring Cloud Contract

在 StubRunner 中增加了对 Spring Cloud LoadBalancer 的支持。

Spring Cloud CircuitBreaker

增加了提前创建和自定义断路器的支持。

Spring Cloud Commons

增加了对 Spring Cloud LoadBalancer 中实例健康检查的支持。通过 API 公开了 LoadBalancer 请求上下文。

Spring Cloud OpenFeign

OpenFeign 已升级到 10.7.4。增加了对 @MatrixVariable 的支持。

Spring Cloud Sleuth

增加了对 FeignBlockingLoadBalancerClient 的支持。

Spring Cloud Gateway

增加了对低于 1 req/s 的速率限制的支持。对 RetryFilter 进行了增强。将 ServiceInstance 元数据添加到 RouteDefinition 元数据中。为 spring-cloud-gateway-mvc 提供了标头配置列表。

作为 Hoxton.SR3 的一部分,以下模块已更新:

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.2.2.RELEASE | (问题) | Spring Cloud Cloudfoundry | 2.2.1.RELEASE |
| Spring Cloud Vault | 2.2.2.RELEASE | (问题) | Spring Cloud Aws | 2.2.1.RELEASE |
| Spring Cloud Bus | 2.2.1.RELEASE |
| Spring Cloud Cli | 2.2.1.RELEASE |
| Spring Cloud Gcp | 1.2.2.RELEASE |
| Spring Cloud Contract | 2.2.2.RELEASE | (问题) | Spring Cloud Consul | 2.2.2.RELEASE |
| Spring Cloud Starter | Hoxton.SR3 |
| Spring Cloud Dependencies | Hoxton.SR3 |
| Spring Cloud Starter Parent | Hoxton.SR3 |
| Spring Cloud Sleuth | 2.2.2.RELEASE | (问题) | Spring Cloud Commons | 2.2.2.RELEASE | (问题) | Spring Cloud Openfeign | 2.2.2.RELEASE | (问题) | Spring Cloud Zookeeper | 2.2.0.RELEASE |
| Spring Cloud Kubernetes | 1.1.2.RELEASE | (问题) | Spring Cloud Security | 2.2.1.RELEASE |
| Spring Cloud Circuitbreaker | 1.0.2.RELEASE | (问题) | Spring Cloud Stream | Horsham.SR3 | (问题) | Spring Cloud Gateway | 2.2.2.RELEASE | (问题) | Spring Cloud Netflix | 2.2.2.RELEASE | (问题) | Spring Cloud Function | 3.0.3.RELEASE |
| Spring Cloud Task | 2.2.3.RELEASE |

一如既往,我们欢迎大家在 GitHubGitterStack OverflowTwitter 上提供反馈。

Maven 起步使用 BOM(仅依赖管理)


<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Hoxton.SR3</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.SR3'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有