Cloud Native 5 min read

Spring Cloud 2021.0.1 Released: New Features, Upgrades, and Dependency Guide

Spring Cloud 2021.0.1, the first bug‑fix release of the 2021 line, introduces new routing predicates, configurable gateway handler order, OpenFeign 11.8 updates, Config file matcher fixes, and a comprehensive module version upgrade list, all available via the central Maven repository.

Programmer DD
Programmer DD
Programmer DD
Spring Cloud 2021.0.1 Released: New Features, Upgrades, and Dependency Guide

Spring Cloud 2021.0.1 has been officially released as the first bug‑fix version of the 2021 series.

Supports smooth upgrade from 2021.0.0

The release can be obtained 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>

Changelog

Spring Cloud Gateway

Added a new route predicate to validate X‑Forwarded‑For header values, similar to the RemoteAddr predicate.

Allowed configuration of the gateway HandlerMapping order; 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 failure on 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 (or their respective component versions):

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

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaCloud Nativedependency managementSpring CloudRelease Notes
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

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.