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 6 (M6) of the Spring Cloud Finchley Release Train is available today. The release can be found in the Spring Milestone repository. You can check out the Finchley release notes for more information.
Finchley.M6 is compatible with Spring Boot RC1. Many updates have been made for compatibility with RC1.
The internals of Spring Cloud Sleuth were rewritten to use Brave. Please see the Migration Guide for more information.
The performance of the gateway has improved dramatically. Fallback support has been added to the Hystrix filter. There is also an update to the Java Route DSL. To add filters, use the new filters()
method, as follows:
@Bean
public RouteLocator customRouteLocator(RouteLocatorBuilder builder, ThrottleGatewayFilterFactory throttle) {
return builder.routes()
.route(r -> r.host("**.abc.org").and().path("/image/png")
.filters(f ->
f.addResponseHeader("X-TestHeader", "foobar"))
.uri("http://httpbin.org:80")
)
.build();
}
The /hystrix.stream
endpoint is now available for Webflux applications.
Spring Cloud Cloudfoundry has been updated to use the latest Cloud Foundry Java client.
You can now define contracts in YAML. We also started publishing Docker images to allow easy polyglot support. Look for a blog post on this soon.
Micrometer support for CloudWatch metrics.
Reactive session support has been added.
The following modules were updated as part of Finchley.M6:
Module | Version |
---|---|
Spring Cloud Zookeeper | 2.0.0.M5 |
Spring Cloud Sleuth | 2.0.0.M6 |
Spring Cloud Consul | 2.0.0.M5 |
Spring Cloud Gateway | 2.0.0.M6 |
Spring Cloud Netflix | 2.0.0.M6 |
Spring Cloud Cloudfoundry | 2.0.0.M3 |
Spring Cloud Contract | 2.0.0.M6 |
Spring Cloud Security | 2.0.0.M1 |
Spring Cloud Stream | Elmhurst.M4 |
Spring Cloud Bus | 2.0.0.M5 |
Spring Cloud Config | 2.0.0.M6 |
Spring Cloud Aws | 2.0.0.M3 |
Spring Cloud Commons | 2.0.0.M6 |
Spring Cloud Vault | 2.0.0.M5 |
As always, we welcome feedback on GitHub, on Gitter, on Stack Overflow, and on Twitter.
To get started with Maven with a BOM (dependency management only), include the following:
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>http://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>Finchley.M6</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>
If you prefer Gradle, add the following:
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
repositories {
maven {
url 'http://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.M6'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}