转载

Spring Cloud Finchley SR4 正式发布

Spring Cloud Finchley 的 Service Release 4 (SR4) 版本 已发 布,本次更新主要是对其包含的一些模块进行了升级,查看 发布说明 以了解更多信息,可从  Maven 中央仓库 获取源码。Spring Cloud Finchley 基于 Spring Boot 2.0.x 而构建。

已升级的模块

MODULE VERSION ISSUES
Spring Cloud Commons 2.0.4.RELEASE ( issues )
Spring Cloud Openfeign 2.0.4.RELEASE
Spring Cloud Dependencies Finchley.SR4
Spring Cloud Release Finchley.SR4
Spring Cloud Starter Finchley.SR4
Spring Cloud Stream Elmhurst.SR3
Spring Cloud Cloudfoundry 2.0.2.RELEASE
Spring Cloud Task 2.0.2.RELEASE
Spring Cloud Build 2.0.6.RELEASE
Spring Cloud Vault 2.0.4.RELEASE ( issues )
Spring Cloud Zookeeper 2.0.2.RELEASE
Spring Cloud Config 2.0.5.RELEASE ( issues )
Spring Cloud Aws 2.0.3.RELEASE
Spring Cloud Bus 2.0.2.RELEASE
Spring Cloud Finchley.SR4
Spring Cloud Security 2.0.2.RELEASE
Spring Cloud Gateway 2.0.4.RELEASE ( issues )
Spring Cloud Netflix 2.0.4.RELEASE ( issues )
Spring Cloud Sleuth 2.0.4.RELEASE ( issues )
Spring Cloud Consul 2.0.3.RELEASE ( issues )
Spring Cloud Contract 2.0.4.RELEASE ( issues )
Spring Cloud Function 1.0.2.RELEASE

其他详细更新内容 请查看发布公告 ,主要是各模块的 bug 修复。

使用

通过附带有 BOM 的 Maven 开始使用:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Finchley.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:Finchley.SR4'
    }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}
原文  https://www.oschina.net/news/107466/spring-cloud-finchley-sr4-released
正文到此结束
Loading...