Spring Cloud Hoxton.SR7 已发布

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

我代表社区,很高兴地宣布 Spring Cloud Hoxton 发布列车的 Service Release 7 (SR7) 今天已可用。该版本可在 Maven Central 中找到。你可以查看 Hoxton 的发布说明了解更多信息

Hoxton 发布列车的显著变化

GitHub 项目中查看所有包含的问题和拉取请求。

Spring Cloud Netflix

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

Spring Cloud Cloud Foundry

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

Spring Cloud Consul

在 Consul binder 中添加了对 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 的一部分进行了更新

| 模块 | 版本 | 问题 |--- |--- |--- |--- | 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 | (问题) | Spring Cloud Gateway | 2.2.4.RELEASE | (问题) | Spring Cloud Config | 2.2.4.RELEASE | (问题) | Spring Cloud Contract | 2.2.4.RELEASE | (问题) | Spring Cloud Netflix | 2.2.4.RELEASE | (问题) | Spring Cloud Gcp | 1.2.4.RELEASE |
| Spring Cloud Security | 2.2.4.RELEASE |
| Spring Cloud Sleuth | 2.2.4.RELEASE | (问题) | Spring Cloud Openfeign | 2.2.4.RELEASE | (问题) | Spring Cloud Cli | 2.2.2.RELEASE |
| Spring Cloud Commons | 2.2.4.RELEASE | (问题) | Spring Cloud Aws | 2.2.3.RELEASE | (问题) | Spring Cloud Vault | 2.2.4.RELEASE |
| Spring Cloud Zookeeper | 2.2.3.RELEASE | (问题) | Spring Cloud Circuitbreaker | 1.0.4.RELEASE |
| Spring Cloud Bus | 2.2.3.RELEASE |

一如既往,欢迎在 GitHub、在 Gitter、在 Stack Overflow 以及在 Twitter 上提供反馈。

使用带有 BOM(仅依赖管理)的 Maven 入门

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

查看全部