Spring Cloud Greenwich.SR2 published , is available in the Maven Central. Updates are as follows:
Spring Cloud Gateway
Reactor and Reactor Netty contains many updates and fixes. When the retry is enabled or Read Body Predicate, Gateway can efficiently cache requests the body.
Spring Cloud Config
Vault allowed Config Server running in insert mode.
Spring Cloud Openfeign
Adding support for Spring HATEOAS resources.
Spring Cloud Contract
Gradle plugin is now available.
The following modules have been updated as part of Greenwich.SR2:
MODULE | VERSION | ISSUES |
---|---|---|
Spring Cloud Task | 2.1.2.RELEASE | |
Spring Cloud Config | 2.1.3.RELEASE | (issues) |
Spring Cloud Stream | Fishtown.SR3 | (issues) |
Spring Cloud Sleuth | 2.1.2.RELEASE | (issues) |
Spring Cloud Commons | 2.1.2.RELEASE | (issues) |
Spring Cloud Openfeign | 2.1.2.RELEASE | (issues) |
Spring Cloud Kubernetes | 1.0.2.RELEASE | (issues) |
Spring Cloud Aws | 2.1.2.RELEASE | |
Spring Cloud Vault | 2.1.2.RELEASE | |
Spring Cloud Function | 2.0.2.RELEASE | (issues) |
Spring Cloud Bus | 2.1.2.RELEASE | (issues) |
Spring Cloud Build | 2.1.6.RELEASE | |
Spring Cloud Zookeeper | 2.1.2.RELEASE | |
Spring Cloud Gcp | 1.1.2.RELEASE | |
Spring Cloud Contract | 2.1.2.RELEASE | (issues) |
Spring Cloud Consul | 2.1.2.RELEASE | (issues) |
Spring Cloud Security | 2.1.3.RELEASE | |
Spring Cloud Gateway | 2.1.2.RELEASE | (issues) |
Spring Cloud Cloudfoundry | 2.1.2.RELEASE | |
Spring Cloud Netflix | 2.1.2.RELEASE | (issues) |
use
By Maven comes with a BOM started:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR2</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>
Gradle
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.SR2'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}