Spring Cloud Hoxton.SR9 正式发布,这是错误修正版本。兼容 Spring Boot 2.3.x and 2.2.x。
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR9</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
-
增加 SecureHeadersGatewayFilter,支持在路由之前修改 SecureHeader
-
支持通过 /actuator/routedefinitions 查看 网关路由定义信息
-
增加 BooleanOpSpec.not() 断言操作函数
-
优化 ReactiveLoadBalancer 代码 提升性能
-
增加 @ConditionalOnEnabledFilter支持 filter 过滤
-
增加统一定义网关指标前缀配置
-
HttpHeadersFilters 支持大小写不敏感匹配策略
Spring Cloud Commons
-
Blocking LoadBalancer 支持重试机制
-
统一组件 EndpointId 规则 ,避免启动警告
Spring Cloud Netflix
-
升级相关依赖版本
-
添加 非阻塞监控检查器
Spring Cloud OpenFeign
-
增加配置项支持自定义请求头
-
拦截器支持排序
-
增加 Spring Cloud LoadBalancer 重试机制的支持
-
升级相关依赖版本
Spring Cloud Contract
-
增加 Git URL 中禁用.git 后缀的选项
Spring Cloud Sleuth
-
支持 RetryableFeignBlockingLoadBalancerClient 的追踪
Spring Cloud Config
-
客户端增加配置兼容 V1_JSON
-
增加配置支持无法读取存储库的异常提示
Spring Cloud Consul
-
支持 Consul 监控检查信息绕过服务查询
-
允许忽略 SQL 异常
更多信息
你可以从这里获取更多关于 Hoxton.SR9 的更新信息 https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Hoxton-Release-Notes
Spring Cloud 为开发者提供了在分布式系统(如配置管理、服务发现、断路器、智能路由、微代理、控制总线、一次性 Token、全局锁、决策竞选、分布式会话和集群状态)操作的开发工具。使用 Spring Cloud 开发者可以快速实现上述这些模式。Spring Cloud 并不重复造轮子,而是将市面上开发得比较好的模块集成进去,进行封装,从而减少了各模块的开发成本。