Spring Cloud Greenwich Service Release 5 (SR5) 已发布。

发布 | Spencer Gibb | 2020 年 2 月 1 日 | ...

我谨代表社区宣布 Spring Cloud Greenwich Release Train 的 Service Release 5 (SR5) 今天发布。该版本可以在 Maven Central 中找到。 您可以查看 Greenwich 发行说明Spring Cloud 项目 了解更多信息。

Greenwich Release Train 中的重要变更

此版本包含错误修复、小幅增强和文档更新。

这是 Greenwich Release Train 的最终计划版本(有关更多详细信息,请参阅 此处)。 我们建议您尽快升级到 Hoxton。 Greenwich.SR5 基于 Spring Boot 2.1.12。

Spring Cloud Commons

为了支持从 config client 中的 YAML 合并列表,进行了一项更改,以便每个 PropertySource 单独添加到环境中,而不是添加到复合中。


以下模块已作为 Greenwich.SR5 的一部分进行了更新

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Build | 2.1.10.RELEASE |
| Spring Cloud Sleuth | 2.1.7.RELEASE | (问题) | Spring Cloud Consul | 2.1.5.RELEASE | (问题) | Spring Cloud Gateway | 2.1.5.RELEASE | (问题) | Spring Cloud Contract | 2.1.5.RELEASE | (问题) | Spring Cloud Netflix | 2.1.5.RELEASE | (问题) | Spring Cloud Gcp | 1.1.5.RELEASE |
| Spring Cloud Config | 2.1.6.RELEASE | (问题) | Spring Cloud Openfeign | 2.1.5.RELEASE | (问题) | Spring Cloud Commons | 2.1.5.RELEASE | (问题) | Spring Cloud Aws | 2.1.4.RELEASE |
| Spring Cloud Vault | 2.1.5.RELEASE |
| Spring Cloud Bus | 2.1.4.RELEASE | (问题) | Spring Cloud Kubernetes | 1.0.5.RELEASE | (问题)

与往常一样,我们欢迎您在 GitHubGitterStack OverflowTwitter 上提供反馈。

开始使用带有 BOM 的 Maven(仅依赖项管理)


<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Greenwich.SR5</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

plugins {
  id 'org.springframework.boot' version '2.1.12.RELEASE'
  id 'io.spring.dependency-management' version '1.0.8.RELEASE'
  id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
  mavenCentral()
}
dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  // ...
}

获取 Spring 新闻邮件

随时关注 Spring 新闻邮件

订阅

抢占先机

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

了解更多

获取支持

Tanzu Spring 在一个简单的订阅中提供对 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件。

了解更多

即将举行的活动

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

查看全部