Spring Cloud Greenwich.M3 已发布

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

我很高兴代表社区宣布,Spring Cloud Greenwich Release Train 的里程碑版本 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

instanceId 添加到 ServiceInstance 接口。还添加了使用 Reactor 实现的 ReactiveLoadBalancer 接口和实现。

Spring Cloud Config

各种 bug 修复和小型增强功能。

Spring Cloud Contract

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

Spring Cloud Consul

Bug 修复。

Spring Cloud Function

次要增强功能和 bug 修复。

Spring Cloud Gateway

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

Spring Cloud Gcp

次要增强功能和 bug 修复。

Spring Cloud Kubernetes

ServiceInstance 元数据现在可以配置为来自 Kubernetes Labels、Annotations 和 Ports。还有一些其他小型增强功能和 bug 修复。

Spring Cloud Netflix

各种版本升级。

Spring Cloud Openfeign

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

Spring Cloud Sleuth

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

Spring Cloud Stream

次要增强功能和 bug 修复。

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

查看全部