領先一步
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 上提供反饋。
使用帶有 BOM 的 Maven 入門(僅依賴項管理)
<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'
...
}