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 Milestone 3 (M3) of the Spring Cloud 2021 Release Train is available today. The release can be found in Spring Milestone repository. You can check out the 2021 release notes for more information.
Milestone 3 is compatible with Spring Boot 2.6.0-M3.
See the project page for all the issues and pull requests included in this release.
Initial documentation is available here. Samples, more documentation and separate blog post are coming as well.
Added an EnvironmentRepsitory
for Config Maps and Secrets to support supplying configuration data from Kubernetes resources using Spring Cloud Config Server. An image is now available for the Spring Cloud Config Server containing this new EnvrionmentRepository
implementation is now available on DockerHub. Documentation for using this new feature is provided here. #881
Added a new Kubernetes DiscoveryClient
implementation which takes advantage of a new Kubernetes Discovery Sever. #886
The following modules were updated as part of 2021.0.0-M3:
Module | Version | Issues |
---|---|---|
Spring Cloud Zookeeper | 3.1.0-M3 | |
Spring Cloud Cli | 3.1.0-M3 | |
Spring Cloud Consul | 3.1.0-M3 | |
Spring Cloud Bus | 3.1.0-M3 | |
Spring Cloud Gateway | 3.1.0-M3 | (issues) |
Spring Cloud Starter Build | 2021.0.0-M3 | |
Spring Cloud Vault | 3.1.0-M3 | |
Spring Cloud Cloudfoundry | 3.1.0-M3 | |
Spring Cloud Commons | 3.1.0-M3 | |
Spring Cloud Openfeign | 3.1.0-M3 | |
Spring Cloud Task | 2.4.0-M3 | (issues) |
Spring Cloud Config | 3.1.0-M3 | |
Spring Cloud Sleuth | 3.1.0-M3 | (issues) |
Spring Cloud Netflix | 3.1.0-M3 | (issues) |
Spring Cloud Kubernetes | 2.1.0-M3 | (issues) |
Spring Cloud Circuitbreaker | 2.1.0-M3 | |
Spring Cloud Contract | 3.1.0-M3 | (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):
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.0-M3</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.2.RELEASE"
}
}
repositories {
maven {
url 'https://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2021.0.0-M3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}