查看原文
其他

Spring Cloud Greenwich 最后一个计划版本发布!

局长​ 程序猿DD 2020-10-16

点击上方蓝色“程序猿DD”,选择“设为星标”

回复“资源”获取独家整理的学习资料!

作者 | 局长

来源 | https://www.oschina.net/news/113095/spring-cloud-greenwich-sr5-released

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 的一部分,以下模块已更新:

MODULEVERSIONISSUES
Spring Cloud Build2.1.10.RELEASE
Spring Cloud Sleuth2.1.7.RELEASE(issues)
Spring Cloud Consul2.1.5.RELEASE(issues)
Spring Cloud Gateway2.1.5.RELEASE(issues)
Spring Cloud Contract2.1.5.RELEASE(issues)
Spring Cloud Netflix2.1.5.RELEASE(issues)
Spring Cloud Gcp1.1.5.RELEASE
Spring Cloud Config2.1.6.RELEASE(issues)
Spring Cloud Openfeign2.1.5.RELEASE(issues)
Spring Cloud Commons2.1.5.RELEASE(issues)
Spring Cloud Aws2.1.4.RELEASE
Spring Cloud Vault2.1.5.RELEASE
Spring Cloud Bus2.1.4.RELEASE(issues)
Spring Cloud Kubernetes1.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://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Greenwich-Release-Notes


本文通过OpenWrite的Markdown转换工具发布

关注我,回复“加群”加入各种主题讨论群

    您可能也对以下帖子感兴趣

    文章有问题?点此查看未经处理的缓存