搶先一步
VMware 提供培訓和認證,以加速您的進度。
瞭解更多我謹代表社群,很高興地宣布 Spring Cloud 2020.0.0 (代號:Ilford
) Release Train 的 Milestone 1 (M1) 版本已於今日推出。此版本可以在 Spring Milestone 儲存庫中找到。您可以查看 2020 年的 版本說明以獲取更多資訊。
我們已變更了 Release Train 的版本控制方案。我們現在遵循 Calendar Versioning,簡稱為 calver。我們將遵循 YYYY.MINOR.MICRO
方案,其中 MINOR
是一個遞增的數字,每年從零開始。MICRO
部分對應於先前使用的後綴:.0
類似於 .RELEASE
,.2
類似於 .SR2
。預發布後綴也將從使用 .
作為分隔符號更改為使用 -
,例如 2020.0.0-M1
和 2020.0.0-RC2
。我們也將停止使用 BUILD-
作為快照的前綴 -- 例如 2020.0.0-SNAPSHOT
。
我們將繼續使用倫敦地鐵站名稱作為代號。目前的代號是 Ilford
。這些名稱將不再用於發布到 Maven 儲存庫的版本中。
Spring Cloud AWS 和 Spring Cloud GCP 不再是 Release Train 的一部分。只要 Hoxton 仍然受到支援(至少到 2021 年 6 月),它們將繼續成為 Hoxton 的一部分。Spring Cloud GCP 將繼續作為 https://github.com/GoogleCloudPlatform 中的一個獨立專案。
最初的里程碑基於 Spring Boot 2.3.x,但一旦該版本線開始,將會轉移到 2.4.x。
一旦 Spring Boot (2.4.0) 的下一個功能版本開始開發,2020.0
Release Train 將可在 https://start.spring.io 上使用。請參閱下面的 Getting Started,以獲取有關在您的專案中包含此版本的說明。
總之,此版本中包含總共 183 個問題、增強功能、錯誤和提取請求。有關詳細資訊,請參閱 GitHub 專案。
已更新為支援最新版本的 Brave。
新增了對 Consul Service Metadata 的支援,而不是使用標籤作為 Metadata。
現在 Service Instance metadata 已新增至 Route metadata。新增了對修改請求或回應正文的支援,即使正文為空。新增了忽略路由定義錯誤的選項。
新增了對 Maven 外掛程式中增量測試生成的支援。在 stubrunner 中新增了對 Spring Cloud Loadbalancer 的支援。
以下模組已更新,作為 2020.0.0-M1 的一部分
| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Netflix | 3.0.0.M1 | (問題) | Spring Cloud Function | 3.1.0.M1 |
| Spring Cloud Sleuth | 3.0.0.M1 | (問題) | Spring Cloud Consul | 3.0.0.M1 | (問題) | Spring Cloud Kubernetes | 2.0.0.M1 |
| Spring Cloud Gateway | 3.0.0.M1 | (問題) | Spring Cloud Circuitbreaker | 2.0.0.M1 |
| Spring Cloud Contract | 3.0.0.M1 | (問題) | Spring Cloud Config | 3.0.0.M1 |
| Spring Cloud Build | 3.0.0.M1 |
| Spring Cloud Cloudfoundry | 3.0.0.M1 |
| Spring Cloud Security | 3.0.0.M1 |
| Spring Cloud Bus | 3.0.0.M1 |
| Spring Cloud Vault | 3.0.0.M1 |
| Spring Cloud Zookeeper | 3.0.0.M1 | (問題) | Spring Cloud Commons | 3.0.0.M1 | (問題) | Spring Cloud Openfeign | 3.0.0.M1 | (問題)
與往常一樣,我們歡迎在 GitHub、Gitter、Stack Overflow 和 Twitter 上提出意見反應。
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2020.0.0-M1</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
plugins {
id 'org.springframework.boot' version '2.3.0.M4'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', "2020.0.0-M1")
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
//...
}