领先一步
VMware 提供培训和认证,助您加速发展。
了解更多我很高兴代表社区宣布,Spring Cloud 2023.0.2 Release Train 的通用版本 (RELEASE) 于今日发布。您可以在 Maven Central 中找到该版本。您可以查看 2023.0.2 版本说明了解更多信息。
我们也很高兴宣布,Spring Cloud 2022.0.7 Release Train 的通用版本 (RELEASE) 于今日发布。更多信息可在 https://springframework.org.cn/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'
...
}