Spring Cloud Greenwich.SR3 已發布

發布 | Ryan Baxter | 2019 年 9 月 12 日 | ...

我謹代表社群宣布,Spring Cloud Greenwich Release Train 的 Service Release 3 (SR3) 今天已推出。 此版本可在 Maven Central 中找到。 您可以查看 Greenwich 版本資訊以取得更多資訊。 在此版本中,所有專案中關閉的所有問題都可以在 GitHub 上的 Spring Cloud Greenwich.SR3 專案中找到

Greenwich Release Train 中的重要變更

新的負載平衡器實作

Spring Cloud Greenwich.M3 是第一個包含阻斷式和非阻斷式負載平衡器用戶端實作的版本,作為進入維護模式的 Netflix Ribbon 的替代方案。

若要將新的 BlockingLoadBalancerClientRestTemplate 搭配使用,您需要在應用程式的類別路徑中包含 org.springframework.cloud:spring-cloud-loadbalancer。 當使用 @LoadBalanced WebClient.Builder 時,相同的相依性可以用於反應式應用程式 - 唯一的區別是 Spring Cloud 將自動設定 ReactorLoadBalancerExchangeFilterFunction 實例。 請參閱文件以取得更多資訊。 新的 ReactorLoadBalancerExchangeFilterFunction 也可以自動注入並直接傳遞給 WebClient.Builder(請參閱文件)。 對於所有這些功能,底層使用基於 Project Reactor 的 RoundRobinLoadBalancer

Spring Cloud Commons

Spring Cloud Openfeign

Spring Cloud Security

Spring Cloud Kubernetes

  • 現在 DiscoveryClient 實作可以從所有命名空間檢索服務
  • Bug 修正

Spring Cloud Zookeeper

  • 文件更新

Spring Cloud Gateway

  • Retry 篩選器現在支援退避策略
  • 新增提供自訂指標標籤的功能
  • 新的請求大小篩選器工廠
  • 新增對 Netty Wiretap 的支援
  • 關於新增到 /actuator/gateway/routes 的路由的更多詳細資訊
  • Bug 修正

Spring Cloud Netflix

  • 新增將額外篩選器新增到 Eureka 使用的 JerseyReplicationClient 的功能
  • Bug 修正

Spring Cloud Bus

  • 文件更新

Spring Cloud Cloudfoundry

  • 文件更新

Spring Cloud Vault

  • 文件更新

Spring Cloud Config

Spring Cloud Consul

Spring Cloud Sleuth

Spring Cloud Aws

  • 文件更新

Spring Cloud Contract

Greenwich.SR3 版本更新了以下模組

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Commons | 2.1.3.RELEASE | (問題) | Spring Cloud Openfeign | 2.1.3.RELEASE | (問題) | Spring Cloud Security | 2.1.4.RELEASE | (問題) | Spring Cloud Stream | Fishtown.SR4 |
| Spring Cloud Kubernetes | 1.0.3.RELEASE | (問題) | Spring Cloud Build | 2.1.7.RELEASE |
| Spring Cloud Zookeeper | 2.1.3.RELEASE |
| Spring Cloud Gateway | 2.1.3.RELEASE | (問題) | Spring Cloud Dependencies | Greenwich.SR3 |
| Spring Cloud Netflix | 2.1.3.RELEASE | (問題) | Spring Cloud Bus | 2.1.3.RELEASE | (問題) | Spring Cloud Dependencies Parent | 2.1.7.RELEASE |
| Spring Cloud Task | 2.1.3.RELEASE |
| Spring Cloud Starter | Greenwich.SR3 |
| Spring Cloud Cloudfoundry | 2.1.3.RELEASE |
| Spring Cloud | Greenwich.SR3 |
| Spring Cloud Vault | 2.1.3.RELEASE |
| Spring Cloud Config | 2.1.4.RELEASE | (問題) | Spring Cloud Release | Greenwich.SR3 |
| Spring Cloud Function | 2.0.2.RELEASE | (問題) | Spring Cloud Consul | 2.1.3.RELEASE | (問題) | Spring Cloud Starter Parent | Greenwich.SR3 |
| Spring Cloud Gcp | 1.1.3.RELEASE |
| Spring Cloud Sleuth | 2.1.3.RELEASE |
| Spring Cloud Aws | 2.1.3.RELEASE |
| Spring Cloud Contract | 2.1.3.RELEASE | (問題)

一如既往,我們歡迎您在 GitHubGitterStack OverflowTwitter 上提供意見反應。

若要開始使用 Maven 並搭配 BOM (僅限依賴性管理)


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

buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}



apply plugin: "io.spring.dependency-management"

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.SR3'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

取得 Spring 電子報

隨時掌握 Spring 電子報的最新資訊

訂閱

搶先一步

VMware 提供訓練和認證,可加速您的進度。

了解更多

取得支援

Tanzu Spring 在一個簡單的訂閱中提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。

了解更多

即將舉行的活動

查看 Spring 社群中所有即將舉行的活動。

查看全部