Spring Cloud Hoxton Service Release 3 (SR3) 已發布。

工程 | Olga Maciaszek-Sharma | 2020 年 3 月 5 日 | ...

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

重要安全性公告

Spring Cloud Config 包含 CVE-2020-5405 的修復程式。

Hoxton Release Train 中的顯著變更

此里程碑主要是錯誤修復版本。

請參閱 Hoxton.SR3 Github 專案,以瞭解所有已關閉的問題。

此里程碑版本是使用 Spring Boot 2.2.5.RELEASE 建置的。

Spring Cloud Config

注意預設已停用可寫入的 env 端點。 若要重新啟用此功能,請設定 management.endpoint.env.post.enabled=true。 請確保此端點不是公開可用的。

新增了覆寫 ConfigTokenProvider 的可能性。 修復了 KeyStoreTestEncryptorLocator 的效能問題。

Spring Cloud Contract

在 StubRunner 中新增了對 Spring Cloud LoadBalancer 的支援。

Spring Cloud CircuitBreaker

新增了事先建立和自訂斷路器的支援。

Spring Cloud Commons

新增了在 Spring Cloud LoadBalancer 中對實例健康檢查的支援。 LoadBalancer 請求內容透過 API 公開。

Spring Cloud OpenFeign

OpenFeign 已升級至 10.7.4。 新增了對 @MatrixVariable 的支援。

Spring Cloud Sleuth

新增了對 FeignBlockingLoadBalancerClient 的支援。

Spring Cloud Gateway

新增了對低於 1 req/s 的速率限制的支援。 新增了對 RetryFilter 的增強功能。 將 ServiceInstance 中繼資料新增至 RouteDefinition 中繼資料。 提供了 spring-cloud-gateway-mvc 的標頭組態清單。

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

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Config | 2.2.2.RELEASE | (問題) | Spring Cloud Cloudfoundry | 2.2.1.RELEASE |
| Spring Cloud Vault | 2.2.2.RELEASE | (問題) | Spring Cloud Aws | 2.2.1.RELEASE |
| Spring Cloud Bus | 2.2.1.RELEASE |
| Spring Cloud Cli | 2.2.1.RELEASE |
| Spring Cloud Gcp | 1.2.2.RELEASE |
| Spring Cloud Contract | 2.2.2.RELEASE | (問題) | Spring Cloud Consul | 2.2.2.RELEASE |
| Spring Cloud Starter | Hoxton.SR3 |
| Spring Cloud Dependencies | Hoxton.SR3 |
| Spring Cloud Starter Parent | Hoxton.SR3 |
| Spring Cloud Sleuth | 2.2.2.RELEASE | (問題) | Spring Cloud Commons | 2.2.2.RELEASE | (問題) | Spring Cloud Openfeign | 2.2.2.RELEASE | (問題) | Spring Cloud Zookeeper | 2.2.0.RELEASE |
| Spring Cloud Kubernetes | 1.1.2.RELEASE | (問題) | Spring Cloud Security | 2.2.1.RELEASE |
| Spring Cloud Circuitbreaker | 1.0.2.RELEASE | (問題) | Spring Cloud Stream | Horsham.SR3 | (問題) | Spring Cloud Gateway | 2.2.2.RELEASE | (問題) | Spring Cloud Netflix | 2.2.2.RELEASE | (問題) | Spring Cloud Function | 3.0.3.RELEASE |
| Spring Cloud Task | 2.2.3.RELEASE |

與往常一樣,我們歡迎在 GitHubGitterStack OverflowTwitter 上提供意見反應。

開始使用 Maven 和 BOM (僅限相依性管理)


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



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

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.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 社群中所有即將舉辦的活動。

檢視全部