皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Spring Cloud Greenwich SR5 发布

Spring Cloud Greenwich Service Release 5 (SR5) 发布了,可通过 Maven Central 获取。发布主页显示,此版本包含错误修复、较小的功能增强以及文档更新。

这是 Greenwich Release Train 的最终计划发行版本(更多信息请参见此处)。官方建议尽快升级到 Hoxton,Greenwich.SR5 基于 Spring Boot 2.1.12。

Spring Cloud Commons

为了支持来自配置客户端中 YAML 的合并列表,此版本进行了更改,以便将每个PropertySource分别添加到环境中,而不是添加到组合中。

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

MODULE VERSION ISSUES
Spring Cloud Build 2.1.10.RELEASE
Spring Cloud Sleuth 2.1.7.RELEASE (issues)
Spring Cloud Consul 2.1.5.RELEASE (issues)
Spring Cloud Gateway 2.1.5.RELEASE (issues)
Spring Cloud Contract 2.1.5.RELEASE (issues)
Spring Cloud Netflix 2.1.5.RELEASE (issues)
Spring Cloud Gcp 1.1.5.RELEASE
Spring Cloud Config 2.1.6.RELEASE (issues)
Spring Cloud Openfeign 2.1.5.RELEASE (issues)
Spring Cloud Commons 2.1.5.RELEASE (issues)
Spring Cloud Aws 2.1.4.RELEASE
Spring Cloud Vault 2.1.5.RELEASE
Spring Cloud Bus 2.1.4.RELEASE (issues)
Spring Cloud Kubernetes 1.0.5.RELEASE (issues)

获取方式

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'
  // ...
}

完整发布日志和下载地址请点此查看

转自 https://www.oschina.net/news/113095/spring-cloud-greenwich-sr5-released