领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,荣幸地宣布 Spring Cloud 2024.0.0 发布火车(Release Train)的第一个里程碑版本(Milestone 1, M1)现已发布。您可以在 Spring Milestone 仓库中找到此版本。
Spring Cloud 2024.0.0 第一个里程碑版本的主要目标是提供与 Spring Boot 3.4.0-M1 的兼容性。此首个里程碑版本没有显著的新功能。我们非常欢迎用户尝试此首个里程碑版本并报告发现的任何问题。
作为 2024.0.0-M1 的一部分,以下模块已更新:
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Bus | 4.2.0-M1 | (问题) |
| Spring Cloud Zookeeper | 4.2.0-M1 | (问题) |
| Spring Cloud Circuitbreaker | 3.2.0-M1 | (问题) |
| Spring Cloud Task | 3.2.0-M1 | (问题) |
| Spring Cloud Contract | 4.2.0-M1 | (问题) |
| Spring Cloud Kubernetes | 3.2.0-M1 | (问题) |
| Spring Cloud Netflix | 4.2.0-M1 | (问题) |
| Spring Cloud Starter Build | 2024.0.0-M1 | (问题) |
| Spring Cloud Config | 4.2.0-M1 | (问题) |
| Spring Cloud Build | 4.2.0-M1 | (问题) |
| Spring Cloud Openfeign | 4.2.0-M1 | (问题) |
| Spring Cloud Consul | 4.2.0-M1 | (问题) |
| Spring Cloud Gateway | 4.2.0-M1 | (问题) |
| Spring Cloud Commons | 4.2.0-M1 | (问题) |
| Spring Cloud Stream | 4.2.0-M1 | (问题) |
| Spring Cloud Function | 4.2.0-M1 | (问题) |
| Spring Cloud Vault | 4.2.0-M1 | (问题) |
一如既往,我们欢迎大家在 GitHub、Gitter、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>2024.0.0-M1</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"
}
}
repositories {
maven {
url 'https://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2024.0.0-M1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}