Spring Cloud 2022.0.0-M3 (代號 Kilburn) 已發布

發布 | Ryan Baxter | 2022 年 6 月 16 日 | ...

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

2022.0.0 Release Train 中的重要變更

請參閱專案頁面,以取得此版本中包含的所有問題和提取請求。

Spring Cloud 2022.0.0-M3 與 Spring Boot 3.0.0-M3 相容。

Spring Cloud Stream

  • 透過最近新增的 BiFunction/BiConsumer 支援,增強了對 Kafka "墓碑" 記錄的支援
  • 新增了對基於函數的錯誤處理的支援,因此不再需要註釋

Spring Cloud Kubernetes

  • 使用 spring.config.import 載入 Config Maps 和 Secrets,無需使用 Bootstrap context (1002)
  • Secrets 和 Config Maps 支援前綴 (765)

Spring Cloud Circuitbreaker

  • 執行 Resilient4J circuitbreakers 時,新增了禁用 threadpools 的支援 (147)

Spring Cloud Contract

  • 將 Rest Assured 升級至 5.1.0
  • 移除了對 Spring Cloud Function Compiler 的參考

Spring Cloud Function

  • 支援 BiFunction 和 BiConsumer 作為已剖析的訊息函數
  • 支援篩選掉不合格的函數
  • 可觀測性模組

Spring Cloud Task

  • 新增了對 ApplicationRunner 和 CommandLineRunner 觀察的支援

Spring Cloud Commons

以下模組已作為 2022.0.0-M3 的一部分進行更新

模組 版本 議題
Spring Cloud Stream 4.0.0-M3
Spring Cloud Config 4.0.0-M3 (議題)
Spring Cloud Build 4.0.0-M3
Spring Cloud Starter Build 2022.0.0-M3
Spring Cloud Kubernetes 3.0.0-M3 (議題)
Spring Cloud Circuitbreaker 3.0.0-M3 (議題)
Spring Cloud Contract 4.0.0-M3 (議題)
Spring Cloud Consul 4.0.0-M3
Spring Cloud Gateway 4.0.0-M3
Spring Cloud Function 4.0.0-M3
Spring Cloud Vault 4.0.0-M3 (議題)
Spring Cloud Bus 4.0.0-M3 (議題)
Spring Cloud Zookeeper 4.0.0-M3
Spring Cloud Task 3.0.0-M3 (議題)
Spring Cloud Openfeign 4.0.0-M3
Spring Cloud Commons 4.0.0-M3 (議題)

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

開始使用帶有 BOM(僅依賴管理)的 Maven


    <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>2022.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.2.RELEASE"
}
}

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

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

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

檢視全部