Spring Cloud 2023.0.0-M2 (aka Leyton) has been released

Releases | Olga Maciaszek-Sharma | September 29, 2023 | ...

On behalf of the community, I am pleased to announce that the Milestone 2 (M2) of the Spring Cloud 2023.0 Release Train is available today. The release can be found in Spring Milestone repository. You can check out the 2023.0 release notes for more information.

Notable Changes in the 2023.0.0-M2 Release Train

In this milestone, we have migrated the documentation of all the Spring Cloud projects to Antora.

See all issues and pull requests here.

Spring Cloud Commons

  • Refresh Scope on restart - a feature tailored to allow adapting to environment changes on JVM Checkpoint-Restart (PR 1266)

Spring Cloud Gateway

  • Specify clientRegistrationId in TokenRelay filter. (PR 2922) The gateway can be used to manage many ClientRegistrations, and each route can determine which client registration to use. This is incredibly useful in scenarios where there are (for example):
    • multiple authorization servers in use simultaneously.
    • multiple client authentication methods in use simultaneously.
    • some/all downstream services require a distinct clientId, aud claim, etc.
    • some/all downstream services require different token formats (e.g. JWT, opaque)

Spring Cloud OpenFeign

  • Upgraded to Feign 12.5 (PR_907)

Spring Cloud Task

  • Users now have the ability to query for task executions using the external execution id. (PR_863)

Spring Cloud Function

Spring Cloud Stream

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

Module Version Issues
Spring Cloud Consul 4.1.0-M2 (issues)
Spring Cloud Gateway 4.1.0-M2 (issues)
Spring Cloud Zookeeper 4.1.0-M2 (issues)
Spring Cloud Bus 4.1.0-M2 (issues)
Spring Cloud Stream 4.1.0-M2 (issues)
Spring Cloud Function 4.1.0-M2 (issues)
Spring Cloud OpenFeign 4.1.0-M2 (issues)
Spring Cloud Vault 4.1.0-M2 (issues)
Spring Cloud Commons 4.1.0-M2 (issues)
Spring Cloud Task 3.1.0-M2 (issues)
Spring Cloud Kubernetes 3.1.0-M2 (issues)
Spring Cloud Starter Build 2023.0.0-M2 (issues)
Spring Cloud Config 4.1.0-M2 (issues)
Spring Cloud Build 4.1.0-M2 (issues)
Spring Cloud Netflix 4.1.0-M2 (issues)
Spring Cloud CircuitBreaker 3.1.0-M2 (issues)
Spring Cloud Contract 4.1.0-M2 (issues)
Spring Cloud Task 3.1.0-M2 (issues)

As always, we welcome feedback on GitHub, 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>2023.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:

plugins {
  id 'java'
  id 'org.springframework.boot' version '3.2.0-M3'
  id 'io.spring.dependency-management' version '1.1.3'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'

java {
  sourceCompatibility = '17'
}

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

ext {
  set('springCloudVersion', "2023.0.0-M2")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

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