Spring Cloud Hoxton.SR7 已发布

发布 | Spencer Gibb | 2020年8月4日 | ...

我谨代表社区,很高兴地宣布 Spring Cloud Hoxton 系列的 Service Release 7 (SR7) 今日发布。您可以在 Maven Central 找到该版本。您可以查阅 Hoxton 的发布说明以获取更多信息。

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

您可以在 GitHub 项目中查看所有包含的 issue 和 pull requests。

Spring Cloud Netflix

CVE-2020-5412: spring-cloud-netflix-hystrix-dashboard 中的 Hystrix Dashboard 代理

Spring Cloud Cloud Foundry

已将 CF Java 客户端升级到 3.25.0.RELEASE。

Spring Cloud Consul

为 Consul binding 添加了对 byte[] 消息的支持。

Spring Cloud Gateway

添加了基于 HTTP 状态码触发 Spring Cloud Circuitbreaker 的支持。

Spring Cloud Config

添加了通过属性禁用 JDBC 支持的功能。

Spring Cloud Contract

添加了基于 StubRunnerReactiveDiscoveryClient 实现。

Spring Cloud OpenFeign

CollectionFormat 添加了支持,并改进了与 @FeignClient 的交互。

Spring Cloud AWS

这是在新社区维护者下的第一个 GA 版本。

Spring Cloud GCP

此版本包含了许多优秀的社区贡献。

  • 新的 Spring Cloud GCP starter spring-cloud-gcp-starter-metrics 配置 Micrometer Stackdriver,可自动获取项目 ID 和凭据(感谢 @eddumelendez)。
  • SecretManagerTemplate 上增加了管理 Secret 版本的额外操作(感谢 @kioie)。
  • 增加了 GCS Spring Integration 文件过滤器 GcsAcceptModifiedAfterFileListFilterGcsDiscardRecentModifiedFileListFilter(感谢 @hosainnet)。

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

| 模块 | 版本 | Issue |---|---|---|---| Spring Cloud Starter Build | Hoxton.SR7 |
| Spring Cloud Cloudfoundry | 2.2.3.RELEASE |
| Spring Cloud Kubernetes | 1.1.5.RELEASE |
| Spring Cloud Consul | 2.2.4.RELEASE | (issue) | Spring Cloud Gateway | 2.2.4.RELEASE | (issue) | Spring Cloud Config | 2.2.4.RELEASE | (issue) | Spring Cloud Contract | 2.2.4.RELEASE | (issue) | Spring Cloud Netflix | 2.2.4.RELEASE | (issue) | Spring Cloud Gcp | 1.2.4.RELEASE |
| Spring Cloud Security | 2.2.4.RELEASE |
| Spring Cloud Sleuth | 2.2.4.RELEASE | (issue) | Spring Cloud Openfeign | 2.2.4.RELEASE | (issue) | Spring Cloud Cli | 2.2.2.RELEASE |
| Spring Cloud Commons | 2.2.4.RELEASE | (issue) | Spring Cloud Aws | 2.2.3.RELEASE | (issue) | Spring Cloud Vault | 2.2.4.RELEASE |
| Spring Cloud Zookeeper | 2.2.3.RELEASE | (issue) | Spring Cloud Circuitbreaker | 1.0.4.RELEASE |
| Spring Cloud Bus | 2.2.3.RELEASE |

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

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

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

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 社区所有即将举行的活动。

查看所有