close

Spring Cloud 2021.0.3 is available. Compatible with Spring Boot 2.7.0

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

Notable Changes in the 2021.0.3 Release Train

This release is primarily for compatibility with Spring Boot 2.7.0 along with Spring Boot 2.6.x.

To see all the issues and pull requests in this release, please see here.

Spring Cloud Sleuth

  • Bug fixes and minor enhancements

Spring Cloud Contract

  • Bug fixes and JsonAssert upgrade

Spring Cloud Gateway

  • Bug fixes and path variable support for PrefixPath filter.

The following modules were updated as part of 2021.0.3:

Module Version Issues
Spring Cloud Stream 3.2.4  
Spring Cloud Config 3.1.3 (issues)
Spring Cloud Build 3.1.3 (issues)
Spring Cloud Sleuth 3.1.3 (issues)
Spring Cloud Contract 3.1.3 (issues)
Spring Cloud Starter Build 2021.0.3  
Spring Cloud Gateway 3.1.3 (issues)
Spring Cloud Consul 3.1.1  
Spring Cloud Netflix 3.1.3  
Spring Cloud Cloudfoundry 3.1.2  
Spring Cloud Vault 3.1.1  
Spring Cloud Kubernetes 2.1.3 (issues)
Spring Cloud Bus 3.1.2  
Spring Cloud Zookeeper 3.1.2  
Spring Cloud Task 2.4.3 (issues)
Spring Cloud Cli 3.1.1  
Spring Cloud Commons 3.1.3  
Spring Cloud Openfeign 3.1.3  
Spring Cloud Function 3.2.5  
Spring Cloud Circuitbreaker 2.1.3  

As always, we welcome feedback on GitHub, on Gitter, 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>2021.0.3</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 'org.springframework.boot' version '2.6.8'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}

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

repositories {
  mavenCentral()
}

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

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}"
  }
}
comments powered by Disqus