What’s New in Spring Cloud 2021.0.6? Key Updates and Dependency Guide
Spring Cloud 2021.0.6, built on Spring Framework 5.x and Spring Boot 2.7, introduces the latest stable release with Java 8 minimum, updated dependency management, enhancements across Commons, Netflix, Gateway, Kubernetes, OpenFeign, Stream, and Function modules, plus a Maven Central artifact and code snippet.
Spring Cloud 2021 is built on Spring Framework 5.x and Spring Boot 2.7 and requires at least Java 8.
The current most stable version, 2021.0.6, has been officially released and is available on Maven Central.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>Spring Cloud Commons
Added a utility method to use user‑provided region configuration for load‑balancing preferences.
Spring Cloud Netflix
Allows configuring the timeout for fetching instances.
Spring Cloud Gateway
Fixed a memory leak in CacheRequestBodyGatewayFilter.
Spring Cloud Kubernetes
Uses SSL protocol when the secured annotation is true.
Spring Cloud OpenFeign
Allows configuring request timeout for Apache HttpClient.
Spring Cloud Stream
Enhanced custom Routing Functions to prevent creation of output bindings, integrated core bean propagation between parent/child contexts in multi‑binder scenarios, and fixed several bugs.
Spring Cloud Function
Multiple improvements and bug fixes for AWS Lambda support.
Version 2021.0.6 updates the following Spring Cloud modules:
https://github.com/pig-mesh/pig Based on Spring Cloud 2021, Spring Boot 2.7, and Spring Authorization Server OAuth2, this microservice rapid‑development platform supports the new version. Feel free to follow.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
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.
