領先一步
VMware 提供培訓和認證,以加速您的進展。
了解更多我謹代表社群宣布 Spring Cloud Hoxton Release Train 的 Service Release 1 (SR1) 今天正式發布。該版本可在 Maven Central 中找到。 您可以查看 Hoxton 的 發布說明以獲取更多資訊。
這個里程碑版本主要是一個錯誤修復版本。
請參閱 Hoxton.SR1 Github 專案以獲取所有已關閉的問題。
此里程碑版本使用 Spring Boot 2.2.2.RELEASE 建構。
除了錯誤修復之外,Vault 身份驗證已變更為使用 Spring Vault 專案,從而提供更多選項。純文字資源現在可以通過 AWS S3 環境儲存庫獲得。
現在可以在每次測試後重設映射。
新增了對 Spring Cloud Loadbalancer 中區域感知 (zone awareness) 的支援。
新增了對 Spring Cloud Circuitbreaker 的支援
除了錯誤修復之外,還新增了對新配置屬性的支援。
新增了對 Spring Cloud Loadbalancer 中 Eureka 區域感知 (zone awareness) 的支援。
以下模組已作為 Hoxton.SR1 的一部分進行更新
| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Config | 2.2.1.RELEASE | (問題) | Spring Cloud Cloudfoundry | 2.2.0.RELEASE |
| Spring Cloud Vault | 2.2.1.RELEASE | (問題) | Spring Cloud Aws | 2.2.1.RELEASE |
| Spring Cloud Bus | 2.2.0.RELEASE |
| Spring Cloud Cli | 2.2.1.RELEASE |
| Spring Cloud Gcp | 1.2.1.RELEASE |
| Spring Cloud Contract | 2.2.1.RELEASE | (問題) | Spring Cloud Consul | 2.2.1.RELEASE |
| Spring Cloud Starter | Hoxton.SR1 |
| Spring Cloud Dependencies | Hoxton.SR1 |
| Spring Cloud Starter Parent | Hoxton.SR1 |
| Spring Cloud Sleuth | 2.2.1.RELEASE | (問題) | Spring Cloud Commons | 2.2.1.RELEASE | (問題) | Spring Cloud Openfeign | 2.2.1.RELEASE | (問題) | Spring Cloud Zookeeper | 2.2.0.RELEASE | (問題) | Spring Cloud Kubernetes | 1.1.1.RELEASE |
| Spring Cloud Security | 2.2.0.RELEASE |
| Spring Cloud Circuitbreaker | 1.0.0.RELEASE | (問題) | Spring Cloud Stream | Horsham.SR1 | (問題) | Spring Cloud Gateway | 2.2.1.RELEASE | (問題) | Spring Cloud Netflix | 2.2.1.RELEASE | (問題) | Spring Cloud Function | 3.0.1.RELEASE | (問題) | Spring Cloud Task | 2.2.2.RELEASE |
一如既往,我們歡迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見反應。
若要開始使用具有 BOM 的 Maven(僅限依賴項管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR1</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.8.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR1'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}