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 不在類別路徑上時,提供更好的錯誤處理
  • 在 HTTP 和 Websocket 請求的路由方面,效能有所提升
  • 在使用修改請求本文篩選器時,效能有所提升
  • 問題

Spring Cloud Netflix

  • 現在可以使用 HystrixPlugins#getConcurrencyStrategy 設定 HystrixConcurrencyStrategy
  • spring.cloud.discovery.enabled=false 現在的行為與 eureka.client.enabled=false 相同
  • 問題

以下模組已更新為 Finchley.SR3 的一部分

| 模組 (Module) | 版本 (Version) | 問題 (Issues) |--- |--- |--- |--- | 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 上提供意見反應。

若要開始使用 Maven 搭配 BOM(僅限依賴管理)


<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 社群中所有即將到來的活動。

查看全部