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 社区中所有即将举行的活动。

查看全部