领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,非常高兴地宣布 Spring Cloud 2022.0.1 发布版 的通用可用性(RELEASE)现已发布。可以在 Maven Central 中找到此版本。您可以查看 2022.0.1 的 发行说明以获取更多信息。
此版本与 Spring Boot 3.0.2 兼容。
一些小的 增强和错误修复
已完成 增强功能和错误修复
修复了多个 bug,特别是
作为 2022.0.1 的一部分,以下模块已更新
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Function | 4.0.1 | (issues) |
| Spring Cloud Task | 3.0.1 | (issues) |
| Spring Cloud Kubernetes | 3.0.1 | (issues) |
| Spring Cloud Openfeign | 4.0.1 | |
| Spring Cloud Bus | 4.0.1 | |
| Spring Cloud Stream | 4.0.1 | (issues) |
| Spring Cloud Commons | 4.0.1 | (issues) |
| Spring Cloud Contract | 4.0.1 | (issues) |
| Spring Cloud Netflix | 4.0.0 | (issues) |
| Spring Cloud Consul | 4.0.1 | (issues) |
| Spring Cloud Config | 4.0.1 | |
| Spring Cloud Build | 4.0.1 | |
| Spring Cloud Starter Build | 2022.0.1 | |
| Spring Cloud Gateway | 4.0.1 | (issues) |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.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
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:2022.0.1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}