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

查看所有