Hear from the Spring team this January at SpringOne. >
close

Spring Cloud 2022.0.0-RC1 Is Available

On behalf of the community, I am pleased to announce that the Release Candidate 1 (RC1) of the Spring Cloud 2022.0 Release Train is available today. The release can be found in Spring Milestone repository. You can check out the 2022.0 release notes for more information.

Notable Changes in the 2022.0.0 Release Train

See all issues closed here.

Spring Cloud Function

  • Updates for Observability and Native Hints

Spring Cloud OpenFeign

  • Added support for target URL refreshing (#710)
  • Added support for LoadBalancer X-Forwarded Headers (#748)
  • Set Jackson Autoconfiguration to be enabled by default (#476)
  • Removed deprecations and adjusted to the API changes in Feign (#768)

Spring Cloud Commons

  • Support added for property-based configuration for weighted load-balancing (#1163)

Spring Cloud Netflix

  • Migrated Apache HttpClient to Apache HC5 HttpClient (#4126)

Spring Cloud Stream

  • Updates for Observability

Spring Cloud Gateway

Spring Cloud Config

The following modules were updated as part of 2022.0.0-RC1:

Module Version Issues
Spring Cloud Bus 4.0.0-RC1  
Spring Cloud Contract 4.0.0-RC1  
Spring Cloud Function 4.0.0-RC1  
Spring Cloud Vault 4.0.0-RC1  
Spring Cloud Circuitbreaker 3.0.0-RC1  
Spring Cloud Openfeign 4.0.0-RC1 (issues)
Spring Cloud Zookeeper 4.0.0-RC1  
Spring Cloud Commons 4.0.0-RC1 (issues)
Spring Cloud Kubernetes 3.0.0-RC1 (issues)
Spring Cloud Task 3.0.0-RC1 (issues)
Spring Cloud Netflix 4.0.0-RC1 (issues)
Spring Cloud Stream 4.0.0-RC1  
Spring Cloud Consul 4.0.0-RC1  
Spring Cloud Starter Build 2022.0.0-RC1  
Spring Cloud Gateway 4.0.0-RC1 (issues)
Spring Cloud Config 4.0.0-RC1 (issues)
Spring Cloud Build 4.0.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>2022.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 '3.0.0-RC1'
  id 'io.spring.dependency-management' version '1.1.0'
  id 'java'
}

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

repositories {
  mavenCentral()
  maven { url 'https://repo.spring.io/milestone' }
}

ext {
  set('springCloudVersion', "2022.0.0-RC1")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}
comments powered by Disqus