Spring Cloud 2022.0.0 发布了第二个 RC 版本。
获取地址:https://repo.spring.io/milestone/
主要变化
- Spring Cloud 2022.0.0-RC2 需要使用 Spring Boot 3.0.0-RC2
- 所有 Spring Cloud 项目现在都使用 Apache HttpClient v5
Spring Cloud Contract
此版本包含许多依赖项的升级,以及部分破坏性的变更:
详情。
Spring Cloud OpenFeign
- 移除对 Spring Cloud Commons HttpClient 接口的使用 (#788)
- Apache HttpClient 4 已被移除,取而代之的是 Apache HttpClient 5 (#783)
- 升级到 Feign
12.0 (#782)
Spring Cloud Commons
- 删除了依赖于 Apache HttpClient v4 的接口,删除了 OK HttpClient 接口,因为它们仅由 Spring Cloud OpenFeign 使用。Spring Cloud OpenFeign 现在直接使用 OK HttpClient (#1171)
- 删除已被弃用的类和接口。详情查看 Spring Cloud 2022 Release Notes
Spring Cloud Gateway
以下模块作为 2022.0.0-RC2 的一部分也进行了升级:
| Module |
Version |
Issues |
| Spring Cloud Task |
3.0.0-RC2 |
(issues) |
| Spring Cloud Bus |
4.0.0-RC2 |
|
| Spring Cloud Contract |
4.0.0-RC2 |
(issues) |
| Spring Cloud Circuitbreaker |
3.0.0-RC2 |
|
| Spring Cloud Function |
4.0.0-RC2 |
|
| Spring Cloud Openfeign |
4.0.0-RC2 |
(issues) |
| Spring Cloud Zookeeper |
4.0.0-RC2 |
|
| Spring Cloud Commons |
4.0.0-RC2 |
(issues) |
| Spring Cloud Vault |
4.0.0-RC2 |
|
| Spring Cloud Kubernetes |
3.0.0-RC2 |
(issues) |
| Spring Cloud Stream |
4.0.0-RC2 |
|
| Spring Cloud Starter Build |
2022.0.0-RC2 |
|
| Spring Cloud Consul |
4.0.0-RC2 |
(issues) |
| Spring Cloud Config |
4.0.0-RC2 |
(issues) |
| Spring Cloud Build |
4.0.0-RC2 |
|
| Spring Cloud Gateway |
4.0.0-RC2 |
(issues) |
| Spring Cloud Netflix |
4.0.0-RC2 |
(issues) |
详情查看 Release Notes。