Spring Cloud 2022.0.0-M3 (codename Kilburn) Has Been Released
On behalf of the community, I am pleased to announce that the Milestone 3 (M3) 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.0.0 Release Train
See the project page for all the issues and pull requests included in this release.
Spring Cloud 2022.0.0-M3 is compatible with Spring Boot 3.0.0-M3.
Spring Cloud Stream
- Enhanced support for Kafka “tombstone” records via recently added support for BiFunction/BiConsumer
- Added support for function-based error-handling, thus no longer requiring annotations
Spring Cloud Kubernetes
- Load Config Maps and Secrets using
spring.config.import
removing the need to use Bootstrap context (1002) - Secrets and Config Maps support prefixes (765)
Spring Cloud Circuitbreaker
- Add support for disabling threadpools when running Resilient4J circuitbreakers (147)
Spring Cloud Contract
- Bumps Rest Assured to 5.1.0
- Removed reference to Spring Cloud Function Compiler
Spring Cloud Function
- Support for BiFunction and BiConsumer as parsed Message functions
- Support for filtering out ineligible functions
- Observability module
Spring Cloud Task
- Added support for observations of ApplicationRunner and CommandLineRunner
Spring Cloud Commons
- Adds registration lifecycle listeners (999https://github.com/spring-cloud/spring-cloud-commons/issues/999)
- Request data context for blocking LoadBalancer client requests has been made available to lifecycle callbacks (1090)
The following modules were updated as part of 2022.0.0-M3:
Module | Version | Issues |
---|---|---|
Spring Cloud Stream | 4.0.0-M3 | |
Spring Cloud Config | 4.0.0-M3 | (issues) |
Spring Cloud Build | 4.0.0-M3 | |
Spring Cloud Starter Build | 2022.0.0-M3 | |
Spring Cloud Kubernetes | 3.0.0-M3 | (issues) |
Spring Cloud Circuitbreaker | 3.0.0-M3 | (issues) |
Spring Cloud Contract | 4.0.0-M3 | (issues) |
Spring Cloud Consul | 4.0.0-M3 | |
Spring Cloud Gateway | 4.0.0-M3 | |
Spring Cloud Function | 4.0.0-M3 | |
Spring Cloud Vault | 4.0.0-M3 | (issues) |
Spring Cloud Bus | 4.0.0-M3 | (issues) |
Spring Cloud Zookeeper | 4.0.0-M3 | |
Spring Cloud Task | 3.0.0-M3 | (issues) |
Spring Cloud Openfeign | 4.0.0-M3 | |
Spring Cloud Commons | 4.0.0-M3 | (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-M3</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-M3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}