領先一步
VMware 提供培訓和認證,助您加速進步。
瞭解更多我很高興代表社群宣佈,Spring Cloud 2023.0.2 釋出火車今天已普遍可用 (RELEASE)。該版本可在 Maven Central 中找到。您可以檢視 2023.0.2 釋出說明以獲取更多資訊。
我們也很高興地宣佈,Spring Cloud 2022.0.7 釋出火車今天已普遍可用 (RELEASE)。更多資訊可在 https://springframework.tw/support 找到。
此版本增加了與 Spring Boot 3.3.x 以及 Spring Boot 3.2.x 的相容性。
有關此版本中所有更改,請參閱GitHub 專案。
以下模組已作為 2023.0.2 的一部分進行更新
| 模組 | 版本 | 問題 |
|---|---|---|
| Spring Cloud Vault | 4.1.2 | (問題) |
| Spring Cloud Kubernetes | 3.1.2 | (問題) |
| Spring Cloud Function | 4.1.2 | (問題) |
| Spring Cloud Commons | 4.1.3 | (問題) |
| Spring Cloud Openfeign | 4.1.2 | (問題) |
| Spring Cloud Starter Build | 2023.0.2 | (問題) |
| Spring Cloud Stream | 4.1.2 | (問題) |
| Spring Cloud Gateway | 4.1.4 | (問題) |
| Spring Cloud Contract | 4.1.3 | (問題) |
| Spring Cloud Config | 4.1.2 | (問題) |
| Spring Cloud Build | 4.1.2 | (問題) |
| Spring Cloud Netflix | 4.1.2 | (問題) |
一如既往,我們歡迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反饋。
Maven 起步使用 BOM(僅依賴管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2023.0.2</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:2023.0.2'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}