Spring Cloud Camden.RELEASE 和 Brixton.SR6 已发布

发布 | Spencer Gibb | 2016 年 9 月 26 日 | ...

我很高兴代表团队宣布 Spring Cloud Camden Release Train 以及 Brixton 的 Service Release 6 的正式发布。Camden.RELEASE 可以在我们的 Spring Release 仓库中找到。您可以查看 Camden 的 发行说明 以获取更多信息。Brixton.SR6 主要是一个 错误修复版本,建议与 Brixton Release Train 一起使用。

Camden Release Train 的亮点

Spring Cloud Contract 是一个新项目,它为 Spring 应用程序中的 Consumer Driven Contracts 和服务模式提供支持。Spring Cloud Netflix 支持通过属性自定义 Ribbon 组件类,使用新的社区维护的 OpenFeign,并包括对 Zuul 的各种修复和改进。Spring Cloud Consul 使用 Consul 的事件 API 添加了对 Spring Cloud Bus 的支持。CLI 添加了一个 spring cloud 命令,可以使用单个命令启动各种 Spring Cloud 服务器。支持的服务器包括 Eureka、Config Server 和 Hystrix Dashboard。

以下模块已作为 Camden.RELEASE 的一部分进行了更新

模块 版本
Spring Cloud Build 1.2.0.RELEASE
Spring Cloud Stream Brooklyn.RELEASE
Spring Cloud Bus 1.2.0.RELEASE
Spring Cloud Config 1.2.0.RELEASE
Spring Cloud Netflix 1.2.0.RELEASE
Spring Cloud Consul 1.1.0.RELEASE
Spring Cloud Contract 1.0.0.RELEASE

注意:Spring Cloud CLI 1.2.0.RC1 已发布。CLI 项目的 GA 将很快发生。

组合的 release train 文档可在此处获得。

与往常一样,我们欢迎反馈:无论是在 GitHub 上,在 Gitter 上,在 Stack Overflow 上,还是在 Twitter 上。

要开始使用 Maven 搭配 BOM(仅依赖管理)

<dependencyManagement>
  <dependencies>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-dependencies</artifactId>
    <version>Camden.RELEASE</version>
    <type>pom</type>
    <scope>import</scope>
  </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-eureka</artifactId>
  </dependency>
  ...
</dependencies>

或使用 Gradle

buildscript {
  dependencies {
    classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE"
  }
}

apply plugin: "spring-boot"

dependencyManagement {
  imports {
    mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Camden.RELEASE'
  }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-eureka'
    ...
}

获取 Spring 新闻简报

与 Spring 新闻简报保持联系

订阅

更进一步

VMware 提供培训和认证,以加速您的进步。

了解更多

获得支持

Tanzu Spring 在一个简单的订阅中为 OpenJDK™、Spring 和 Apache Tomcat® 提供支持和二进制文件。

了解更多

即将到来的活动

查看 Spring 社区中所有即将举行的活动。

查看全部