Spring Cloud Camden RC1 已發佈

發佈 | Spencer Gibb | 2016 年 9 月 14 日 | ...

我謹代表團隊宣布 Spring Cloud Camden Release Train 的 Release Candidate 1 (RC1) 今天已發佈。 該版本可以在我們的 Spring Milestone 儲存庫中找到。 這主要是一個錯誤修正版本,因為 Camden 正在準備正式發佈 (GA)。 您可以查看 Camden 發佈說明以取得更多資訊

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.RC1 中更新

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

注意:由於回歸問題,Spring Cloud CLI 1.2.0.RC1 將在 Spring Boot 1.4.1 發佈後發佈。

組合發佈版本文件可在此處取得。

並且,一如既往,我們歡迎回饋:無論是在 GitHub 上、在 Gitter 上、在 Stack Overflow 上,還是在 Twitter 上。

使用帶有 BOM(僅依賴管理)的 Maven 開始

<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>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-dependencies</artifactId>
    <version>Camden.RC1</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 "io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE"
  }
}
repositories {
    maven {
        url 'http://repo.spring.io/milestone'
    }
}
apply plugin: "io.spring.dependency-management"

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

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 社群中所有即將舉行的活動。

檢視全部