What’s New in Spring Cloud Greenwich SR5? Release Highlights and Upgrade Guide
Spring Cloud Greenwich SR5, the final release of the Greenwich train based on Spring Boot 2.1.12, introduces bug fixes, minor enhancements, updated modules, and Maven/Gradle integration guidance, while recommending an upgrade to the Hoxton release for optimal cloud-native development.
Spring Cloud Greenwich Service Release 5 (SR5) is now available via Maven Central, bringing bug fixes, minor feature enhancements, and documentation updates. It is the final release of the Greenwich train and is based on Spring Boot 2.1.12, with an upgrade recommendation to Hoxton.
Spring Cloud Commons
To support merged list properties from YAML configuration, this version changes how each PropertySource is added to the environment individually rather than to a composite.
Updated Modules
Spring Cloud Build – 2.1.10.RELEASE
Spring Cloud Sleuth – 2.1.7.RELEASE
Spring Cloud Consul – 2.1.5.RELEASE
Spring Cloud Gateway – 2.1.5.RELEASE
Spring Cloud Contract – 2.1.5.RELEASE
Spring Cloud Netflix – 2.1.5.RELEASE
Spring Cloud Gcp – 1.1.5.RELEASE
Spring Cloud Config – 2.1.6.RELEASE
Spring Cloud Openfeign – 2.1.5.RELEASE
Spring Cloud Commons – 2.1.5.RELEASE
Spring Cloud Aws – 2.1.4.RELEASE
Spring Cloud Vault – 2.1.5.RELEASE
Spring Cloud Bus – 2.1.4.RELEASE
Spring Cloud Kubernetes – 1.0.5.RELEASE
Acquisition
Dependencies can be imported via Maven using the Spring Cloud BOM:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR5</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>For Gradle, apply the Spring Boot and dependency‑management plugins and add the starter dependencies:
plugins {
id 'org.springframework.boot' version '2.1.12.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
// ...
}Full release notes and download links are available at the Spring Cloud GitHub wiki.
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.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
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.
