Spring Cloud 2020.0.0-M5 (又名 Ilford) 已發布

發布 | Spencer Gibb | 2020 年 11 月 18 日 | ...

我很高興代表社群宣布 Spring Cloud 2020 Release Train 的 Milestone 5 (M5) 今天已發布。 該版本可在 Spring Milestone 儲存庫中找到。 您可以查看 2020 發布說明以獲取更多資訊

2020 Release Train 中的重要變更

此版本需要 Spring Boot 2.4.0。

Sleuth 中新增了對 OpenTelemetry 的支援。

Bus 中新增了對 RSocket 的支援。

請參閱 wiki 以獲取此版本列車中所有重大變更的清單。

請在 Github 專案 中查看所有包含的議題和 Pull Request。

Spring Cloud Bus

透過 Spring Cloud Function RSocket 支援新增了對 RSocket 的支援。 這不需要 Spring Cloud Stream。

Spring Cloud Commons

在反應式 Spring Cloud Loadbalancer 中新增了對 retry 的支援。

Spring Cloud Config

Submodule 支援已新增至 git Environment Repositories。

Spring Cloud Contract

新增 了對處理回應中空白清單和映射的支援。

Spring Cloud Gateway

Token Relay 支援已從 Spring Cloud Security 遷移到 Gateway。 還新增了 Token 更新。

Spring Cloud Kubernetes

新增了基於官方 Kubernetes Java Client 的新模組 added

Spring Cloud Netflix

EurekaHealthCheckHandler 現在考慮 ReactiveHealthIndicator

Spring Cloud Openfeign

新增了 配置用戶端以發送預設標頭和查詢參數的能力。

Spring Cloud Security

Token Relay 支援已移至 Spring Cloud Gateway(請參閱上文)。

Spring Cloud Sleuth

新增 了對 OpenTelemetry 的支援。


下列模組已更新為 2020.0.0-M5 的一部分

| 模組 | 版本 | 議題 |--- |--- |--- |--- | Spring Cloud Bus | 3.0.0-M5 | (議題) | Spring Cloud Circuitbreaker | 2.0.0-M5 | (議題) | Spring Cloud Cli | 3.0.0-M5 |
| Spring Cloud Cloudfoundry | 3.0.0-M5 |
| Spring Cloud Commons | 3.0.0-M5 | (議題) | Spring Cloud Config | 3.0.0-M5 | (議題) | Spring Cloud Consul | 3.0.0-M5 |
| Spring Cloud Contract | 3.0.0-M5 | (議題) | Spring Cloud Gateway | 3.0.0-M5 |
| Spring Cloud Kubernetes | 2.0.0-M5 | (議題) | Spring Cloud Netflix | 3.0.0-M5 | (議題) | Spring Cloud Openfeign | 3.0.0-M5 | (議題) | Spring Cloud Security | 3.0.0-M5 |
| Spring Cloud Sleuth | 3.0.0-M5 | (議題) | Spring Cloud Starter Build | 2020.0.0-M5 |
| Spring Cloud Vault | 3.0.0-M5 |
| Spring Cloud Zookeeper | 3.0.0-M5 |

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

開始使用 Maven 和 BOM(僅依賴項管理)

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2020.0.0-M5</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"
  }
}

repositories {
  maven {
    url 'https://repo.spring.io/milestone'
  }
}

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

dependencyManagement {
  imports {
    mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2020.0.0-M5'
  }
}

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

查看全部