Spring Cloud 2022.0.0-M5 is now available

Releases | Spencer Gibb | October 06, 2022 | ...

On behalf of the community, I am pleased to announce that the Milestone 5 (M5) 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.0 release notes for more information.

Notable Changes in the 2022.00-M5 Release Train

Spring Cloud Netflix

  • Updated to Eureka 2.0.0-rc.3. Eureka 2.0.0 is a new branch of Eureka unrelated to the old 2.x-archive experiment from 7 years ago. The new 2.x branch is for compatibility with JakartaEE. This allows Spring Cloud Netflix to be compatible with Spring Framework 6.0 and Spring Boot 3.0. This is the first milestone that Spring Cloud Netflix has participated in the 2022.0 release train.

Spring Cloud Consul

  • Added runtime hints to enable native image support (#792)

Spring Cloud Gateway

  • Support for Micrometer Observability (#2715)
  • New filter to remove JSON attributes (#2742)
  • New filter to add request headers if not present (#2737)

Spring Cloud OpenFeign

  • Allow customising load-balanced requests based on the selected ServiceInstance (#735)

Spring Cloud Commons

  • Added Weight-based load-balancing (#1063)
  • Added support for LoadBalancer child contexts in AOT and native image support (#1135)

Spring Cloud Config

  • Added runtime hints to enable native support (#2174)

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

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

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

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