Spring Cloud Hoxton.M1 已发布。

发布 | Spencer Gibb | 2019 年 7 月 3 日 | ...

我谨代表社区宣布,Spring Cloud Hoxton Release Train 的 Milestone 1 (M1) 今天发布。您可以在 Spring Milestone 仓库中找到该版本。您可以查看 Hoxton 版本说明以获取更多信息。

Hoxton 发行版列车中的显著更改

此里程碑版本兼容 Spring Boot 2.2.0.M4。

Spring Cloud Gateway

Spring Cloud Gateway 已增加对 RSocket 的支持。敬请期待即将发布的博客文章。

Spring Cloud Contract

Gradle 支持已更新至 5.5,Groovy 已更新至 2.5。进行了重大重构,尽可能简化并用 Java 重写。

Spring Cloud Cloudfoundry

添加了一个使用 Cloud Foundry 基于 DNS 的发现选项。这对于容器到容器的网络连接非常有用。

Spring Cloud Config

增加了对 Google Cloud Source(一个 Git 托管服务)和新的 Redis 环境存储库的支持。

Spring Cloud Sleuth

Sleuth 现在导入 Brave BOM。

路线图

Spring Cloud Circuit Breaker 项目将移出 Incubator 状态。Spring Cloud Loadbalancer 将进行更新,以填补 Spring Cloud Netflix 中 Ribbon 进入维护模式后留下的空白。Spring Cloud Gateway RSocket 支持将继续改进。


以下模块作为 Hoxton.M1 的一部分进行了更新:

| Module | Version | Issues |--- |--- |--- |--- | Spring Cloud Commons | 2.2.0.M1 | (issues) | Spring Cloud Contract | 2.2.0.M1 | (issues) | Spring Cloud Cloudfoundry | 2.2.0.M1 | (issues) | Spring Cloud Openfeign | 2.2.0.M1 | (issues) | Spring Cloud Security | 2.2.0.M1 |   | Spring Cloud Config | 2.2.0.M1 | (issues) | Spring Cloud Stream | Horsham.M2 |   | Spring Cloud Aws | 2.2.0.M1 |   | Spring Cloud Bus | 2.2.0.M1 |   | Spring Cloud Zookeeper | 2.2.0.M1 | (issues) | Spring Cloud Task | 2.2.0.M1 | (issues) | Spring Cloud Gateway | 2.2.0.M1 | (issues) | Spring Cloud Sleuth | 2.2.0.M1 | (issues) | Spring Cloud Consul | 2.2.0.M1 | (issues) | Spring Cloud Netflix | 2.2.0.M1 | (issues) | Spring Cloud Gcp | 1.2.0.M1 |   | Spring Cloud Function | 3.0.0.M1 |   | Spring Cloud Vault | 2.2.0.M1 |   | Spring Cloud Kubernetes | 1.1.0.M1 | (issues)

一如既往,我们欢迎大家在 GitHubGitterStack OverflowTwitter 上提供反馈。

Maven 起步使用 BOM(仅依赖管理)

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://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>Hoxton.M1</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.9.RELEASE"
    }
}

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

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

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.M1'
    }
}

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

查看所有