What’s New in Spring Cloud 2021.0.5? Key Module Updates and Migration Guide
Spring Cloud 2021.0.5 release adds Azure Timer Trigger support, enhances AWS function invoker, aligns Config repository behavior, enables LoadBalancer RequestData, and introduces Spring Security OAuth2 for OpenFeign, while updating dozens of modules and providing Maven and Gradle BOM usage instructions.
Spring Cloud 2021.0.5 introduces several new features and enhancements across its modules.
Spring Cloud Function
Added Azure Timer Trigger support in spring-cloud-function-azure.
Enhanced AWS Function invoker in spring-cloud-function-aws for easier programmatic function injection.
Spring Cloud Config
Aligned Jdbc Repository behavior with Git Repository (#2171).
Spring Cloud Commons
Allowed LoadBalancer to set RequestData property (#1142).
Spring Cloud OpenFeign
Added support for Spring Security OAuth2 (#644).
The following modules have been updated compared to 2021.0.4:
Spring Cloud Netflix – 3.1.4
Spring Cloud Config – 3.1.5
Spring Cloud Build – 3.1.5
Spring Cloud Sleuth – 3.1.5
Spring Cloud Gateway – 3.1.4
Spring Cloud Starter Build – 2021.0.5
Spring Cloud Consul – 3.1.2
Spring Cloud Contract – 3.1.5
Spring Cloud Kubernetes – 2.1.5
Spring Cloud Zookeeper – 3.1.3
Spring Cloud Task – 2.4.5
Spring Cloud OpenFeign – 3.1.5
Spring Cloud Circuitbreaker – 2.1.5
Spring Cloud Stream – 3.2.6
Spring Cloud Commons – 3.1.5
Spring Cloud Function – 3.2.8
Maven projects can start using the BOM (dependency management only) as follows:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.5</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 using Gradle:
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2021.0.5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}PIG, a microservice RBAC permission management system based on Spring Boot 2.7, Spring Cloud 2021 & Alibaba, SAS OAuth2, has been upgraded to Spring Cloud 2021.0.5. Download: https://gitee.com/log4j/pig/tree/dev
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.
