领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,很高兴地宣布 Spring Cloud Finchley 发布火车 SR1(服务版本)已于今日发布。您可以在 Maven Central 找到此版本。您可以查看 Finchley 发行说明以获取更多信息。
修复了基于 YAML 的契约解析顺序。现在将首先读取您的自定义解析器。
TLSConfig #360 添加了支持作为 Finchley.SR1 的一部分,以下模块已更新
| 模块 | 版本 |
|---|---|
| Spring Cloud Consul | 2.0.1.RELEASE |
| Spring Cloud Gateway | 2.0.1.RELEASE |
| Spring Cloud Sleuth | 2.0.1.RELEASE |
| Spring Cloud Config | 2.0.1.RELEASE |
| Spring Cloud Netflix | 2.0.1.RELEASE |
| Spring Cloud Commons | 2.0.1.RELEASE |
| Spring Cloud Contract | 2.0.1.RELEASE |
| Spring Cloud Stream | Elmhurst.SR1 |
| Spring Cloud Vault | 2.0.1.RELEASE |
| Spring Cloud Openfeign | 2.0.1.RELEASE |
一如既往,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR1</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.5.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Finchley.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}