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

添加了对包含基于活动配置文件的 ConfigMap 的支持。

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

查看所有