Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the community, I am pleased to announce that the Release Candidate 1 (RC1) of the Spring Cloud 2021.0 Release Train, codename Jubilee, is available today. The release can be found in Spring Milestone repository. You can check out the 2021.0 release notes for more information.
RC1 is compatible with Spring Boot 2.6.0-RC1
See the project page for all the issues and pull requests included in this release.
X-Forwarded-*
headers when using load-balanced RestTemplate
. (issue)spring.cloud.kubernetes.enabled=false
. (issue)@Cachable
of Feign clients. (issue)The following modules were updated as part of 2021.0.0-RC1:
Module | Version | Issues |
---|---|---|
Spring Cloud Vault | 3.1.0-RC1 | |
Spring Cloud Bus | 3.1.0-RC1 | |
Spring Cloud Cli | 3.1.0-RC1 | |
Spring Cloud Zookeeper | 3.1.0-RC1 | |
Spring Cloud Circuitbreaker | 2.1.0-RC1 | |
Spring Cloud Commons | 3.1.0-RC1 | (issues) |
Spring Cloud Kubernetes | 2.1.0-RC1 | (issues) |
Spring Cloud Openfeign | 3.1.0-RC1 | (issues) |
Spring Cloud Task | 2.4.0-RC1 | (issues) |
Spring Cloud Sleuth | 3.1.0-RC1 | (issues) |
Spring Cloud Contract | 3.1.0-RC1 | (issues) |
Spring Cloud Consul | 3.1.0-RC1 | |
Spring Cloud Gateway | 3.1.0-RC1 | (issues) |
Spring Cloud Config | 3.1.0-RC1 | (issues) |
Spring Cloud Cloudfoundry | 3.1.0-RC1 | |
Spring Cloud Starter Build | 2021.0.0-RC1 | |
Spring Cloud Netflix | 3.1.0-RC1 |
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):
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.0-RC1</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.0-RC1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', "2021.0.0-RC1")
}
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}"
}
}