Spring Cloud Hoxton.SR9 发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:Spring Cloud Hoxton.SR9 正式发布,这是错误修正版本。兼容 Spring Boot 2.3.x and 2.2.x。 <dependencyManagement>     <dependencies>         <dependency>             <grou...

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 并不重复造轮子,而是将市面上开发得比较好的模块集成进去,进行封装,从而减少了各模块的开发成本。


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Host Your Web Site In The Cloud

Host Your Web Site In The Cloud

Jeff Barr / SitePoint / 2010-9-28 / USD 39.95

Host Your Web Site On The Cloud is the OFFICIAL step-by-step guide to this revolutionary approach to hosting and managing your websites and applications, authored by Amazon's very own Jeffrey Barr. "H......一起来看看 《Host Your Web Site In The Cloud》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具