Spring Cloud Edgware.SR4 已发布

发布 | Ryan Baxter | 2018 年 7 月 2 日 | ...

我代表社区宣布,Spring Cloud Edgware 发布列车的 Service Release 4 (SR4) 已于今日发布。您可以在 Maven Central 中找到该版本。您也可以查看 Edgware 版本说明获取更多信息

Edgware 发布列车的显著变化

spring-boot-autoconfigure-processor

  • 所有项目都有一个新的可选依赖项 spring-boot-autoconfigure-processor。请参阅 Spring Cloud Commons 问题 #377

Spring Cloud Commons

Spring Cloud AWS

Spring Cloud Config

  • 添加了为 ssh git 仓库连接配置代理主机和端口的功能
  • 添加了 GIT 仓库的刷新频率
  • 错误修复

Spring Cloud Contract

  • 使 stub-runner fat jar 可执行(你可以执行 ./stub-runner.jar
  • 为 Contract DSL 添加了 Cookie 支持
  • 将 WireMock 升级到 2.16.0
  • 添加了对 XML 和 Rest Docs 的基本支持
  • 错误修复

Spring Cloud Sleuth

Spring Cloud Task

Spring Cloud Netflix

  • Servo 现在默认禁用
  • 在 TurbineStream 中添加了对 cluster 查询参数的支持
  • 错误修复

Spring Cloud Vault

Spring Cloud Function

  • 第一个包含 Spring Cloud Function 的 Edgware 版本

作为 Edgware.SR4 的一部分,以下模块已更新

模块 版本
Spring Cloud AWS 1.2.3.RELEASE
Spring Cloud Contract 1.2.5.RELEASE
Spring Cloud Consul 1.3.4.RELEASE
Spring Cloud Zookeeper 1.2.2.RELEASE
Spring Cloud Sleuth 1.3.4.RELEASE
Spring Cloud Config 1.4.4.RELEASE
Spring Cloud Netflix 1.4.5.RELEASE
Spring Cloud Commons 1.3.4.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.0.RELEASE
Spring Cloud Vault 1.1.1.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.SR4</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.SR4'
    }
}

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 社区的所有近期活动。

查看全部