领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表社区宣布,Spring Cloud 2025.1 (又名 Oakwood) 发布列车的里程碑版本2 (M2) 于今日发布。该版本可在 Maven Central 找到。您可以查看 2025.1 发布说明以获取更多信息。
Spring Cloud 2025.0.0-M2 依赖于 Spring Boot 4.0.0-M2。在此查看所有作为此版本一部分的问题和拉取请求。
以下模块已作为 2025.0.0-M1 的一部分进行更新
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud OpenFeign | 5.0.0-M2 | (问题) |
| Spring Cloud Config | 5.0.0-M2 | (问题) |
| Spring Cloud Build | 5.0.0-M2 | (问题) |
| Spring Cloud Stream | 5.0.0-M2 | (问题) |
| Spring Cloud Netflix | 5.0.0-M2 | (问题) |
| Spring Cloud Circuitbreaker | 5.0.0-M2 | (问题) |
| Spring Cloud Contract | 5.0.0-M2 | (问题) |
| Spring Cloud Commons | 5.0.0-M2 | (问题) |
| Spring Cloud Consul | 5.0.0-M2 | (问题) |
| Spring Cloud Gateway | 5.0.0-M2 | (问题) |
| Spring Cloud Vault | 5.0.0-M2 | (问题) |
| Spring Cloud Function | 5.0.0-M2 | (问题) |
| Spring Cloud Dependencies | 2025.1.0-M2 | (问题) |
| Spring Cloud Task | 5.0.0-M2 | (问题) |
| Spring Cloud Kubernetes | 5.0.0-M2 | (问题) |
| Spring Cloud Bus | 5.0.0-M2 | (问题) |
| Spring Cloud Zookeeper | 5.0.0-M2 | (问题) |
一如既往,我们欢迎大家在 GitHub、Stack Overflow 或 Twitter 上提出反馈意见。
Maven 起步使用 BOM(仅依赖管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2025.1.0-M2</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 '4.0.0-M2'
id 'io.spring.dependency-management' version '1.1.7'
}
//...
ext {
set('springCloudVersion', "2025.1.0-M2")
}
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}"
}
}
//...