Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the community, I am pleased to announce that the GA release of the Spring Cloud 2020.0 Release Train is available today. The release can be found in Maven Central. You can check out the 2020.0 release notes for more information.
This release requires Spring Boot 2.4.1. In general, this release was to fix bugs prior to release.
See this page for a list of Known Issues.
See the wiki for a list of all breaking changes in this release train.
See all of the included issues and pull requests at the Github project.
NOTE: Bootstrap has been disabled by default. The new way of importing configuration is via the new spring.config.import
functionality provided by Spring Boot 2.4. Please see the appropriate documentation for Config Client, Consul, Vault, and Zookeeper for details on how to use them with the new config import.
If you require the legacy bootstrap functionality add the org.springframework.cloud:spring-cloud-starter-bootstrap
dependency to your project.
spring.config.import
was added (issue)Documented how to clone the project on windows.
RestTemplate
based Eureka Client (PR)The following modules were updated as part of 2020.0.0:
| Module | Version | Issues
|--- |--- |--- |---
| Spring Cloud Circuitbreaker | 2.0.0 |
| Spring Cloud Contract | 3.0.0 |
| Spring Cloud Kubernetes | 2.0.0 |
| Spring Cloud Commons | 3.0.0 |
| Spring Cloud Openfeign | 3.0.0 |
| Spring Cloud Cloudfoundry | 3.0.0 |
| Spring Cloud Bus | 3.0.0 |
| Spring Cloud Cli | 3.0.0 |
| Spring Cloud Zookeeper | 3.0.0 |
| Spring Cloud Sleuth | 3.0.0 |
| Spring Cloud Consul | 3.0.0 |
| Spring Cloud Starter Build | 2020.0.0 |
| Spring Cloud Gateway | 3.0.0 |
| Spring Cloud Netflix | 3.0.0 |
| Spring Cloud Vault | 3.0.0 |
| Spring Cloud Config | 3.0.0 |
| Spring Cloud Task | 2.3.0 | (issues)
As always, we welcome feedback on GitHub, on Gitter, on Stack Overflow, or on Twitter.
To get started with Maven with a BOM (dependency management only):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.0</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 with Gradle:
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.10.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2020.0.0'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}