领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区很高兴地宣布,Spring Cloud Hoxton Release Train 的 Milestone 3 (M3) 今日发布。您可以在 Spring Milestone 仓库中找到该版本。您可以查看 Hoxton 的 发布说明以获取更多信息。
此里程碑版本兼容 Spring Boot 2.2.0.RC1。
我们欢迎 Spring Cloud Circuit Breaker 作为 Spring Cloud Release Train 的新项目。该项目提供了一个抽象 API,用于为您的应用程序添加断路器。在撰写此博文时,已有四种支持的实现:
有关更多信息,请参阅 介绍博文。
支持 AWS S3 的 Environment Repository。
为了支持 Spring 的 Reactive 堆栈,进行了许多改进。创建了一个 `ReactiveDiscoveryClient`。Spring Cloud Loadbalancer 也进行了更新,以使用这个新的 `ReactiveDiscoveryClient`。添加了一个新的 `spring-cloud-starter-loadbalancer`。
增加了对新的 `ReactiveDiscoveryClient` 的支持。
增加了对新的 `ReactiveDiscoveryClient` 的支持。
增加了对使用新的 `ReactiveLoadBalancer` 的支持。RSocket 支持已更新,以实现 RSocket 路由和转发规范扩展的功能。
当 Hoxton 发布时,Spring Cloud Gateway 中的 RSocket 支持将处于技术预览阶段,直到 RSocket 路由和转发规范扩展最终确定并且 RSocket Java 实现相应更新。
增加了对新的 `ReactiveDiscoveryClient` 和 Hystrix 的新的 Spring Cloud Circuit Breaker API 实现的支持。
增加了对新的 `ReactiveDiscoveryClient` 的支持。
增加了对 Spring Kafka 的支持。
OpenFeign 已更新至 10.4.0。
增加了对 AWS SQS、Spring Kafka 和 Quartz 的支持。
增加了对新的 `ReactiveDiscoveryClient` 和 Consul 的一致性模式的支持。
增加了对 PCF Authentication 和 `X-Vault-Namespace` 的支持。
作为 Hoxton.M3 的一部分,以下模块已更新:
| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.2.0.M3 | (issues) | Spring Cloud Cloudfoundry | 2.2.0.M3 | (issues) | Spring Cloud Cli | 2.2.0.M2 |
| Spring Cloud Zookeeper | 2.2.0.M3 |
| Spring Cloud Aws | 2.2.0.M3 | (issues) | Spring Cloud Gateway | 2.2.0.M3 | (issues) | Spring Cloud Netflix | 2.2.0.M3 | (issues) | Spring Cloud Kubernetes | 1.1.0.M3 | (issues) | Spring Cloud Task | 2.2.0.M2 | (issues) | Spring Cloud Commons | 2.2.0.M3 | (issues) | Spring Cloud Contract | 2.2.0.M3 | (issues) | Spring Cloud Openfeign | 2.2.0.M3 | (issues) | Spring Cloud Security | 2.2.0.M3 | (issues) | Spring Cloud Bus | 2.2.0.M3 | (issues) | Spring Cloud Stream | Horsham.M4 | (issues) | Spring Cloud Sleuth | 2.2.0.M3 | (issues) | Spring Cloud Circuitbreaker | 1.0.0.M1 |
| Spring Cloud Consul | 2.2.0.M3 | (issues) | Spring Cloud Vault | 2.2.0.M3 |
| Spring Cloud Gcp | 1.2.0.M3 |
| Spring Cloud Function | 3.0.0.M3 | (issues)
一如既往,我们欢迎您在 GitHub、Gitter、Stack Overflow 和 Twitter 上提供反馈。
以下列表显示了如何使用 Maven 和 BOM(仅依赖管理)开始:
<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>Hoxton.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>
以下列表显示了如何使用 Gradle 开始:
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.8.RELEASE"
}
}
repositories {
maven {
url 'https://repo.spring.io/milestone'
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.M3'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}