Spring Cloud 2020.0.4 has been released

Releases | Olga Maciaszek-Sharma | September 23, 2021 | ...

On behalf of the community, I am pleased to announce that the 2020.0.4 release of Spring Cloud is available today. The release can be found in Maven Central. You can check out the 2020.0 release notes for more information.

See all issues included in this release here.

This was primarily a bug fix and documentation release. 2020.0.4 is compatible with Spring Boot 2.4.x and 2.5.x.

Notable Changes in the 2020.0.4 release

Spring Cloud Commons

  • Allow passing group while creating reactive circuit breaker (#994 )

Spring Cloud Config

  • Return Boolean and Integer Properties when using JDBC backend ( #1952 )
  • Provide the git username/password at run time(dynamically) ( #1896 )

Spring Cloud Contract

  • Add explicit dependency to generateContractTests task for processContractTestResources ( #1665 )
  • WireMock upgraded to 2.31.0 ( #1715 )

Spring Cloud OpenFeign

  • Allow to change a circuitbreaker name (#574)

Spring Cloud Netflix

  • Do not register Eureka config server bootstrap when Eureka is disabled (#4000)
  • Dependency upgrades (#4025)

Spring Cloud Sleuth

  • Simplify ON_EACH reactor instrumentation (#1969)

Spring Cloud Kubernetes

  • Choose namespace in a consistent fashion across fabric8 and k8s-native clients (#859)

The following modules were updated as part of 2020.0.4:

Module Version Issues
Spring Cloud Starter Build 3.0.4
Spring Cloud Netflix 3.0.4 (issues)
Spring Cloud Openfeign 3.0.4 (issues)
Spring Cloud Gateway 3.0.4 (issues)
Spring Cloud Commons 3.0.4 (issues)
Spring Cloud Config 3.0.5 (issues)
Spring Cloud Consul 3.0.4 (issues)
Spring Cloud Contract 3.0.4 (issues)
Spring Cloud Kubernetes 2.0.4 (issues)
Spring Cloud Sleuth 3.0.4 (issues)
Spring Cloud Vault 3.0.4 (issues)
Spring Cloud Zookeeper 3.0.4
Spring Cloud CircuitBreaker 2.0.2
Spring Cloud Stream 3.1.4
Spring Cloud Function 3.1.4

As always, we welcome feedback on GitHub, on Stack Overflow, or 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>2020.0.4</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:

buildscript {
  dependencies {
    classpath "io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE"
  }
}

apply plugin: "io.spring.dependency-management"

dependencyManagement {
  imports {
    mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2020.0.4'
  }
}

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

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