領先一步
VMware 提供訓練和認證,以加速您的進度。
瞭解更多我很高興代表團隊宣布 Spring Cloud Camden Release Train 以及 Brixton 的 Service Release 6 正式發布。Camden.RELEASE
可以在我們的 Spring Release 儲存庫中找到。您可以查看 Camden 發布說明以取得更多資訊。Brixton.SR6
主要是一個 錯誤修復版本,建議與 Brixton Release Train 一起使用。
Spring Cloud Contract 是一個新專案,提供對 Spring 應用程式中消費者驅動合約和服務綱要的支援。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 將很快推出。
完整的版本系列文件可在此處取得:這裡。
一如既往,我們歡迎您的回饋:無論是在 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'
...
}