Skip to content

Spring Cloud 2022.0 Release Notes

spring-builds edited this page Nov 21, 2024 · 46 revisions

Breaking Changes

  • Spring Cloud CLI
    • This project has been removed from the release train.
  • Spring Cloud Cloudfoundry
    • This project has been removed from the release train.
  • Spring Cloud Commons
    • AsyncRestTemplate has been removed in Spring Framework 6, therefore auto-configuration for LoadBalancer has been removed.
    • Migrated to new Spring Security OAuth 2 for Token Relay.
    • spring.config.use-legacy-processing=true no longer enables bootstrap because of changes in Spring Boot 3.0. Please use spring.cloud.bootstrap.enabled=true.
    • LoadBalancer ResponseData now uses org.springframework.http.HttpStatusCode.
    • Deprecated constructors have been removed from ReactorLoadBalancerExchangeFilterFunction, RetryableLoadBalancerExchangeFilterFunction, RetryLoadBalancerInterceptor, BlockingLoadBalancerClient, HealthCheckServiceInstanceListSupplier, HintBasedServiceInstanceListSupplier, LoadBalancerServiceInstanceCookieTransformer, RequestBasedStickySessionServiceInstanceListSupplier, LoadBalancerClientFactory. There are newer constructors in place that the users will need to migrate to.
    • The way the scheme is being resolved for service instances has been changed #1168. The users can now override the getScheme() method to provide their own implementation and might need to do so to maintain compatibility.
    • Removed @EnableCircuitBreaker as it was only used by Hystrix in Spring Cloud Netflix which is no longer supported
    • Remove @SpringCloudApplication annotation. @EnableDiscoveryClient and @EnableCircuitBreaker are no longer needed.
    • Removed classes and interfaces under org.springframework.commons.httpclient #1171
  • Spring Cloud Contract
  • Spring Cloud Sleuth
    • This project has been removed from the release train. The core of this project has moved to Micrometer Tracing project and the instrumentations will be moved to Micrometer and all respective projects (no longer all instrumentations will be done in a single repository.
  • Spring Cloud Kubernetes
    • In versions prior to 3.0.0-M1, Kubernetes awareness was implemented using spring.cloud.kubernetes.enabled property. This property was removed and is un-supported. Instead, we use Spring Boot API: ConditionalOnCloudPlatform. If it is needed to explicitly enable or disable this awareness, use spring.main.cloud-platform=NONE/KUBERNETES.
  • Spring Cloud OpenFeign
    • LoadBalancer ResponseData now uses org.springframework.http.HttpStatusCode.
    • OAuth2 support has been migrated to Spring Security OAuth2 client.
    • feign.autoconfiguration.jackson.enabled is now set to true by default.
    • In keeping with the changes in the upstream Feign project, decode404 property and decode404 segments in method signatures have been changed to dismiss404.
    • Deprecated constructors and methods have been removed.
    • In keeping with the changes in Spring Framework, support for Apache HttpClient 4 has been removed. Apache HttpClient 5 is the recommended replacement and its support has been available for some time now.
    • spring.cloud.openfeign.metrics property prefix has been changed to spring.cloud.openfeign.micrometer.
    • The property prefix for Spring Cloud OpenFeign has changed from feign to spring.cloud.openfeign.
  • Spring Cloud Netflix
    • Removed unnecessary @EnableEurekaClient annotation
    • Removed deprecated RestTemplateDiscoveryClientOptionalArgs#RestTemplateDiscoveryClientOptionalArgs() constructor
    • Switched to default eager @FeignClient attribute resolution. If you would like to go back to lazy attributes resolution (for example, for tests with Spring Cloud Contract integration), set spring.cloud.openfeign.lazy-attributes-resolution to true.

2022.0.9

2024-11-21

  • Spring Cloud Contract 4.0.9 (issues)
  • Spring Cloud Netflix 4.0.7 (issues)
  • Spring Cloud Starter Build 2022.0.9 (issues)
  • Spring Cloud Build 4.0.10 (issues)
  • Spring Cloud Openfeign 4.0.8 (issues)

2022.0.8

2024-09-09

  • Spring Cloud Bus 4.0.4 (issues)
  • Spring Cloud Contract 4.0.8 (issues)
  • Spring Cloud Gateway 4.0.11 (issues)
  • Spring Cloud Zookeeper 4.0.3 (issues)
  • Spring Cloud Build 4.0.9 (issues)
  • Spring Cloud Config 4.0.8 (issues)
  • Spring Cloud Task 3.0.5 (issues)
  • Spring Cloud Function 4.0.9 (issues)
  • Spring Cloud Kubernetes 3.0.6 (issues)
  • Spring Cloud Openfeign 4.0.7 (issues)
  • Spring Cloud Stream 4.0.6 (issues)
  • Spring Cloud Vault 4.0.5 (issues)
  • Spring Cloud Commons 4.0.6 (issues)
  • Spring Cloud Circuitbreaker 3.0.5 (issues)
  • Spring Cloud Starter Build 2022.0.8 (issues)
  • Spring Cloud Netflix 4.0.6 (issues)
  • Spring Cloud Consul 4.0.5 (issues)

2022.0.7

2024-05-29

  • Spring Cloud Starter Build 2022.0.7 (issues)
  • Spring Cloud Build 4.0.8 (issues)
  • Spring Cloud Config 4.0.7 (issues)
  • Spring Cloud Vault 4.0.4 (issues)

2022.0.6-SNAPSHOT

2024-02-23

  • Spring Cloud Netflix 4.0.5-SNAPSHOT (issues)
  • Spring Cloud Function 4.0.7-SNAPSHOT (issues)
  • Spring Cloud Gateway 4.0.10-SNAPSHOT (issues)
  • Spring Cloud Kubernetes 3.0.6-SNAPSHOT (issues)
  • Spring Cloud Commons 4.0.6-SNAPSHOT (issues)
  • Spring Cloud Contract 4.0.6-SNAPSHOT (issues)
  • Spring Cloud Config 4.0.6-SNAPSHOT (issues)
  • Spring Cloud Bus 4.0.4-SNAPSHOT (issues)
  • Spring Cloud Stream 4.0.6-SNAPSHOT (issues)
  • Spring Cloud Openfeign 4.0.7-SNAPSHOT (issues)
  • Spring Cloud Zookeeper 4.0.3-SNAPSHOT (issues)
  • Spring Cloud Build 4.0.7-SNAPSHOT (issues)
  • Spring Cloud Task 3.0.5-SNAPSHOT (issues)
  • Spring Cloud Consul 4.0.5-SNAPSHOT (issues)
  • Spring Cloud Vault 4.0.3-SNAPSHOT (issues)
  • Spring Cloud Circuitbreaker 3.0.5-SNAPSHOT (issues)
  • Spring Cloud Starter Build 2022.0.6-SNAPSHOT (issues)

2022.0.5

2024-01-26

  • Spring Cloud Vault 4.0.2 (issues)
  • Spring Cloud Bus 4.0.3 (issues)
  • Spring Cloud Zookeeper 4.0.2 (issues)
  • Spring Cloud Openfeign 4.0.6 (issues)
  • Spring Cloud Commons 4.0.5 (issues)
  • Spring Cloud Task 3.0.4 (issues)
  • Spring Cloud Kubernetes 3.0.5 (issues)
  • Spring Cloud Function 4.0.6 (issues)
  • Spring Cloud Circuitbreaker 3.0.4 (issues)
  • Spring Cloud Netflix 4.0.4 (issues)
  • Spring Cloud Starter Build 2022.0.5 (issues)
  • Spring Cloud Stream 4.0.5 (issues)
  • Spring Cloud Gateway 4.0.9 (issues)
  • Spring Cloud Build 4.0.6 (issues)
  • Spring Cloud Config 4.0.5 (issues)
  • Spring Cloud Consul 4.0.4 (issues)
  • Spring Cloud Contract 4.0.5 (issues)

2022.0.3

2023-05-25

See all issues and pull requests for this release here.

  • Spring Cloud Kubernetes 3.0.3 (issues)
  • Spring Cloud Task 3.0.3
  • Spring Cloud Function 4.0.3
  • Spring Cloud Commons 4.0.3 (issues)
  • Spring Cloud Circuitbreaker 3.0.2
  • Spring Cloud Openfeign 4.0.3 (issues)
  • Spring Cloud Gateway 4.0.6 (issues)
  • Spring Cloud Stream 4.0.3
  • Spring Cloud Contract 4.0.3 (issues)
  • Spring Cloud Config 4.0.3 (issues)
  • Spring Cloud Build 4.0.3
  • Spring Cloud Starter Build 2022.0.3
  • Spring Cloud Netflix 4.0.2 (issues)

2022.0.2

2023-03-28

All issues/PRs

  • 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
  • Spring Cloud Starter Build 2022.0.2

2022.0.1

2023-01-25

  • Spring Cloud Function 4.0.1 (issues)
  • Spring Cloud Task 3.0.1 (issues)
  • Spring Cloud Kubernetes 3.0.1 (issues)
  • Spring Cloud Openfeign 4.0.1
  • Spring Cloud Bus 4.0.1
  • Spring Cloud Stream 4.0.1 (issues)
  • Spring Cloud Commons 4.0.1 (issues)
  • Spring Cloud Contract 4.0.1 (issues)
  • Spring Cloud Netflix 4.0.0 (issues)
  • Spring Cloud Consul 4.0.1 (issues)
  • Spring Cloud Config 4.0.1
  • Spring Cloud Build 4.0.1
  • Spring Cloud Starter Build 2022.0.1
  • Spring Cloud Gateway 4.0.1 (issues)

2022.0.0

2022-12-16

  • Spring Cloud Vault 4.0.0 (issues)
  • Spring Cloud Kubernetes 3.0.0 (issues)
  • Spring Cloud Function 4.0.0
  • Spring Cloud Zookeeper 4.0.0
  • Spring Cloud Circuitbreaker 3.0.0 (issues)
  • Spring Cloud Task 3.0.0
  • Spring Cloud Bus 4.0.0
  • Spring Cloud Stream 4.0.0
  • Spring Cloud Openfeign 4.0.0 (issues)
  • Spring Cloud Commons 4.0.0 (issues)
  • Spring Cloud Contract 4.0.0
  • Spring Cloud Starter Build 2022.0.0
  • Spring Cloud Netflix 4.0.0 (issues)
  • Spring Cloud Consul 4.0.0
  • Spring Cloud Config 4.0.0 (issues)
  • Spring Cloud Build 4.0.0
  • Spring Cloud Gateway 4.0.0 (issues)

2022.0.0-RC3

2022-12-01

  • Spring Cloud Task 3.0.0-RC3 (issues)
  • Spring Cloud Contract 4.0.0-RC3 (issues)
  • Spring Cloud Kubernetes 3.0.0-RC3 (issues)
  • Spring Cloud Bus 4.0.0-RC3
  • Spring Cloud Function 4.0.0-RC3
  • Spring Cloud Circuitbreaker 3.0.0-RC3
  • Spring Cloud Zookeeper 4.0.0-RC3
  • Spring Cloud Commons 4.0.0-RC3 (issues)
  • Spring Cloud Vault 4.0.0-RC3 (issues)
  • Spring Cloud Openfeign 4.0.0-RC3 (issues)
  • Spring Cloud Stream 4.0.0-RC3
  • Spring Cloud Starter Build 2022.0.0-RC3
  • Spring Cloud Consul 4.0.0-RC3
  • Spring Cloud Config 4.0.0-RC3 (issues)
  • Spring Cloud Build 4.0.0-RC3
  • Spring Cloud Gateway 4.0.0-RC3 (issues)
  • Spring Cloud Netflix 4.0.0-RC3

2022.0.0-RC2

All issues

2022-11-17

  • Spring Cloud Task 3.0.0-RC2 (issues)
  • Spring Cloud Bus 4.0.0-RC2
  • Spring Cloud Contract 4.0.0-RC2 (issues)
  • Spring Cloud Circuitbreaker 3.0.0-RC2
  • Spring Cloud Function 4.0.0-RC2
  • Spring Cloud Openfeign 4.0.0-RC2 (issues)
  • Spring Cloud Zookeeper 4.0.0-RC2
  • Spring Cloud Commons 4.0.0-RC2 (issues)
  • Spring Cloud Vault 4.0.0-RC2
  • Spring Cloud Kubernetes 3.0.0-RC2 (issues)
  • Spring Cloud Stream 4.0.0-RC2
  • Spring Cloud Starter Build 2022.0.0-RC2
  • Spring Cloud Consul 4.0.0-RC2 (issues)
  • Spring Cloud Config 4.0.0-RC2 (issues)
  • Spring Cloud Build 4.0.0-RC2
  • Spring Cloud Gateway 4.0.0-RC2 (issues)
  • Spring Cloud Netflix 4.0.0-RC2 (issues)

2022.0.0-RC1

2022-10-28

  • Spring Cloud Bus 4.0.0-RC1
  • Spring Cloud Contract 4.0.0-RC1
  • Spring Cloud Function 4.0.0-RC1
  • Spring Cloud Vault 4.0.0-RC1
  • Spring Cloud Circuitbreaker 3.0.0-RC1
  • Spring Cloud Openfeign 4.0.0-RC1 (issues)
  • Spring Cloud Zookeeper 4.0.0-RC1
  • Spring Cloud Commons 4.0.0-RC1 (issues)
  • Spring Cloud Kubernetes 3.0.0-RC1 (issues)
  • Spring Cloud Task 3.0.0-RC1 (issues)
  • Spring Cloud Netflix 4.0.0-RC1 (issues)
  • Spring Cloud Stream 4.0.0-RC1
  • Spring Cloud Consul 4.0.0-RC1
  • Spring Cloud Starter Build 2022.0.0-RC1
  • Spring Cloud Gateway 4.0.0-RC1 (issues)
  • Spring Cloud Config 4.0.0-RC1 (issues)
  • Spring Cloud Build 4.0.0-RC1

2022.0.0-M5

2022-10-06

NOTE: To use Eureka in this milestone, you will need to add the Netflix Candidates repository.

<repository>
       <id>netflix-candidates</id>
       <name>Netflix Candidates</name>
       <url>https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates</url> 
       <snapshots>
	    <enabled>false</enabled>
       </snapshots>
</repository>
  • Spring Cloud Stream 4.0.0-M5
  • Spring Cloud Config 4.0.0-M5 (issues)
  • Spring Cloud Build 4.0.0-M5 (issues)
  • Spring Cloud Consul 4.0.0-M5 (issues)
  • Spring Cloud Gateway 4.0.0-M5 (issues)
  • Spring Cloud Kubernetes 3.0.0-M5 (issues)
  • Spring Cloud Netflix 4.0.0-M1 (issues)
  • Spring Cloud Starter Build 2022.0.0-M5
  • Spring Cloud Circuitbreaker 3.0.0-M5 (issues)
  • Spring Cloud Contract 4.0.0-M5 (issues)
  • Spring Cloud Bus 4.0.0-M5 (issues)
  • Spring Cloud Function 4.0.0-M5
  • Spring Cloud Task 3.0.0-M5 (issues)
  • Spring Cloud Zookeeper 4.0.0-M5 (issues)
  • Spring Cloud Openfeign 4.0.0-M5 (issues)
  • Spring Cloud Vault 4.0.0-M5 (issues)
  • Spring Cloud Commons 4.0.0-M5 (issues)

2022.0.0-M4

2022-07-29

  • Spring Cloud Stream 4.0.0-M4
  • Spring Cloud Config 4.0.0-M4 (issues)
  • Spring Cloud Build 4.0.0-M4
  • Spring Cloud Consul 4.0.0-M4 (issues)
  • Spring Cloud Kubernetes 3.0.0-M4 (issues)
  • Spring Cloud Gateway 4.0.0-M4
  • Spring Cloud Starter Build 2022.0.0-M4
  • Spring Cloud Circuitbreaker 3.0.0-M4
  • Spring Cloud Contract 4.0.0-M4 (issues)
  • Spring Cloud Bus 4.0.0-M4
  • Spring Cloud Function 4.0.0-M4
  • Spring Cloud Task 3.0.0-M4 (issues)
  • Spring Cloud Zookeeper 4.0.0-M4
  • Spring Cloud Openfeign 4.0.0-M4
  • Spring Cloud Vault 4.0.0-M4 (issues)
  • Spring Cloud Commons 4.0.0-M4 (issues)

2022.0.0-M3

2022-06-15

  • 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)

2022.0.0-M2

All issues

2022-04-01

  • Spring Cloud Stream 4.0.0-M2
  • Spring Cloud Config 4.0.0-M2 (issues)
  • Spring Cloud Build 4.0.0-M2
  • Spring Cloud Kubernetes 3.0.0-M2 (issues)
  • Spring Cloud Circuitbreaker 3.0.0-M2 (issues)
  • Spring Cloud Contract 4.0.0-M2 (issues)
  • Spring Cloud Consul 4.0.0-M2
  • Spring Cloud Gateway 4.0.0-M2 (issues)
  • Spring Cloud Starter Build 2022.0.0-M2
  • Spring Cloud Function 4.0.0-M2
  • Spring Cloud Vault 4.0.0-M2
  • Spring Cloud Bus 4.0.0-M2
  • Spring Cloud Zookeeper 4.0.0-M2
  • Spring Cloud Task 3.0.0-M2 (issues)
  • Spring Cloud Commons 4.0.0-M2 (issues)
  • Spring Cloud Openfeign 4.0.0-M2 (issues)

2022.0.0-M1

All issues

2022-01-27

  • Spring Cloud Vault 4.0.0-M1
  • Spring Cloud Config 4.0.0-M1
  • Spring Cloud Zookeeper 4.0.0-M1
  • Spring Cloud Commons 4.0.0-M1 (issues)
  • Spring Cloud Kubernetes 3.0.0-M1 (issues)
  • Spring Cloud Task 3.0.0-M1 (issues)
  • Spring Cloud Starter Build 2022.0.0-M1
  • Spring Cloud Circuitbreaker 3.0.0-M1
  • Spring Cloud Bus 4.0.0-M1
  • Spring Cloud Consul 4.0.0-M1 (issues)
  • Spring Cloud Gateway 4.0.0-M1
  • Spring Cloud Openfeign 4.0.0-M1