先人一步
VMware 提供培訓和認證,助力您的職業發展。
瞭解更多我代表社群高興地宣佈,Spring Cloud 2024.0.1 Release Train(又名 Moorgate)今天已釋出。該版本可在 Maven Central 中找到。您可以檢視 2024.0.1 發行說明了解更多資訊。
此 Spring Cloud 版本主要是一個 bugfix 版本,基於 Spring Boot 3.4.3。
此版本中解決的完整問題列表可在此專案中找到。
spring.cloud.stream.function.autodetect
新增到 additional-spring-configuration-metadata.json
#3052以下模組作為 2024.0.1 的一部分進行了更新
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Vault | 4.2.1 | (問題) |
Spring Cloud Bus | 4.2.1 | (問題) |
Spring Cloud Task | 3.2.1 | (問題) |
Spring Cloud Zookeeper | 4.2.1 | (問題) |
Spring Cloud Kubernetes | 3.2.1 | (問題) |
Spring Cloud Function | 4.2.2 | (問題) |
Spring Cloud Commons | 4.2.1 | (問題) |
Spring Cloud Circuitbreaker | 3.2.1 | (問題) |
Spring Cloud Openfeign | 4.2.1 | (問題) |
Spring Cloud Starter Build | 2024.0.1 | (問題) |
Spring Cloud Stream | 4.2.1 | (問題) |
Spring Cloud Consul | 4.2.1 | (問題) |
Spring Cloud Gateway | 4.2.1 | (問題) |
Spring Cloud Contract | 4.2.1 | (問題) |
Spring Cloud Config | 4.2.1 | (問題) |
Spring Cloud Build | 4.2.1 | (問題) |
Spring Cloud Netflix | 4.2.1 | (問題) |
一如既往,我們歡迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反饋。
使用帶 BOM(僅依賴管理)的 Maven 入門
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2024.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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.3'
id 'io.spring.dependency-management' version '1.1.7'
}
// ..
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2024.0.1")
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
// ..
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}