領先一步
VMware 提供培訓和認證,以加速您的進展。
了解更多我謹代表社群,很高興宣布 Spring Cloud 2021.0.9 版本系列的正式發行版 (RELEASE) 今天正式推出。此版本可在 Maven Central 中找到。您可以查看 2021.0.9 發行說明以獲取更多資訊。
此版本的 Spring Cloud 基於 Spring Boot 2.6.15,並與 Spring Boot 2.7.18 和 3.0.13 相容。
這將會是 Spring Cloud 2021.0.x 的最後一個開源版本。此版本系列中的所有專案均已終止生命週期。我們建議您升級至 Spring Cloud 2022.0.x 或 2023.0.x。
以下模組已更新,作為 2021.0.9 的一部分
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Netflix | 3.1.8 | (問題) |
Spring Cloud Stream | 3.2.10 | (問題) |
Spring Cloud Starter Build | 2021.0.9 | (問題) |
Spring Cloud Consul | 3.1.5 | (問題) |
Spring Cloud Cloudfoundry | 3.1.4 | (問題) |
Spring Cloud Contract | 3.1.9 | (問題) |
Spring Cloud Zookeeper | 3.1.5 | (問題) |
Spring Cloud Sleuth | 3.1.10 | (問題) |
Spring Cloud Bus | 3.1.3 | (問題) |
Spring Cloud Function | 3.2.12 | (問題) |
Spring Cloud Openfeign | 3.1.9 | (問題) |
Spring Cloud Config | 3.1.9 | (問題) |
Spring Cloud Circuitbreaker | 2.1.8 | (問題) |
Spring Cloud Build | 3.1.9 | (問題) |
Spring Cloud Kubernetes | 2.1.9 | (問題) |
Spring Cloud Commons | 3.1.8 | (問題) |
Spring Cloud Vault | 3.1.4 | (問題) |
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見反應。
開始使用 Maven 與 BOM (僅限依賴項管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.9</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:2021.0.9'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}