Spring Cloud Finchley.SR3 现已可用

发布 | Ryan Baxter | 2019 年 2 月 26 日 | ...

我很高兴代表社区宣布,Spring Cloud Finchley Release Train 的 Service Release 3 (SR3) 今天发布了。您可以在 Maven Central 中找到该版本。您还可以查看 Finchley 的版本说明以获取更多信息

Finchley Release Train 的显著变化

Spring Cloud Config

  • Spring Cloud Config 服务器现在在请求前会遵循 if-modified-since 标头

检索数据并在响应中返回 last-modified 标头

Spring Cloud Stream

*Elmhurst.SR2 版本

Spring Cloud Sleuth

Spring Cloud Zookeeper

Spring Cloud Aws

Spring Cloud Task

Spring Cloud Commons

Spring Cloud OpenFeign

Spring Cloud Vault

  • 依赖项升级
  • 文档改进
  • 问题

Spring Cloud Bus

Spring Cloud Contract

Spring Cloud Consul

  • spring.cloud.discovery.enabled=false 现在与 spring.cloud.consul.discovery.enabled=false 的行为相同
  • 问题

Spring Cloud Gateway

  • 当 Ribbon 不在 classpath 中时,更好的错误处理
  • HTTP 和 Websocket 请求路由的性能改进
  • 使用修改请求体过滤器时的性能改进
  • 问题

Spring Cloud Netflix

  • HystrixConcurrencyStrategy 现在可以使用 HystrixPlugins#getConcurrencyStrategy 设置
  • spring.cloud.discovery.enabled=false 现在与 eureka.client.enabled=false 的行为相同
  • 问题

以下模块已作为 Finchley.SR3 的一部分进行更新

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Config | 2.0.3.RELEASE | (问题) | Spring Cloud Function | 1.0.0.RELEASE | (问题) | Spring Cloud Stream | Elmhurst.SR2 |   | Spring Cloud Sleuth | 2.0.3.RELEASE | (问题) | Spring Cloud Cloudfoundry | 2.0.1.RELEASE | (问题) | Spring Cloud Zookeeper | 2.0.1.RELEASE | (问题) | Spring Cloud Aws | 2.0.2.RELEASE | (问题) | Spring Cloud Task | 2.0.1.RELEASE |   | Spring Cloud Commons | 2.0.3.RELEASE | (问题) | Spring Cloud Openfeign | 2.0.3.RELEASE | (问题) | Spring Cloud Vault | 2.0.3.RELEASE | (问题) | Spring Cloud Security | 2.0.1.RELEASE |   | Spring Cloud Bus | 2.0.1.RELEASE | (问题) | Spring Cloud Contract | 2.0.3.RELEASE | (问题) | Spring Cloud Consul | 2.0.2.RELEASE | (问题) | Spring Cloud Gateway | 2.0.3.RELEASE | (问题) | Spring Cloud Dependencies | Finchley.SR3 |   | Spring Cloud Netflix | 2.0.3.RELEASE | (问题)

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

使用 BOM (仅依赖管理) 通过 Maven 入门


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

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 社区所有即将举行的活动。

查看全部