Spring Cloud 2021.0.0-RC1 (codename Jubilee) Has Been Released
On 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.
Notable Changes in the 2021.0 Release Train
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.
Spring Cloud Commons
- Adds support for per LoadBalancer client properties. (issue)
- Adds
X-Forwarded-*
headers when using load-balancedRestTemplate
. (issue)
Spring Cloud Kubernetes
- Adds support for disabling Discovery when
spring.cloud.kubernetes.enabled=false
. (issue) - Better failure handling when a ConfigMap can not be read. (issue)
- Adds support for fail-fast and retry for reading config. (issue)
Spring Cloud Openfeign
- Adds support for per LoadBalancer client properties. (issue)
- Adds support for
@Cachable
of Feign clients. (issue)
Spring Cloud Sleuth
- Adds support for per instrumenting Mongo’s reactive driver. (issue)
- Adds support for Spring Cloud Stream reactive. (issue)
Spring Cloud Contract
- Adds support for per LoadBalancer client properties. (issue)
Spring Cloud Gateway
- Adds support for per LoadBalancer client properties. (issue)
- Adds support for Route Predicate Visitor Pattern. (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}"
}
}