领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表社区宣布,Spring Cloud 2023.0.2 发布火车今天已普遍可用 (RELEASE)。该版本可在 Maven Central 中找到。您可以查看 2023.0.2 发布说明以获取更多信息。
我们也很高兴地宣布,Spring Cloud 2022.0.7 发布火车今天已普遍可用 (RELEASE)。更多信息可在 https://springjava.cn/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'
...
}