Spring Cloud 2021.0.5 (代號 Jubilee) 已釋出

釋出 | Oleg Zhurakousky | 2022 年 11 月 08 日 | ...

我謹代表社群宣佈 Spring Cloud 2021.0.5 Release Train 的正式版本 (RELEASE) 今天釋出。 該版本可在 Maven Central 中找到。 您可以檢視 2021.0.5 發行說明以獲取更多資訊。

2021.0.5 Release Train 中的顯著變化

請參閱專案頁面,瞭解此版本中包含的所有問題和拉取請求。

Spring Cloud Function

  • 在 spring-cloud-function-azure 中新增對 Azure Timer Trigger 的支援

  • 增強了 spring-cloud-function-aws 中的 AWS Function Invoker 以程式設計方式注入函式定義

  • 在 spring-cloud-function-azure 中新增對 Azure Timer Trigger 的支援

Spring Cloud Config

  • 使 Jdbc Repository 的行為與 Git Repository 對齊 (#2171)

Spring Cloud Commons

  • 允許在 LoadBalancer RequestData 中設定屬性 (#1142)

Spring Cloud OpenFeign

  • 已新增 Spring Security OAuth2 支援 (#644)

以下模組已作為 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

與往常一樣,我們歡迎在 GitHubGitterStack OverflowTwitter 上提供反饋。

開始使用 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'
...
}

獲取 Spring 新聞簡報

與 Spring 新聞簡報保持聯絡

訂閱

領先一步

VMware 提供培訓和認證來加速您的進步。

瞭解更多

獲得支援

Tanzu Spring 在一個簡單的訂閱中提供對 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位制檔案。

瞭解更多

即將舉行的活動

檢視 Spring 社群中所有即將舉行的活動。

檢視全部