領先一步
VMware 提供訓練和認證,以加速您的進展。
了解更多我謹代表社群宣布,Spring Cloud 2022.0 Release Train 的 Release Candidate 3 (RC3) 今天正式發布。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 2022.0 發行說明 以取得更多資訊。
點擊此處查看此版本中的所有問題。
Spring Cloud 2022.0.0-RC3 需要 Spring Boot 3.0.0。
src/test/resources/contracts
的支援 (#1848)請查看最新的遷移指南條目以取得更多資訊。
12.1
(#792)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 |
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見反應。
若要開始使用 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'
}