領先一步
VMware 提供培訓和認證,助您加速進步。
瞭解更多我很高興代表社群宣佈,Spring Cloud Hoxton 發行版列車的服務版本 11 (SR11) 於今日推出。該版本可在 Maven Central 中找到。您可以檢視 Hoxton 發行說明以獲取更多資訊。
在此處檢視此版本中包含的所有問題:https://github.com/orgs/spring-cloud/projects/57。
這主要是一個錯誤修復和文件釋出。Hoxton.SR11 與 Spring Boot 2.3.x 和 2.2.x 相容。
FeignClientProperties.FeignClientConfiguration.followRedirects 屬性SpringEncoder 字元集確定FeignClient 註解中的多個限定符以下模組作為 Hoxton.SR11 的一部分進行了更新
| 模組 | 版本 | 問題 |
|---|---|---|
| Spring Cloud Starter Build | Hoxton.SR11 | |
| Spring Cloud Netflix | 2.2.8.RELEASE | (問題) |
| Spring Cloud Openfeign | 2.2.8.RELEASE | (問題) |
| Spring Cloud Config | 2.2.8.RELEASE | (問題) |
| Spring Cloud Gateway | 2.2.8.RELEASE | (問題) |
| Spring Cloud Gcp | 1.2.8.RELEASE | |
| Spring Cloud Commons | 2.2.8.RELEASE | (問題) |
| Spring Cloud Consul | 2.2.7.RELEASE | (問題) |
| Spring Cloud Contract | 2.2.7.RELEASE | (問題) |
| Spring Cloud Kubernetes | 1.1.9.RELEASE | (問題) |
| Spring Cloud Sleuth | 2.2.8.RELEASE | (問題) |
| Spring Cloud Stream | Horsham.SR12 | |
| Spring Cloud Function | 3.0.14.RELEASE | |
| Spring Cloud Bus | 2.2.4.RELEASE | |
| Spring Cloud Circuit Breaker | 1.0.5.RELEASE | |
| Spring Cloud Security | 2.2.5.RELEASE | |
| Spring Cloud ZooKeeper | 2.2.5.RELEASE | (問題) |
一如既往,我們歡迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反饋。
Maven 起步使用 BOM(僅依賴管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR11</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.10.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR11'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}