Spring Cloud Greenwich 最后一个计划版本发布!
- 2020 年 2 月 21 日
- 筆記

相关推荐:
Spring Cloud Greenwich.SR4 发布了…
Spring Cloud 升级最新 Greenwich 版本
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 |
---|---|
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 |
获取方式
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
作者:局长
https://www.oschina.net/news/113095/spring-cloud-greenwich-sr5-released
END