Spring Cloud Greenwich.M3 已发布

发布 | Spencer Gibb | 2018年11月21日 | ...

我谨代表社区,很高兴地宣布 Spring Cloud Greenwich Release Train 的 Milestone 3 (M3) 今天发布。您可以在 Spring Milestone 仓库中找到该版本。有关更多信息,请查看 Greenwich 版本说明

Greenwich Release Train 的主要变更

此里程碑与 Spring Boot 2.1.0.RELEASE 兼容。已进行更改以兼容 Java 11。有关更多信息,请参阅 Github 项目

Spring Cloud Bus

修复了与 Spring Cloud Stream 的兼容性问题。

Spring Cloud Commons

ServiceInstance 接口添加了 instanceId。还添加了一个使用 Reactor 的 ReactiveLoadBalancer 接口及其实现。

Spring Cloud Config

各种错误修复和小型增强。

Spring Cloud Contract

增加了对 WebTestClient 和 JUnit 5 扩展的支持。

Spring Cloud Consul

错误修复。

Spring Cloud Function

小型增强和错误修复。

Spring Cloud Gateway

添加了重写响应头过滤器和错误修复。

Spring Cloud Gcp

小型增强和错误修复。

Spring Cloud Kubernetes

ServiceInstance 元数据现在可以配置为来自 Kubernetes 标签、注释和端口。其他一些小型增强和错误修复。

Spring Cloud Netflix

各种版本升级。

Spring Cloud Openfeign

添加了缺失的配置元数据。

Spring Cloud Sleuth

对 Reactor 和 Reactor Netty 仪表化进行了各种改进以及其他小型增强。

Spring Cloud Stream

小型增强和错误修复。

Spring Cloud Task

现在通过自动配置启用。

Spring Cloud Vault

增加了对 Azure 和 GCP 身份验证的支持以及一些依赖项更新。

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

| 模块 | 版本 | 问题 |--- |--- |--- |--- | Spring Cloud | Greenwich.M3 |   | Spring Cloud Aws | 2.0.1.RELEASE | (问题) | Spring Cloud Bus | 2.1.0.M2 | (问题) | Spring Cloud Cloudfoundry | 2.1.0.M1 |   | Spring Cloud Commons | 2.1.0.M2 | (问题) | Spring Cloud Config | 2.1.0.M3 | (问题) | Spring Cloud Contract | 2.1.0.M2 | (问题) | Spring Cloud Consul | 2.1.0.M2 | (问题) | Spring Cloud Function | 2.0.0.RC2 | (问题) | Spring Cloud Gateway | 2.1.0.M3 | (问题) | Spring Cloud Gcp | 1.1.0.M3 |   | Spring Cloud Kubernetes | 1.0.0.M2 | (问题) | Spring Cloud Netflix | 2.1.0.M3 | (问题) | Spring Cloud Openfeign | 2.1.0.M2 |   | Spring Cloud Security | 2.1.0.M1 |   | Spring Cloud Sleuth | 2.1.0.M2 | (问题) | Spring Cloud Stream | Fishtown.RC2 | 博客文章 | Spring Cloud Task | 2.1.0.M1 | (问题) | Spring Cloud Vault | 2.1.0.M2 | (问题) | Spring Cloud Zookeeper | 2.1.0.M1 |  

一如既往,我们欢迎在 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.M3</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.M3'
    }
}

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

查看所有