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

發布 | Spencer Gibb | 2020 年 7 月 28 日 | ...

發布

我謹代表社群宣布 Spring Cloud 2020.0 Release Train (代號 Ilford) 的 Milestone 3 (M3) 已於今日發布。 您可以在 Spring Milestone 儲存庫中找到此版本。您可以查看 2020.0 發布說明以取得更多資訊。

2020.0 Release Train 中的重要變更

此版本需要 Spring Boot 2.4.0-M1。

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

Spring Cloud Sleuth

  • 改進 Reactor 整合 問題
  • 與 Spring Cloud Function 整合
  • 與 MongoDB 整合 問題

Spring Cloud Kubernetes

  • 現在,當 ConfigMap 或 Secret 中的值變更時,可以在不依賴 Kubernetes API 的情況下重新整理應用程式組態。 請參閱 #567
  • 改善維護繫結至 java.util.Map 之屬性的資料類型和定義順序。 請參閱 #554

Spring Cloud Consul

在 Consul Bus 中新增對非字串酬載類型的支援。

Spring Cloud Config

現在可以使用屬性停用 JDBC 環境儲存庫。

Spring Cloud Function

除了少數增強功能和錯誤修正之外,此版本還包含對 RSocket 整合的初始支援。 我們將在稍後發布一篇獨立的部落格文章。

Spring Cloud Gateway

  • 新增了基於傳回的狀態代碼觸發斷路器的功能。 請參閱 #1836

Spring Cloud Contract

  • 將 WireMock 升級到 2.27.0 問題
  • 使 Rest Assured 版本與 Boot 對齊 問題
  • 大量的程式庫升級 問題

Spring Cloud Commons

Spring Cloud Loadbalancer 生命週期已完成。 這允許使用者以型別安全的方式輕鬆地對 Load Balancer 生命週期事件做出反應。

Spring Cloud Openfeign

新增對 OpenFeign 集合格式的支援 問題

Spring Cloud Stream

與 Spring Cloud Function 更緊密的整合、TestBinder 中的一些新功能讓您可以傳送到指定目的地和從指定目的地接收,動態目的地顯著的效能改進,以及框架中許多增強功能和錯誤修正。

Spring Cloud Task

Spring Cloud Task 在 Single-step Batch Jobs 功能的 Starter 中新增了 JdbcCursorItemReaderJdbcItemWriter。 這項功能讓使用者僅透過屬性即可設定 single-step Spring Batch job。 使用此功能的範例可以在此處找到。


以下模組已於 2020.0.0-M3 版本中更新

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Bus | 3.0.0-M3 |
| Spring Cloud Circuitbreaker | 2.0.0-M3 |
| Spring Cloud Cloudfoundry | 3.0.0-M3 |
| Spring Cloud Commons | 3.0.0-M3 |
| Spring Cloud Config | 3.0.0-M3 | (問題) | Spring Cloud Consul | 3.0.0-M3 |
| Spring Cloud Contract | 3.0.0-M3 | (問題) | Spring Cloud Function | 3.1.0-M2 |   | Spring Cloud Gateway | 3.0.0-M3 |
| Spring Cloud Kubernetes | 2.0.0-M3 |
| Spring Cloud Netflix | 3.0.0-M3 |
| Spring Cloud Openfeign | 3.0.0-M3 |
| Spring Cloud Security | 3.0.0-M3 |
| Spring Cloud Sleuth | 3.0.0-M3 |
| Spring Cloud Stream | 3.1.0-M2 |   | Spring Cloud Task | 2.3.0-M2 |   | Spring Cloud Vault | 3.0.0-M3 |
| Spring Cloud Zookeeper | 3.0.0-M3 |

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

使用 Maven 開始 (僅限 BOM (dependency management))

<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-M3</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-M3'
  }
}

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

查看全部