領先一步
VMware 提供培訓和認證,以加速您的進度。
了解更多我很高興代表團隊宣布 Spring Cloud Camden Release Train 的新服務版本。Camden.SR1
可以在我們的 Spring Release 儲存庫或 Maven Central 中找到。 您可以查看 Camden 的 發布說明以獲取更多資訊。
以下模組構成了 Camden.SR1
模組 | 版本 |
---|---|
Spring Cloud AWS | 1.1.3.RELEASE |
Spring Cloud Bus | 1.2.1.RELEASE |
Spring Cloud Commons | 1.1.4.RELEASE |
Spring Cloud Contract | 1.0.1.RELEASE |
Spring Cloud Config | 1.2.1.RELEASE |
Spring Cloud Netflix | 1.2.1.RELEASE |
Spring Cloud Security | 1.1.3.RELEASE |
Spring Cloud Sleuth | 1.0.10.RELEASE |
Spring Cloud Stream | Brooklyn.RELEASE |
Spring Cloud Task | 1.0.3.RELEASE |
Spring Cloud Zookeeper | 1.0.3.RELEASE |
完整的發布版本文件可在此處取得:here。
此外,Spring Cloud CLI 1.2.1.RELEASE
也已發布。您可以在 此處 查看專案頁面
Spring Cloud Consul 在此版本中沒有更新,但是版本 1.1.1.RELEASE
在 Camden.SR1 之後不久發布,並且包含一些使用者可能會感興趣的 修復。 如果您想升級應用程式中使用的 Consul 版本,您必須在 Maven 或 Gradle 專案中手動指定版本號碼。
而且,一如既往,我們歡迎您提供意見:無論是在 GitHub 上、在 Gitter 上、在 Stack Overflow 上,還是在 Twitter 上。
若要開始使用 Maven 搭配 BOM(僅限相依性管理)
<dependencyManagement>
<dependencies>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Camden.SR1</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.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
...
}