close

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

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

Click here to see all issues in this release.

Spring Cloud 2022.0.0-RC3 requires Spring Boot 3.0.0.

Spring Cloud Contract

  • Removes Gradle’s support for src/test/resources/contracts checking (#1848)

Check the latest migration guide entry for more information.

Spring Cloud Gateway

  • Added the possibility to disable global CORS configuration (#2779)

Spring Cloud OpenFeign

Spring Cloud Commons

  • Switched to lazily initializing child contexts in AOT mode (#1176)

Spring Cloud Kubernetes

  • Filter service discovery by namespace ((#1000)[https://github.com/spring-cloud/spring-cloud-kubernetes/issues/1000])

Spring Cloud Config

  • Spring Vault upgraded to 3.0.0 (2193)

Spring Cloud Vault

  • Spring Vault upgraded to 3.0.0 (665)

Spring Cloud Stream

  • The test binder in Spring Cloud Stream moved to a separate artifact from the core Spring Cloud Stream module. Before this release, the test binder was part of the core module, and users used it using the test-binder classifier, which was inconvenient. With this release, the test binder is now moved and available through spring-cloud-stream-test-binder module. You can add it as a dependency in your application and get all the previous test binder components.

  • Improved error handling docs in core Spring Cloud Stream

  • Spring Cloud Stream Schema Registry AVRO-based converters are updated to AVRO 1.11.1

  • Starting from this release, the AWS Kinesis binder is no longer part of the Spring Cloud Stream release train and will be released separately.

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

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

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-RC3</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'
  id 'io.spring.dependency-management' version '1.1.0'
}

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

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


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