Spring Cloud 2022.0.0 Release Candidate 3 (代號 Kilburn) 已發布

發布 | Olga Maciaszek-Sharma | 2022 年 12 月 02 日 | ...

我謹代表社群宣布,Spring Cloud 2022.0 Release Train 的 Release Candidate 3 (RC3) 今天正式發布。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 2022.0 發行說明 以取得更多資訊。

2022.0.0 RC3 版本的重點變更

點擊此處查看此版本中的所有問題。

Spring Cloud 2022.0.0-RC3 需要 Spring Boot 3.0.0。

Spring Cloud Contract

  • 移除 Gradle 對於檢查 src/test/resources/contracts 的支援 (#1848)

請查看最新的遷移指南條目以取得更多資訊。

Spring Cloud Gateway

  • 新增停用全域 CORS 設定的可能性 (#2779)

Spring Cloud OpenFeign

Spring Cloud Commons

  • 切換為在 AOT 模式中延遲初始化子內容 (#1176)

Spring Cloud Kubernetes

Spring Cloud Config

  • Spring Vault 已升級至 3.0.0 (2193)

Spring Cloud Vault

  • Spring Vault 已升級至 3.0.0 (665)

Spring Cloud Stream

  • Spring Cloud Stream 中的測試繫結器已從核心 Spring Cloud Stream 模組移至獨立的成品。在此版本之前,測試繫結器是核心模組的一部分,使用者透過 test-binder 分類器使用它,這很不方便。在此版本中,測試繫結器現在已移出,並可透過 spring-cloud-stream-test-binder 模組取得。您可以將其作為相依性新增至您的應用程式,並取得所有先前的測試繫結器元件。

  • 改進核心 Spring Cloud Stream 中的錯誤處理文件

  • Spring Cloud Stream Schema Registry 以 AVRO 為基礎的轉換器已更新至 AVRO 1.11.1

  • 從此版本開始,AWS Kinesis 繫結器不再是 Spring Cloud Stream 發布列車的一部分,將會獨立發布。

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

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

一如既往,我們歡迎您在 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-RC3</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

plugins {
  id 'java'
  id 'org.springframework.boot' version '3.0.0'
  id 'io.spring.dependency-management' version '1.1.0'
}

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

ext {
  set('springCloudVersion', "2022.0.0-RC3")
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}

取得 Spring 電子報

隨時掌握 Spring 電子報的最新資訊

訂閱

領先一步

VMware 提供訓練和認證,以加速您的進展。

了解更多

取得支援

Tanzu Spring 在一個簡單的訂閱中提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。

了解更多

即將到來的活動

查看 Spring 社群中所有即將到來的活動。

檢視全部