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

發布 | Ryan Baxter | 2022 年 8 月 1 日 | ...

我謹代表社群宣布,Spring Cloud 2022.0.0 Release Train 的 Milestone 4 (M4) 版本已於今日推出。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 2022.0 發布說明以取得更多資訊

2022.0.0 Release Train 中的重要變更

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

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

Spring Cloud Stream

  • 完全反應式 Kafka binder 的初始版本
  • 透過 BiFunction 改善對 Kafka tombstone 記錄的支援
  • Spring Native 改善

Spring Cloud Config

  • 已移至 AWS SDK V2 (#2111)
  • 已從 JSCH 移至 Apache MINA (#1901)

Spring Cloud Gateway

  • 新增 JSON to gRPC 篩選器 (#2657)

Spring Cloud Function

  • 支援使用 BiFunction 來表示 Spring Message
  • Spring Observability 模組

Spring Cloud Task

  • 支援應用程式中 ApplicationRunner 和 CommandlineRunner 的觀測。
  • Spring Cloud Task 現在使用 Micrometer Observations 來擷取任務指標。
  • 使用者可以在單一步驟批次作業中為 jdbc-item reader 和/或 jdbc-item writer 指定不同的資料來源。(<#848)

Spring Cloud Vault

  • 升級至 Spring Vault 3.0.0-M2 (#647)

Spring Cloud Commons

  • 新增了急切建立 LoadBalancer 子內容的可能性 (#729)

以下模組已更新,作為 2022.0.0-M4 的一部分

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

一如既往,我們歡迎在 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>2022.0.0-M4</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-M4'
}
}

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

檢視全部