Spring Cloud 2021.0.1 正式发布,这是 Spring Cloud 2021 的第一个错误修正版本。
支持 2021.0.0 平稳升级
目前已经可以从中央仓库获取,坐标如下:
dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.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>
更新日志
Spring Cloud Gateway
Spring Cloud Openfeign
- 更新至 OpenFeign 11.8
- 支持 OkHttpClient 的 readTimeout 属性
- OAuth2FeignRequestInterceptor 配置 AccessTokenProvider 连接器自动负载均衡
Spring Cloud Config
- 修复文件匹配器 在 JSON 、YAML、properties 格式处理 BUG
Spring Cloud Sleuth
依赖升级
以下模块升级至 2021.0.1
| 模块 |
版本 |
| Spring Cloud Config |
3.1.1 |
| Spring Cloud Zookeeper |
3.1.1 |
| Spring Cloud Circuitbreaker |
2.1.1 |
| Spring Cloud Kubernetes |
2.1.1 |
| Spring Cloud Commons |
3.1.1 |
| Spring Cloud Sleuth |
3.1.1 |
| Spring Cloud Contract |
3.1.1 |
| Spring Cloud Task |
2.4.1 |
| Spring Cloud Gateway |
3.1.1 |
| Spring Cloud Openfeign |
3.1.1 |
| Spring Cloud Starter Build |
2021.0.1 |
| Spring Cloud Netflix |
3.1.1 |