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

Releases | Glenn Renfro | January 27, 2022 | ...

On behalf of the community, I am pleased to announce that the Milestone 1 (M1) 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 the project page for all the issues and pull requests included in this release.

The 2022.0.0-M1 release is all about compatibility with Spring Framework 6.0.0-M2, Spring Boot 3.0.0-M1, Java 17, Jakarta EE, and all the other milestones of Spring projects such as Spring Security, Spring Data, etc...

Changes include: moving to a Java 17 baseline, migrating from javax.* packages to jakarta.*, changes for removed classes and methods marked for deprecation, updating dependencies to versions compatible with JakartaEE and/or Java 17, Spring Cloud Cloudfoundry and CLI have been removed from the release train, and many more.

Please see the wiki for a running list of breaking changes.

Spring Cloud Commons

  • The OAuth integration has been migrated from the deprecated Spring Security OAuth to OAuth2 support in Spring Security (1053)

Spring Cloud Kubernetes

Removed the use of @ConditionalOnKubernetesEnabled in favor of @ConditionalOnCloudPlatform from Spring Boot (893)

Spring Cloud Task

Spring Cloud Task 3.0.0-M1 is intended to be the version of the framework aligned with Spring Boot 3.0.0-M1.

Spring Cloud Contract

Is not a part of the 2022.0.0-M1 release of Spring Cloud. It will be a part of the M2 release.

Spring Cloud Netflix

Is not a part of the 2022.0.0-M1 release of Spring Cloud. It will be a part of a future release once Eureka is compatible with JakartaEE.

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

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-M1</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.1'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'

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

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

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}"
  }
}

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