What’s New in Spring Cloud 2022.0.4? Key Changes and Upgrade Guide
Spring Cloud 2022.0.4, built on Spring Boot 3.0.9, introduces module version updates, deprecations, and configuration changes—including discontinued components, migration to Micrometer Tracing, OpenFeign enhancements, and a detailed dependencyManagement snippet—for developers upgrading their microservice platforms.
Upgrade Log
Spring Cloud 2022.0.4 RELEASE is now available on Maven Central. See the 2022.0.4 release notes for more information.
<code><dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.4</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></code>Important Changes in 2022.0.4 Release Train
This version is built on Spring Boot 3.0.9.
Spring Cloud CLI
Maintenance discontinued
Spring Cloud Cloudfoundry
Maintenance discontinued
Spring Cloud Sleuth
Maintenance discontinued. Core functionality moved to the Micrometer Tracing project; related tools are now part of Micrometer and individual projects.
Spring Cloud Commons
Added retry‑aware load‑balancing support for ServiceInstanceListSupplier delegate (1221).
Removed LoadBalancer auto‑configuration due to AsyncRestTemplate removal in Spring Framework 6.
Migrated token relay to the new Spring Security OAuth2.
spring.config.use-legacy-processing=true is no longer enabled; use spring.cloud.bootstrap.enabled=true instead.
Spring Cloud OpenFeign
LoadBalancer ResponseData now uses
org.springframework.http.HttpStatusCode.
OAuth2 support moved to Spring Security OAuth2 client.
feign.autoconfiguration.jackson.enableddefaults to true.
decode404 property renamed to
dismiss404to align with upstream Feign changes.
Support for Apache HttpClient 4 removed; Apache HttpClient 5 is recommended.
Property prefix
spring.cloud.openfeign.metricschanged to
spring.cloud.openfeign.micrometer.
Property prefix for Spring Cloud OpenFeign changed from
feignto
spring.cloud.openfeign.
Spring Cloud Netflix
Unnecessary
@EnableEurekaClientannotation removed.
Deprecated
RestTemplateDiscoveryClientOptionalArgsconstructor removed.
Default @FeignClient attribute resolution switched; to revert to lazy resolution set
spring.cloud.openfeign.lazy-attributes-resolution=true.
Backend source code: https://github.com/pig-mesh/pig/tree/jdk17-dev
Frontend source code: https://github.com/pig-mesh/pig-ui/tree/jdk17-dev
Deployment documentation: https://wiki.pig4cloud.com
Modules updated as part of 2022.0.4:
Spring Cloud Zookeeper – 4.0.1
Spring Cloud Kubernetes – 3.0.4
Spring Cloud Function – 4.0.5
Spring Cloud Commons – 4.0.4
Spring Cloud CircuitBreaker – 3.0.3
Spring Cloud OpenFeign – 4.0.4
Spring Cloud Gateway – 4.0.7
Spring Cloud Stream – 4.0.4
Spring Cloud Consul – 4.0.3
Spring Cloud Build – 4.0.5
Spring Cloud Config – 4.0.4
Spring Cloud Contract – 4.0.4
Spring Cloud Starter Build – 2022.0.4
Spring Cloud Netflix – 4.0.3
Java Architecture Diary
Committed to sharing original, high‑quality technical articles; no fluff or promotional content.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.