領先一步
VMware 提供培訓和認證,加速您的進展。
了解更多我謹代表社群宣布 Spring Cloud 2022.0.1 Release Train 的正式發行版 (RELEASE) 今天正式推出。您可以在 Maven Central 找到此版本。您可以查看 2022.0.1 的 發行說明以取得更多資訊。
此版本與 Spring Boot 3.0.2 相容。
少許小的增強功能和錯誤修正
CatalogWatch
((1042)[https://github.com/spring-cloud/spring-cloud-kubernetes/issues/1042])修正了許多錯誤,特別是
以下模組已更新作為 2022.0.1 的一部分
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Function | 4.0.1 | (問題) |
Spring Cloud Task | 3.0.1 | (問題) |
Spring Cloud Kubernetes | 3.0.1 | (問題) |
Spring Cloud Openfeign | 4.0.1 | |
Spring Cloud Bus | 4.0.1 | |
Spring Cloud Stream | 4.0.1 | (問題) |
Spring Cloud Commons | 4.0.1 | (問題) |
Spring Cloud Contract | 4.0.1 | (問題) |
Spring Cloud Netflix | 4.0.0 | (問題) |
Spring Cloud Consul | 4.0.1 | (問題) |
Spring Cloud Config | 4.0.1 | |
Spring Cloud Build | 4.0.1 | |
Spring Cloud Starter Build | 2022.0.1 | |
Spring Cloud Gateway | 4.0.1 | (問題) |
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見回饋。
若要開始使用 Maven 和 BOM (僅限依賴管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.1</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"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2022.0.1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}