Spring Cloud Finchley.SR1 现已发布

版本发布 | Ryan Baxter | 2018年8月1日 | ...

我谨代表社区,很高兴地宣布 Spring Cloud Finchley 发布火车 SR1(服务版本)已于今日发布。您可以在 Maven Central 找到此版本。您可以查看 Finchley 发行说明以获取更多信息

Spring Cloud Gateway

  • Bug 修复。其中涉及空消息体和无 Content-Type 的情况值得关注。
  • 支持 CORS 配置 #229
  • 响应超时配置 #371
  • Cloud Foundry 路由服务的自动配置和 DSL 支持 #294
  • 在某些情况下,提供更好的错误消息和错误日志记录。

Spring Cloud Sleuth

Spring Cloud Config

Spring Cloud Netflix

Spring Cloud Commons

Spring Cloud Contract

修复了基于 YAML 的契约解析顺序。现在将首先读取您的自定义解析器。

Spring Cloud Stream

Spring Cloud Vault

Spring Cloud Openfeign

Spring Cloud Consul

  • 为配置 Consul 客户端 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

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

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'
    ...
}

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

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

查看所有