Spring Cloud 2023.0.6 (又名 Leyton) 已发布

版本发布 | Ryan Baxter | 2025年6月27日 | ...

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

2023.0.6 发布列车的显著变化

此版本基于 Spring Boot 3.3.13。

除了以下增强功能,此版本还解决了许多错误。要查看此版本中已解决问题的完整列表,请参阅此 GitHub 项目

这是 Spring Cloud 2023.0.x 的最后一个开源版本。Spring Cloud 2023.0.x 将于 2025 年 7 月 1 日开始进入商业支持阶段。

Spring Cloud Gateway

  • 支持重新加载 httpClient connectTimeout 配置 (#3679)

Spring Cloud Circuitbreaker

  • 在使用 Spring Retry 时添加自定义 openTimeoutresetTimeout 的功能 (#238)

Spring Cloud Contract

  • 从 Spring Cloud Contract 4.1.6 开始,artifact spring-cloud-stub-runner-boot 将不再在 Maven Central 上提供。Maven Central 已经实施限制,不再允许发布可执行 jar 文件,因为这些文件通常不作为依赖项使用。如果您需要使用 spring-cloud-stub-runner-boot,您可以使用 Spring Cloud Contract Docker 镜像 或从源代码构建 artifact。

以下模块已作为 2023.0.6 的一部分进行了更新

模块 版本 问题
Spring Cloud Gateway 4.1.9 (问题)
Spring Cloud Starter Build 2023.0.6 (问题)
Spring Cloud Netflix 4.1.6 (问题)
Spring Cloud Config 4.1.7 (问题)
Spring Cloud Openfeign 4.1.5 (问题)
Spring Cloud Circuitbreaker 3.1.5 (问题)
Spring Cloud Kubernetes 3.1.6 (问题)
Spring Cloud Stream 4.1.6 (问题)
Spring Cloud Function 4.1.6 (问题)
Spring Cloud Contract 4.1.6 (问题)

一如既往,我们欢迎大家在 GitHubGitterStack OverflowTwitter 上提供反馈。

Maven 起步使用 BOM(仅依赖管理)


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

plugins {
  id 'java'
  id 'org.springframework.boot' version '3.3.13'
  id 'io.spring.dependency-management' version '1.1.7'
}

repositories {
  mavenCentral()
}

ext {
  set('springCloudVersion', "2023.0.6")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

获取 Spring 新闻通讯

通过 Spring 新闻通讯保持联系

订阅

领先一步

VMware 提供培训和认证,助您加速进步。

了解更多

获得支持

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支持和二进制文件,只需一份简单的订阅。

了解更多

即将举行的活动

查看 Spring 社区所有即将举行的活动。

查看所有