Spring Cloud 2022.0.0-M4 (代號 Kilburn) 已釋出

釋出 | Ryan Baxter | 2022 年 8 月 1 日 | ...

我很高興代表社群宣佈,Spring Cloud 2022.0.0 版本列車的里程碑 4 (M4) 已於今日釋出。該版本可在 Spring Milestone 倉庫中找到。您可以查閱 2022.0 的釋出說明以獲取更多資訊

2022.0.0 版本列車的顯著變化

請參閱專案頁面,瞭解此版本中包含的所有問題和拉取請求。

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 到 gRPC 過濾器 (#2657)

Spring Cloud Function

  • 支援使用 BiFunction 表示 Spring Message
  • Spring 可觀測性模組

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

檢視全部