Spring Cloud 2023.0.1(又名 Leyton)已发布

发布 | Ryan Baxter | 2024年3月28日 | ...

我很高兴代表社区宣布,通用版本(RELEASE)的 Spring Cloud 2023.0.1 发布列车今天已可用。该版本可在 Maven Central 中找到。您可以查看 2023.0.1 版本说明以获取更多信息

2023.0.1 发布列车中的重要变化

基于 Spring Boot 3.2.4。

请参阅该 GitHub 项目以获取此版本中的所有更改。

Spring Cloud Kubernetes

  • 在 Fabric8 LoadBalancer 实现中添加对选择性命名空间的支持 (#1604)

Spring Cloud Function

  • 添加了原生支持,可将 WEB Workloads 作为 AWS Lambda 进行部署和处理,示例可在 此处 找到
  • 修复了 AWS Lambda 的 WEB 支持中的过滤器注册问题
  • 修复了 AWS Lambda 的 WEB 支持中的 SnapStart 处理问题

Spring Cloud OpenFeign

  • 支持定制 JDK 11+ HttpClient (#999)

Spring Cloud Stream

Spring Cloud Gateway

  • Gateway Server MVC 支持 AOT (#3171)
  • 允许通过 Java DSL 配置强制指定过滤器顺序(#3134)
  • 添加禁用 RouteRefreshListener 的选项 (#2958)
  • 添加属性以在需要时禁用过滤器 (#3310)

以下模块作为 2023.0.1 版本的一部分进行了更新

模块 版本 问题
Spring Cloud Vault 4.1.1 (问题)
Spring Cloud Bus 4.1.1 (问题)
Spring Cloud Zookeeper 4.1.1 (问题)
Spring Cloud Kubernetes 3.1.1 (问题)
Spring Cloud Task 3.1.1 (问题)
Spring Cloud Function 4.1.1 (问题)
Spring Cloud Commons 4.1.2 (问题)
Spring Cloud Openfeign 4.1.1 (问题)
Spring Cloud Circuitbreaker 3.1.1 (问题)
Spring Cloud Starter Build 2023.0.1 (问题)
Spring Cloud Stream 4.1.1 (问题)
Spring Cloud Gateway 4.1.2 (问题)
Spring Cloud Consul 4.1.1 (问题)
Spring Cloud Contract 4.1.2 (问题)
Spring Cloud Config 4.1.1 (问题)
Spring Cloud Build 4.1.1 (问题)
Spring Cloud Netflix 4.1.1 (问题)

一如既往,欢迎在 GitHubGitterStack OverflowTwitter 上提供反馈意见。

要使用带有 BOM(仅依赖管理)的 Maven 开始使用


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

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

查看全部