Cloud Native 3 min read

What’s New in Spring Cloud Alibaba 2021.0.4.0? Core Dependency Upgrades Explained

Spring Cloud Alibaba 2021.0.4.0 upgrades core components—including Seata, RocketMQ, Sentinel, Nacos, Spring Boot, and Spring Cloud—adds new features, fixes bugs, and enhances stability, while providing Maven dependency management for seamless migration from 2021.0.1.0 to the latest release.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Spring Cloud Alibaba 2021.0.4.0? Core Dependency Upgrades Explained

Core Dependency Upgrade

Spring Cloud Alibaba 2021.0.4.0 builds on Spring Cloud 2021.0.4 and Spring Cloud 2.6.11, upgrading many components such as registration, configuration center, and distributed messaging, and fixing bugs.

Seata upgraded to 1.5.2, adding xid consistency load‑balancing and fixing security issues.

RocketMQ upgraded to 4.9.4, offering lightweight queues and asynchronous delayed‑message sending.

Sentinel upgraded to 1.8.5, providing automatic parameter extraction for ParamFlowSlot and fixing Dashboard bugs.

Nacos client upgraded to 2.0.4, adding authentication and configuration encryption plugins.

Spring Boot adapted to 2.6.11, fixing stack overflow and BasicJsonParser stop‑issue bugs.

Spring Cloud adapted to 2021.0.4, allowing binary content‑type overrides in OpenFeign and adding native JSON to gRPC filters in Spring Cloud Gateway.

In addition to component upgrades, several previous issues were fixed, further improving the stability and robustness of Spring Cloud Alibaba.

Maven Dependency

<code>&lt;dependencyManagement&gt;
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;com.alibaba.cloud&lt;/groupId&gt;
            &lt;artifactId&gt;spring-cloud-alibaba-dependencies&lt;/artifactId&gt;
            &lt;version&gt;2021.0.4.0&lt;/version&gt;
            &lt;type&gt;pom&lt;/type&gt;
            &lt;scope&gt;import&lt;/scope&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
&lt;/dependencyManagement&gt;</code>

Supports smooth upgrade from 2021.0.1.0 to 2021.0.4.0.

Javacloud-nativemicroservicesspring-cloud-alibabaDependency Upgrade
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.