Spring Cloud 2022.0.0 Release Candidate 2 (codename Kilburn) Has Been Released

Releases | Ryan Baxter | November 18, 2022 | ...

On behalf of the community, I am pleased to announce that the Release Candidate 2 (RC2) 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 Release Train

Click here to see all issues in this release.

Spring Cloud 2022.0.0-RC2 requires Spring Boot 3.0.0-RC2.

All Spring Cloud projects are now using Apache HttpClient v5.

Spring Cloud Contract

This release contains a lot of changes including dependency upgrades and some breaking ones. Please check them out and give us feedback!

Breaking changes:

You can read more about the migration process over here.

Spring Cloud OpenFeign

  • Removed usage of Spring Cloud Commons HttpClient interfaces (#788)
  • Apache HttpClient 4 has been removed in favour of Apache HttpClient 5 (#783)
  • Upgraded to Feign 12.0 (#782)

Spring Cloud Commons

  • Removed Interfaces relying on Apache HttpClient v4. Removed OK HttpClient interfaces as they were only used by Spring Cloud OpenFeign. Spring Cloud OpenFeign now uses the OK HttpClient directly (#1171)

  • Deprecated classes and interfaces have been removed. See breaking changes in the Spring Cloud 2022 Release Notes

Spring Cloud Gateway

Added native image support

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

Module Version Issues
Spring Cloud Task 3.0.0-RC2 (issues)
Spring Cloud Bus 4.0.0-RC2
Spring Cloud Contract 4.0.0-RC2 (issues)
Spring Cloud Circuitbreaker 3.0.0-RC2
Spring Cloud Function 4.0.0-RC2
Spring Cloud Openfeign 4.0.0-RC2 (issues)
Spring Cloud Zookeeper 4.0.0-RC2
Spring Cloud Commons 4.0.0-RC2 (issues)
Spring Cloud Vault 4.0.0-RC2
Spring Cloud Kubernetes 3.0.0-RC2 (issues)
Spring Cloud Stream 4.0.0-RC2
Spring Cloud Starter Build 2022.0.0-RC2
Spring Cloud Consul 4.0.0-RC2 (issues)
Spring Cloud Config 4.0.0-RC2 (issues)
Spring Cloud Build 4.0.0-RC2
Spring Cloud Gateway 4.0.0-RC2 (issues)
Spring Cloud Netflix 4.0.0-RC2 (issues)

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-RC2</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 'java'
  id 'org.springframework.boot' version '3.0.0-RC2'
  id 'io.spring.dependency-management' version '1.1.0'
}

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

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

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation '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