領先一步
VMware 提供培訓和認證來加速您的進步。
瞭解更多我謹代表社群宣佈 Spring Cloud 2021.0.5 Release Train 的正式版本 (RELEASE) 今天釋出。 該版本可在 Maven Central 中找到。 您可以檢視 2021.0.5 發行說明以獲取更多資訊。
請參閱專案頁面,瞭解此版本中包含的所有問題和拉取請求。
在 spring-cloud-function-azure 中新增對 Azure Timer Trigger 的支援
增強了 spring-cloud-function-aws 中的 AWS Function Invoker 以程式設計方式注入函式定義
在 spring-cloud-function-azure 中新增對 Azure Timer Trigger 的支援
RequestData
中設定屬性 (#1142)以下模組已作為 2021.0.4 的一部分更新
模組 | 版本 |
---|---|
Spring Cloud Netflix | 3.1.4 |
Spring Cloud Config | 3.1.5 |
Spring Cloud Build | 3.1.5 |
Spring Cloud Sleuth | 3.1.5 |
Spring Cloud Gateway | 3.1.4 |
Spring Cloud Starter Build | 2021.0.5 |
Spring Cloud Consul | 3.1.2 |
Spring Cloud Contract | 3.1.5 |
Spring Cloud Kubernetes | 2.1.5 |
Spring Cloud Zookeeper | 3.1.3 |
Spring Cloud Task | 2.4.5 |
Spring Cloud Openfeign | 3.1.5 |
Spring Cloud Circuitbreaker | 2.1.5 |
Spring Cloud Stream | 3.2.6 |
Spring Cloud Commons | 3.1.5 |
Spring Cloud Function | 3.2.8 |
與往常一樣,我們歡迎在 GitHub、Gitter、Stack Overflow 和 Twitter 上提供反饋。
開始使用 Maven 和 BOM(僅依賴管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.5</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.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2021.0.5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}