Spring Cloud 2021.0.6 has been released

Releases | Oleg Zhurakousky | February 24, 2023 | ...

On behalf of the community, I am pleased to announce that the General Availability (RELEASE) of the Spring Cloud 2021.0.6 Release Train is available today. The release can be found in Maven Central. You can check out the 2021.0.6 release notes for more information.

Notable Changes in the 2021.0.6 Release Train

See the project page for all the issues and pull requests included in this release.

Spring Cloud Commons

  • Add utility method to configure zone-preference load-balancing with user-provided zone (#1174)

Spring Cloud Netflix

  • Allow setting timeouts for fetching instances (#4110)

Spring Cloud Gateway

  • Fixed memory leak in CacheRequestBodyGatewayFilter(2842)

Spring Cloud Kubernetes

  • Use SSL When secured annotation is true (#1141)

Spring Cloud OpenFeign

  • Allow configuring request timeout for Apache HttpClient (#799)

Spring Cloud Stream

  • Enhancements around custom Routing Functions to ensure they do not create output binding (similar to the provided one)
  • Consolidate core bean propagation between parent/child contexts in the case of multi-binder scenarios
  • Few bug fixes

Spring Cloud Function

  • Several improvements and bug fixes primarily around AWS Lambda support

The following modules were updated as part of 2021.0.6:

Module Version
Spring Cloud Netflix 3.1.5
Spring Cloud Config 3.1.6
Spring Cloud Build 3.1.6
Spring Cloud Sleuth 3.1.7
Spring Cloud Gateway 3.1.6
Spring Cloud Starter Build 2021.0.6
Spring Cloud Consul 3.1.2
Spring Cloud Contract 3.1.6
Spring Cloud Vault 3.1.2
Spring Cloud Kubernetes 2.1.6
Spring Cloud Zookeeper 3.1.3
Spring Cloud Task 2.4.6
Spring Cloud Openfeign 3.1.6
Spring Cloud Circuitbreaker 2.1.6
Spring Cloud Stream 3.2.7
Spring Cloud Commons 3.1.6
Spring Cloud Function 3.2.9

As always, we welcome feedback on GitHub, on Gitter, on Stack Overflow, and on Twitter.

To get started with Maven with a BOM (dependency management only):

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2021.0.6</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>

or with Gradle:

plugins {
  id 'java'
  id 'org.springframework.boot' version '2.7.9'
  id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '8'

repositories {
  mavenCentral()
}

ext {
  set('springCloudVersion', "2021.0.6")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  //...
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all