内容简介:Spring Cloud 2021.0.1 正式发布,这是 Spring Cloud 2021 的第一个错误修正版本。 支持 2021.0.0 平稳升级 目前已经可以从中央仓库获取,坐标如下: dependencyManagement> <dependencies> <de...
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
-
新增路由谓词,用于检查 X-Forwarded-for 请求值的合法性,类似于 RemoteAddr 谓词
-
允许设置网关 HandlerMapping 的顺序。默认情况下 GatewyHandlerMapping 优先级最高
Spring Cloud Openfeign
- 更新至 OpenFeign 11.8
- 支持 OkHttpClient 的 readTimeout 属性
- OAuth2FeignRequestInterceptor 配置 AccessTokenProvider 连接器自动负载均衡
Spring Cloud Config
- 修复文件匹配器 在 JSON 、YAML、properties 格式处理 BUG
Spring Cloud Sleuth
-
修复 springboot 2.6.x 应用启动失败
-
TraceId 在线程池之间传递,污染上下文
-
添加对非 Brave Kafka 消息容器的支持
依赖升级
以下模块升级至 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 |
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Uberland
Alex Rosenblat / University of California Press / 2018-11-19 / GBP 21.00
Silicon Valley technology is transforming the way we work, and Uber is leading the charge. An American startup that promised to deliver entrepreneurship for the masses through its technology, Uber ins......一起来看看 《Uberland》 这本书的介绍吧!