Spring Cloud Hoxton.SR7 已發布

發布 | Spencer Gibb | 2020 年 8 月 4 日 | ...

我很高興代表社群宣布 Spring Cloud Hoxton Release Train 的 Service Release 7 (SR7) 今天正式發布。 可以在 Maven Central 找到此版本。 您可以查看 Hoxton 的 發布說明以取得更多資訊

Hoxton Release Train 中的重大變更

請在 GitHub 專案中查看所有包含的問題和提取請求。

Spring Cloud Netflix

CVE-2020-5412:spring-cloud-netflix-hystrix-dashboard 中的 Hystrix Dashboard Proxy

Spring Cloud Cloud Foundry

已將 CF Java client 升級至 3.25.0.RELEASE。

Spring Cloud Consul

已新增對 Consul binder 中 byte[] 訊息的支援。

Spring Cloud Gateway

已新增根據 HTTP 狀態代碼觸發 Spring Cloud Circuitbreaker 的支援。

Spring Cloud Config

已新增透過屬性停用 JDBC 支援的支援。

Spring Cloud Contract

新增了基於 StubRunnerReactiveDiscoveryClient 實作。

Spring Cloud OpenFeign

已新增對 CollectionFormat 的支援,並改進了與 @FeignClient 搭配使用的體驗。

Spring Cloud AWS

這是新社群維護者下的第一個 GA 版本。

Spring Cloud GCP

此版本包含許多出色的社群貢獻

  • 新的 Spring Cloud GCP Starter,spring-cloud-gcp-starter-metrics,配置 Micrometer Stackdriver 以自動擷取專案 ID 和憑證(感謝 @eddumelendez)。
  • 用於管理 SecretManagerTemplate 上的密碼版本的其他操作(感謝 @kioie
  • 其他 GCS Spring Integration 檔案篩選器 GcsAcceptModifiedAfterFileListFilterGcsDiscardRecentModifiedFileListFilter(感謝 @hosainnet

以下模組已更新為 Hoxton.SR7 的一部分

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Starter Build | Hoxton.SR7 |
| Spring Cloud Cloudfoundry | 2.2.3.RELEASE |
| Spring Cloud Kubernetes | 1.1.5.RELEASE |
| Spring Cloud Consul | 2.2.4.RELEASE | (問題) | Spring Cloud Gateway | 2.2.4.RELEASE | (問題) | Spring Cloud Config | 2.2.4.RELEASE | (問題) | Spring Cloud Contract | 2.2.4.RELEASE | (問題) | Spring Cloud Netflix | 2.2.4.RELEASE | (問題) | Spring Cloud Gcp | 1.2.4.RELEASE |
| Spring Cloud Security | 2.2.4.RELEASE |
| Spring Cloud Sleuth | 2.2.4.RELEASE | (問題) | Spring Cloud Openfeign | 2.2.4.RELEASE | (問題) | Spring Cloud Cli | 2.2.2.RELEASE |
| Spring Cloud Commons | 2.2.4.RELEASE | (問題) | Spring Cloud Aws | 2.2.3.RELEASE | (問題) | Spring Cloud Vault | 2.2.4.RELEASE |
| Spring Cloud Zookeeper | 2.2.3.RELEASE | (問題) | Spring Cloud Circuitbreaker | 1.0.4.RELEASE |
| Spring Cloud Bus | 2.2.3.RELEASE |

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

透過 BOM (僅限依賴性管理) 開始使用 Maven

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Hoxton.SR7</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.9.RELEASE"
  }
}

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

dependencyManagement {
  imports {
    mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR7'
  }
}

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 社群中所有即將舉辦的活動。

檢視全部