Spring Cloud 2022.0.0-M2 (codename Kilburn) Has Been Released

Releases | Marcin Grzejszczak | April 05, 2022 | ...

On behalf of the community, I am pleased to announce that the Milestone 2 (M2) of the Spring Cloud 2022.0.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-M2 Release Train

See the project page for all the issues and pull requests included in this release.

Spring Cloud 2022.0.0-M2 is compatible with Spring Boot 3.0.0-M2.

Spring Cloud Stream

  • Both Kafka and RabbitMQ binders for Spring Cloud Stream have been migrated as part of the core Spring Cloud Stream repository. With this change, Spring Cloud Stream now follows a mono-repo approach where all the framework-related codebase for Spring Cloud Stream is now part of a single repository. See more details here for the Kafka binder and here for the RabbitMQ binder. We recommend filing new feature requests and bug reports for Kafka and RabbitMQ binders in the core repository.
  • Introduced initial support for a new reactive Kafka binder based on Reactor Kafka. This support contains consumer and producer bindings using Reactor Kafka behind the scenes. See this issue for more details.
  • Also, given we've been relying on the new test binder for 3+ years now we have also removed the old test modules

Spring Cloud Config

  • Try multiple URLs when error response code received (#1845)
  • Allow specification of down health status (#2056)

Spring Cloud Kubernetes

  • Refactor configmaps and secrets implementation (#917)

Spring Cloud Contract

Spring Cloud Gateway

  • Add route predicate for "X-Forwarded-For" header (#2384)

Spring Cloud Function

  • Support for adding multiple routers
  • Support for case-insensitive header key evaluation
  • cve-2022-22963

Spring Cloud Commons

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

Module Version Issues
Spring Cloud Stream 4.0.0-M2
Spring Cloud Config 4.0.0-M2 (issues)
Spring Cloud Build 4.0.0-M2
Spring Cloud Kubernetes 3.0.0-M2 (issues)
Spring Cloud Circuitbreaker 3.0.0-M2 (issues)
Spring Cloud Contract 4.0.0-M2 (issues)
Spring Cloud Consul 4.0.0-M2
Spring Cloud Gateway 4.0.0-M2 (issues)
Spring Cloud Starter Build 2022.0.0-M2
Spring Cloud Function 4.0.0-M2
Spring Cloud Vault 4.0.0-M2
Spring Cloud Bus 4.0.0-M2
Spring Cloud Zookeeper 4.0.0-M2
Spring Cloud Task 3.0.0-M2 (issues)
Spring Cloud Commons 4.0.0-M2 (issues)
Spring Cloud Openfeign 4.0.0-M2 (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-M2</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:

buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}

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

apply plugin: "io.spring.dependency-management"

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2022.0.0-M2'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime 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