Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the community, I am pleased to announce that the General Availability (RELEASE) of the Spring Cloud 2022.0.2 Release Train is available today. The release can be found in Maven Central. You can check out the 2022.0.2 release notes for more information.
See all issues and pull requests included in this release here.
DiscoveryClient
(#1243)ServiceInstance
(#1254)Add support for DLQ in batch mode Bug Fixes and enhancements
CONSUL_TOKEN
wasn't read when using spring.config.import=consul:
(738)agentCheckPass
(770)The following modules were updated as part of 2022.0.2:
Module | Version | Issues |
---|---|---|
Spring Cloud Vault | 4.0.1 | (issues) |
Spring Cloud Circuitbreaker | 3.0.1 | |
Spring Cloud Kubernetes | 3.0.2 | (issues) |
Spring Cloud Task | 3.0.2 | (issues) |
Spring Cloud Function | 4.0.2 | (issues) |
Spring Cloud Commons | 4.0.2 | (issues) |
Spring Cloud Openfeign | 4.0.2 | (issues) |
Spring Cloud Stream | 4.0.2 | |
Spring Cloud Consul | 4.0.2 | (issues) |
Spring Cloud Contract | 4.0.2 | (issues) |
Spring Cloud Gateway | 4.0.4 | (issues) |
Spring Cloud Config | 4.0.2 | (issues) |
Spring Cloud Netflix | 4.0.1 | (issues) |
Spring Cloud Build | 4.0.2 |
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):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.2</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.0.5'
id 'io.spring.dependency-management' version '1.1.0'
}
ext {
set('springCloudVersion', "2022.0.2")
}
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}"
}
}