Spring Cloud 2022.0.3 正式版(RELEASE)已发布。Spring Cloud 2023 已在路上:代号「莱顿」,全新优化!

Spring Cloud 2022.0.3 正式版(RELEASE)现已在 Maven Central 上发布。

坐标依赖:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2022.0.3</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>

2022.0.3 正式版与 Spring Boot 3.1.x 兼容。

Spring Cloud Config 存在已知的 BUG,涉及通过服务发现定位配置服务器。要在此版本中启用此功能,请在环境变量或系统属性中设置 spring.cloud.config.discovery.enabled=true 和 spring.cloud.config.discovery.serviceId。此 BUG 将在下一个版本中修复。

Spring Cloud Commons

修复了某些情况下应用程序上下文生命周期中添加引导属性源过晚的问题(1228)。

Spring Cloud Gateway

  • 添加了批量添加路由的能力,通过执行器实现(2915)。

  • 添加了刷新部分路由的能力,通过执行器实现(2916)。

Spring Cloud Stream

为 Kafka 响应式绑定器添加了支持基于正则表达式的目标模式(2709)。

Spring Cloud Function

  • 增加了将现有的 Spring MVC REST 应用程序部署到无服务器平台(如 AWS Lambda Functions 和 Azure Functions)的初始支持。

  • 新增了允许在 Spring Integration DSL 中使用 Spring Cloud Function 的 Spring Integration 模块的功能。

  • 支持 Spring Integration,请参阅(1032)

Spring Cloud Config

支持针对特定配置数据的配置文件(2260)。

Spring Cloud Netflix

修复了引用 Jersey 1 类而不是 Jersey 3 的问题(4176)和(4177)。

依赖更新:

模块 版本
Spring Cloud Kubernetes 3.0.3
Spring Cloud Task 3.0.3
Spring Cloud Function 4.0.3
Spring Cloud Commons 4.0.3
Spring Cloud Circuitbreaker 3.0.2
Spring Cloud Openfeign 4.0.3
Spring Cloud Gateway 4.0.6
Spring Cloud Stream 4.0.3
Spring Cloud Contract 4.0.3
Spring Cloud Config 4.0.3
Spring Cloud Build 4.0.3
Spring Cloud Starter Build 2022.0.3
Spring Cloud Netflix 4.0.2

写在最后

Spring Cloud 2023 已经开始准备工作,代号为 "莱顿",预计将在 2023 年 11 月发布版本,基于 Spring Boot 3.2 构建。详细的规划可以在以下链接查看:https://github.com/spring-cloud/spring-cloud-release/milestones?direction=asc&sort=due_date&state=open

猜你喜欢

转载自blog.csdn.net/caryxp/article/details/131469652
今日推荐