Spring Cloud Greenwich.SR2 版本已發布。

發布 | Spencer Gibb | 2019 年 6 月 27 日 | ...

我謹代表社群宣布 Spring Cloud Greenwich Release Train 的 Service Release 2 (SR2) 版本今天已發布。您可以在 Maven Central 找到此版本。您可以查看 Greenwich 的 發布說明 以取得更多資訊。

Greenwich Release Train 中的重要變更

所有專案都已更新,以配合 Spring 的 nohttp 作業。

Spring Cloud Gateway

透過 ReactorReactor Netty 包含許多更新和修正。當啟用 Retry 或使用 Read Body Predicate 時,Gateway 也能有效率地快取請求正文。

Spring Cloud Config

允許在嵌入式模式下執行 Config Server 時使用 Vault。

Spring Cloud Openfeign

新增對 Spring HATEOAS Resources 的支援。

Spring Cloud Kubernetes

新增對包含基於作用中配置文件的 ConfigMaps 的支援。

Spring Cloud Contract

Gradle 外掛程式現在已發布到 Gradle 外掛程式入口網站。


以下模組已在 Greenwich.SR2 中更新

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Task | 2.1.2.RELEASE |   | Spring Cloud Config | 2.1.3.RELEASE | (問題) | Spring Cloud Stream | Fishtown.SR3 | (問題) | Spring Cloud Sleuth | 2.1.2.RELEASE | (問題) | Spring Cloud Commons | 2.1.2.RELEASE | (問題) | Spring Cloud Openfeign | 2.1.2.RELEASE | (問題) | Spring Cloud Kubernetes | 1.0.2.RELEASE | (問題) | Spring Cloud Aws | 2.1.2.RELEASE |   | Spring Cloud Vault | 2.1.2.RELEASE |   | Spring Cloud Function | 2.0.2.RELEASE | (問題) | Spring Cloud Bus | 2.1.2.RELEASE | (問題) | Spring Cloud Build | 2.1.6.RELEASE |   | Spring Cloud Zookeeper | 2.1.2.RELEASE |   | Spring Cloud Gcp | 1.1.2.RELEASE |   | Spring Cloud Contract | 2.1.2.RELEASE | (問題) | Spring Cloud Consul | 2.1.2.RELEASE | (問題) | Spring Cloud Security | 2.1.3.RELEASE |   | Spring Cloud Gateway | 2.1.2.RELEASE | (問題) | Spring Cloud Cloudfoundry | 2.1.2.RELEASE |   | Spring Cloud Netflix | 2.1.2.RELEASE | (問題)

一如既往,我們歡迎您在 GitHubGitterStack OverflowTwitter 上提供意見反應。

開始使用 Maven 和 BOM(僅依賴管理)

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Greenwich.SR2</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.8.RELEASE"
    }
}



apply plugin: "io.spring.dependency-management"

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.SR2'
    }
}

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

查看全部