Backend Development 6 min read

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.

Java Architecture Diary
Java Architecture Diary
Java Architecture Diary
What’s New in Spring Cloud 2022.0.4? Key Changes and Upgrade Guide

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>&lt;dependencyManagement&gt;
    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
            &lt;artifactId&gt;spring-cloud-dependencies&lt;/artifactId&gt;
            &lt;version&gt;2022.0.4&lt;/version&gt;
            &lt;type&gt;pom&lt;/type&gt;
            &lt;scope&gt;import&lt;/scope&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
&lt;/dependencyManagement&gt;

&lt;dependencies&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
        &lt;artifactId&gt;spring-cloud-starter-config&lt;/artifactId&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
        &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
        &lt;artifactId&gt;spring-cloud-starter-netflix-eureka-client&lt;/artifactId&gt;
    &lt;/dependency&gt;
    ...
&lt;/dependencies&gt;</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.enabled

defaults to true.

decode404 property renamed to

dismiss404

to align with upstream Feign changes.

Support for Apache HttpClient 4 removed; Apache HttpClient 5 is recommended.

Property prefix

spring.cloud.openfeign.metrics

changed to

spring.cloud.openfeign.micrometer

.

Property prefix for Spring Cloud OpenFeign changed from

feign

to

spring.cloud.openfeign

.

Spring Cloud Netflix

Unnecessary

@EnableEurekaClient

annotation removed.

Deprecated

RestTemplateDiscoveryClientOptionalArgs

constructor 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

Javacloud-nativemicroservicesbackend developmentSpring CloudSpring Boot 3
Java Architecture Diary
Written by

Java Architecture Diary

Committed to sharing original, high‑quality technical articles; no fluff or promotional content.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.