Spring Cloud Greenwich.RC2 现已发布

版本发布 | Ryan Baxter | 2018 年 12 月 21 日 | ...

我很高兴代表社区宣布,Spring Cloud Greenwich 发布序列的第二个候选版本 (RC2) 今日已发布。该版本可在 Spring Milestone 仓库中找到。您可以查看 Greenwich 的发布说明以获取更多信息

Greenwich 发布序列中的值得关注的变化

要查看此版本中所有项目的完整问题列表,请参阅 GitHub 上的项目页面

Spring Cloud Contract

  • 增加了对二进制负载的支持 (GH-818)

Spring Cloud Security

  • 增加了 Spring Cloud Gateway Filter 以支持 OAuth2 (GH-141)。一个演示其用法的示例应用可在 这里 找到。

Spring Cloud Kubernetes

  • 增加了一个模块来检测 Istio 的存在 (GH-233)

Spring Cloud OpenFeign

  • 升级到 OpenFeign 10.1.0 (GH-85)

Spring Cloud Task

博客文章

Spring Cloud Config

  • 增加了 EnvironmentRepository 以支持 CredHub 后端 (GH-1211)

以下模块已作为 Greenwich.RC2 的一部分更新:

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud Security | 2.1.0.RC3 | (问题) | Spring Cloud Vault | 2.1.0.RC1 |   | Spring Cloud Contract | 2.1.0.RC3 | (问题) | Spring Cloud Kubernetes | 1.0.0.RC2 | (问题) | Spring Cloud Commons | 2.1.0.RC2 |   | Spring Cloud Zookeeper | 2.1.0.RC2 |   | Spring Cloud Openfeign | 2.1.0.RC3 | (问题) | Spring Cloud Aws | 2.1.0.RC1 |   | Spring Cloud Starter | Greenwich.RC2 |   | Spring Cloud Bus | 2.1.0.RC3 |   | Spring Cloud Sleuth | 2.1.0.RC3 | (问题) | Spring Cloud Netflix | 2.1.0.RC3 | (问题) | Spring Cloud Stream | Fishtown.RC4 | (问题) | Spring Cloud Gcp | 1.1.0.RC2 |   | Spring Cloud Cloudfoundry | 2.1.0.RC2 |   | Spring Cloud Build | 2.1.0.RC3 | (问题) | Spring Cloud Dependencies | Greenwich.RC2 |   | Spring Cloud Task | 2.1.0.M2 |   | Spring Cloud Release | Greenwich.RC2 |   | Spring Cloud Function | 2.0.0.RC3 | (问题) | Spring Cloud | Greenwich.RC2 |   | Spring Cloud Consul | 2.1.0.RC3 | (问题) | Spring Cloud Config | 2.1.0.RC3 | (问题) | Spring Cloud Gateway | 2.1.0.RC3 | (问题)

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

使用 Maven 配置 BOM(仅用于依赖管理)开始

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>http://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Greenwich.RC2</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"
    }
}

repositories {
    maven {
        url 'http://repo.spring.io/milestone'
    }
}

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

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

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 社区的所有近期活动。

查看全部