Spring Cloud Greenwich.SR1 现已可用

版本发布 | Ryan Baxter | 2019 年 3 月 7 日 | ...

我代表社区很高兴宣布 Spring Cloud Greenwich 发行系列的服务版本 1 (SR1) 今天发布了。此版本可在 Maven Central 中找到。您可以查看 Greenwich 的发行说明以获取更多信息

Greenwich 发行系列中的显著变化

Spring Cloud Netflix

Spring Cloud Stream

  • Bug 修复

Spring Cloud Cloudfoundry

Spring Cloud Commons

Spring Cloud OpenFeign

  • 添加了 Spring Data 分页支持
  • 问题

Spring Cloud Task

  • Bug 修复

Spring Cloud Sleuth

Spring Cloud Aws

  • 日志记录和格式更改

Spring Cloud Zookeeper

  • 格式更改

Spring Cloud Bus

  • 格式更改

Spring Cloud Vault

Spring Cloud Kubernetes

  • 添加了领导者选举信息贡献者
  • 文档增强
  • 问题

Spring Cloud Contract

Spring Cloud Consul

Spring Cloud Gateway

Spring Cloud Function

Spring Cloud Config

Spring Cloud Security

  • 由于包含里程碑依赖项,Spring Cloud Security 2.1.1.RELEASE 在 Greenwich.RELEASE 和 Greenwich.SR1 之间发布
  • Spring Cloud Security 2.1.2.RELEASE 仅包含一些格式更改

作为 Greenwich.SR1 的一部分,以下模块已更新

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Netflix | 2.1.1.RELEASE | (问题) | Spring Cloud Stream | Fishtown.SR2 |   | Spring Cloud Gcp | 1.1.1.RELEASE |   | Spring Cloud Cloudfoundry | 2.1.1.RELEASE | (问题) | Spring Cloud Build | 2.1.3.RELEASE | (问题) | Spring Cloud Commons | 2.1.1.RELEASE | (问题) | Spring Cloud | Greenwich.SR1 |   | Spring Cloud OpenFeign | 2.1.1.RELEASE | (问题) | Spring Cloud Task | 2.1.1.RELEASE |   | Spring Cloud Sleuth | 2.1.1.RELEASE | (问题) | Spring Cloud Aws | 2.1.1.RELEASE |   | Spring Cloud Release | Greenwich.SR1 |   | Spring Cloud Zookeeper | 2.1.1.RELEASE |   | Spring Cloud Bus | 2.1.1.RELEASE | (问题) | Spring Cloud Vault | 2.1.1.RELEASE | (问题) | Spring Cloud Kubernetes | 1.0.1.RELEASE | (问题) | Spring Cloud Dependencies | Greenwich.SR1 |   | Spring Cloud Contract | 2.1.1.RELEASE | (问题) | Spring Cloud Consul | 2.1.1.RELEASE | (问题) | Spring Cloud Gateway | 2.1.1.RELEASE | (问题) | Spring Cloud Function | 2.0.1.RELEASE | (问题) | Spring Cloud Starter | Greenwich.SR1 |   | Spring Cloud Config | 2.1.1.RELEASE | (问题) | Spring Cloud Security | 2.1.2.RELEASE |  

一如既往,欢迎通过 GitHubGitterStack OverflowTwitter 提供反馈。

使用带有 BOM (仅依赖管理) 的 Maven 入门


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

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

查看全部