Spring Cloud Alibaba 2.2.4 已经发布,目前已可以从 maven 仓库获取,坐标如下:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.4.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
核心依赖
-
Spring Boot 2.3.2.RELEASE
-
Spring Cloud Hoxton.SR8
-
Nacos 1.4.1
-
Seata 1.3.0
-
Sentinel 1.8.0
新增优化
-
重构 NacosWatch 定时任务,保证应用关闭后立即退出
-
【重要】重构 nacos 配置文件解析规则,可避免远程执行安全问题
-
使用抽象方法
AbstractMessageChannel
替换原有逻辑
BUG 修复
-
修复
/actuator/service-registry
注销服务失败问题 -
服务注册心跳等参数单位和 Nacos 默认参数单位不统一
-
修复无法整合使用 spring-cloud-config ,服务启动失败
-
修复 Dubbo 重启服务提供者情况下,消费者找不到服务的问题
-
修复 Dubbo 使用 GRPC 协议时 NPE
-
修复 轮询配置中心线程池关闭逻辑错误导致 classloader 无法回收 OOM
-
修复 启动时端点日志警告
-
修复与 seata 1.4 兼容性问题
特别说明
-
Spring Cloud Alibaba 2.2.4.RELEASE 基于 Spring Cloud Hoxton.SR8 构建,所以并不不兼容 Spring Cloud 2020 、Spring Boot 2.4。
-
Spring Cloud Alibaba 2.2.4.RELEASE 如何兼容 Spring Cloud 2020 、Spring Boot 2.4 请参考。
-
由于修复了部分安全问题,强烈建议旧版本用户升级。