Spring Cloud Edgware.SR5 已发布

发布 | Ryan Baxter | 2018 年 10 月 17 日 | ...

我代表社区,很高兴宣布 Spring Cloud Edgware Release Train 的 Service Release 5 (SR5) 已于今日发布。您可以在 Maven Central 找到该版本。您还可以查看 Edgware 的发布说明以获取更多信息

Edgware Release Train 的显著变化

Spring Cloud Commons

Spring Cloud Config

Spring Cloud Contract

通过 #707,我们有了一个测试监听器,它处理关闭和启动 WireMock 服务器的问题。由于此更改,如果您想为存根重用相同的端口,则不再需要在测试中设置 @DirtiesContext

Spring Cloud Sleuth

通过 #1077,我们增加了对单 header B3 传播的支持。

Spring Cloud Netflix

Spring Cloud Vault

Spring Cloud Consul

以下模块已作为 Edgware.SR5 的一部分进行了更新

模块 版本
Spring Cloud AWS 1.2.3.RELEASE
Spring Cloud Contract 1.2.6.RELEASE
Spring Cloud Consul 1.3.5.RELEASE
Spring Cloud Zookeeper 1.2.2.RELEASE
Spring Cloud Sleuth 1.3.5.RELEASE
Spring Cloud Config 1.4.5.RELEASE
Spring Cloud Netflix 1.4.6.RELEASE
Spring Cloud Commons 1.3.5.RELEASE
Spring Cloud Bus 1.3.4.RELEASE
Spring Cloud Security 1.2.3.RELEASE
Spring Cloud Cloudfoundry 1.1.2.RELEASE
Spring Cloud Function 1.0.1.RELEASE
Spring Cloud Vault 1.1.2.RELEASE
Spring Cloud Gateway 1.0.2.RELEASE

一如既往,欢迎在 GitHubGitterStack OverflowTwitter 上提供反馈。

使用 Maven 和 BOM(仅用于依赖管理)入门


<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Edgware.SR5</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.2.RELEASE"
    }
}



apply plugin: "io.spring.dependency-management"

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR5'
    }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}

订阅 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速发展。

了解更多

获取支持

Tanzu Spring 通过一个简单的订阅提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看全部