Spring Cloud Alibaba 2.2.4 Released: New Features, Bug Fixes, and Upgrade Guide
Spring Cloud Alibaba 2.2.4.RELEASE is now available via Maven, bringing updated core dependencies such as Spring Boot 2.3.2, Spring Cloud Hoxton.SR8, Nacos 1.4.1, Seata 1.3.0, and Sentinel 1.8.0, along with numerous optimizations, security enhancements, and bug fixes, while noting incompatibility with Spring Cloud 2020 and Spring Boot 2.4.
Spring Cloud Alibaba 2.2.4.RELEASE is now available from Maven Central.
<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>Core Dependencies
Spring Boot 2.3.2.RELEASE
Spring Cloud Hoxton.SR8
Nacos 1.4.1
Seata 1.3.0
Sentinel 1.8.0
New Optimizations
Refactored NacosWatch scheduled task to ensure the application exits immediately after shutdown.
Important: Refactored Nacos configuration file parsing rules to prevent remote execution security issues.
Replaced original logic with abstract method AbstractMessageChannel.
Bug Fixes
Fixed failure of service deregistration at /actuator/service-registry.
Aligned heartbeat and other parameter units with Nacos default units.
Resolved startup failure when integrating spring-cloud-config.
Fixed issue where Dubbo consumers could not find services after provider restart.
Fixed NPE when Dubbo uses GRPC protocol.
Corrected thread‑pool shutdown logic in polling configuration center to prevent classloader OOM.
Fixed endpoint log warnings at startup.
Addressed compatibility issue with Seata 1.4.
Special Notes
Spring Cloud Alibaba 2.2.4.RELEASE is built on Spring Cloud Hoxton.SR8 and is not compatible with Spring Cloud 2020 or Spring Boot 2.4.
Because several security issues have been fixed, upgrading older versions is strongly recommended.
For compatibility solutions with Spring Cloud 2020 and Spring Boot 2.4, refer to: https://gitee.com/log4j/pig
Reference: https://gitee.com/log4j/pig
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
