Spring Cloud 2021.0.5 (codename Jubilee) 已發布

發布 | Oleg Zhurakousky | 2022 年 11 月 08 日 | ...

我謹代表社群,很高興宣布 Spring Cloud 2021.0.5 Release Train 的正式發行版 (RELEASE) 今天正式推出。此版本可在 Maven Central 找到。您可以查看 2021.0.5 發行說明 以取得更多資訊。

2021.0.5 Release Train 中的重要變更

請參閱專案頁面以了解此版本中包含的所有問題和 Pull Request。

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 社群中所有即將到來的活動。

檢視全部