領先一步
VMware 提供培訓和認證,助您加速發展。
瞭解更多我很高興代表社群宣佈,Spring Cloud 2023.0.2 Release Train 的通用版本 (RELEASE) 於今日釋出。您可以在 Maven Central 中找到該版本。您可以檢視 2023.0.2 版本說明了解更多資訊。
我們也很高興宣佈,Spring Cloud 2022.0.7 Release Train 的通用版本 (RELEASE) 於今日釋出。更多資訊可在 https://springframework.tw/support 找到。
此版本增加了對 Spring Boot 3.3.x 以及 Spring Boot 3.2.x 的相容性。
請參閱the GitHub project瞭解此版本中的所有更改。
以下模組已作為 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 上提供反饋。
要開始使用帶有 BOM(僅依賴管理)的 Maven
<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'
...
}