Spring Cloud 2021.0.1 Release: New Features, Module Versions, and Compatibility
The article introduces Spring Cloud 2021.0.1, providing the updated Maven dependency snippet, a detailed list of module version upgrades, compatibility tables with Spring Boot, and highlights new features in Spring Cloud Gateway, OpenFeign, and Sleuth, while also offering PDF resources for deeper learning.
Hello everyone, I'm Chen (the author).
While browsing the Spring Cloud official documentation, I discovered that the Spring Cloud 2021.0.1 documentation has already been released, which made me feel the pressure of keeping up with the rapid updates.
Since the Maven repository has been updated, the dependency management snippet is as follows:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>New Feature Overview
This version introduces several new features and fixes many bugs.
Module Version Updates
Module Name
Version
Spring Cloud Config
3.1.1
Spring Cloud Zookeeper
3.1.1
Spring Cloud Circuitbreaker
2.1.1
Spring Cloud Kubernetes
2.1.1
Spring Cloud Commons
3.1.1
Spring Cloud Sleuth
3.1.1
Spring Cloud Contract
3.1.1
Spring Cloud Task
2.4.1
Spring Cloud Gateway
3.1.1
Spring Cloud OpenFeign
3.1.1
Spring Cloud Starter Build
2021.0.1
Spring Cloud Netflix
3.1.1
Spring Cloud Version Compatibility with Spring Boot
Spring Cloud Version
Spring Boot Version
2021.x
Spring Boot 2.6.x
2020.x
Spring Boot 2.4.x, 2.5.x (2020.0.3+)
Hoxton
Spring Boot 2.2.x, 2.3.x (SR5+)
Greenwich
Spring Boot 2.1.x
Finchley
Spring Boot 2.0.x
Edgware
Spring Boot 1.5.x
Dalston
Spring Boot 1.5.x
Module-Specific Updates
1. Spring Cloud Gateway
Added a new route predicate to check the allowed values of the X-Forwarded-For header.
Allows configuring the order of HandlerMapping in the Gateway; by default, HandlerMapping has priority, but it can be changed as needed.
2. Spring Cloud OpenFeign
Supports configuring the read timeout parameter readTimeout for OkHttpClient connections.
Improved FeignAutoconfiguration so that OAuth2FeignRequestInterceptor can include an AccessTokenProvider with load‑balancing interceptor.
3. Spring Cloud Sleuth
Fixed several obscure bugs (details can be found in the GitHub milestone).
https://github.com/spring-cloud/spring-cloud-sleuth/milestone/98?closed=1
Key Takeaway
The official release is very aggressive; as developers, it can feel overwhelming.
Final Note (Please Support)
I have compiled three columns of articles into PDFs. You can obtain them by following the public account "Code Monkey Technical Column" and replying with the corresponding keywords:
Spring Cloud Advanced – reply with "Spring Cloud Advanced".
Spring Boot Advanced – reply with "Spring Boot Advanced".
MyBatis Advanced – reply with "MyBatis Advanced".
If this article helped you, please like, view, share, and bookmark it; your support is the biggest motivation for me to keep writing.
Follow the public account "Code Monkey Technical Column" for more fan benefits and reply with "Join Group" to enter the technical discussion group.
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.
Code Ape Tech Column
Former Ant Group P8 engineer, pure technologist, sharing full‑stack Java, job interview and career advice through a column. Site: java-family.cn
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.
