我很高兴地代表社区宣布,Spring Cloud 2022.0.5 Release Train 的 General Availability (RELEASE) 版本已于今日发布。您可以在 Maven Central 中找到该版本。您可以查看 2022.0.5 发布说明了解更多信息。
2022.0.5 发布列车中的显著变更
Spring Cloud Zookeeper
修复删除自定义配置服务器引导器功能的回归 (#324)
Spring 云功能
已添加在无服务器环境(如 AWS)中作为本地可执行文件运行 Web 工作负载(如 SpringMVC)的支持。更多文档即将发布,但您可以在此处查看示例 – https://github.com/aws/serverless-java-container/tree/main/samples/springboot3/pet-store-native
Spring Cloud Circuitbreaker
Resilience4J CircuitBreakerFactory 中的可定制 groupExecutorService (#180)
Spring 云网关
为 `/actuator/gateway 添加指向其他路径的链接 (#3128)
云配置
注册一个新类以在引导过程中解析属性 (#2375)
弹性云 Consul
修复删除自定义配置服务器引导器功能的回归 (#833)
云合同
修复 CVE 2024-22236
作为 2022.0.5 的一部分,更新了以下模块:
Module | Version | Issues |
---|---|---|
Spring Cloud Vault | 4.0.2 | (issues) |
Spring Cloud Bus | 4.0.3 | (issues) |
Spring Cloud Zookeeper | 4.0.2 | (issues) |
Spring Cloud Openfeign | 4.0.6 | (issues) |
Spring Cloud Commons | 4.0.5 | (issues) |
Spring Cloud Task | 3.0.4 | (issues) |
Spring Cloud Kubernetes | 3.0.5 | (issues) |
Spring Cloud Function | 4.0.6 | (issues) |
Spring Cloud Circuitbreaker | 3.0.4 | (issues) |
Spring Cloud Netflix | 4.0.4 | (issues) |
Spring Cloud Starter Build | 2022.0.5 | (issues) |
Spring Cloud Stream | 4.0.5 | (issues) |
Spring Cloud Gateway | 4.0.9 | (issues) |
Spring Cloud Build | 4.0.6 | (issues) |
Spring Cloud Config | 4.0.5 | (issues) |
Spring Cloud Consul | 4.0.4 | (issues) |
Spring Cloud Contract | 4.0.5 | (issues) |
与往常一样,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要开始使用 Bom 的 Maven(仅限依赖项管理),请执行以下操作:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.5</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.5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}