What’s New in Spring Cloud 2021.0.1? Full Release Notes and Upgrade Guide
Spring Cloud 2021.0.1, the first bug‑fix release of the 2021 line, brings smooth upgrade support, updated dependencies, new gateway predicates, OpenFeign enhancements, Config bug fixes, Sleuth improvements, and a comprehensive list of module version upgrades for Java developers.
Spring Cloud 2021.0.1 has been officially released as the first bug‑fix version of the 2021 line, supporting smooth upgrade from 2021.0.0.
It can be retrieved from the central repository with the following Maven coordinates:
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>
<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>Release notes
Spring Cloud Gateway
Added a route predicate to validate the X‑Forwarded‑For request value, similar to the RemoteAddr predicate.
Allowed configuring the order of the gateway HandlerMapping; by default GatewayHandlerMapping has the highest priority.
Spring Cloud OpenFeign
Updated to OpenFeign 11.8.
Supported readTimeout property for OkHttpClient.
OAuth2FeignRequestInterceptor can now configure an AccessTokenProvider connector with automatic load balancing.
Spring Cloud Config
Fixed bugs in the file matcher when handling JSON, YAML, and properties formats.
Spring Cloud Sleuth
Fixed startup failures for Spring Boot 2.6.x applications.
TraceId is now propagated across thread pools without contaminating the context.
Added support for non‑Brave Kafka message containers.
Dependency upgrades
The following modules have been upgraded to version 2021.0.1:
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
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.
