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