Spring Cloud 2023.0.2 (OSS) 和 2022.0.7 (Enterprise) 已发布

发布 | Glenn Renfro | 2024年5月31日 | ...

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

我们也很高兴地宣布,Spring Cloud 2022.0.7 发布火车今天已普遍可用 (RELEASE)。更多信息可在 https://springjava.cn/support 找到。

2023.0.2 发布火车中的显著变化

此版本增加了与 Spring Boot 3.3.x 以及 Spring Boot 3.2.x 的兼容性。

有关此版本中所有更改,请参阅GitHub 项目

Spring Cloud Kubernetes

  • Kubernetes Java 客户端升级到 19.0.1
  • 向 fabric8 负载均衡器添加选择性命名空间 (#1604)
  • 从配置服务器返回所有 PropertySources (#1600)

Spring Cloud Function

Spring Cloud Stream

Spring Cloud Gateway

  • 在 Server WebMVC 中将客户端响应作为请求属性提供 (#3405)

Spring Cloud Config

  • 允许用户提供定制器以自定义 HttpClient 行为 (#2410)

Spring Cloud Netflix

  • 添加通过 RestTemplateBuilder 配置 RestTemplate 的支持 (#4262)
  • 升级到 Eureka Server 2.0.2

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

模块 版本 问题
Spring Cloud Vault 4.1.2 (问题)
Spring Cloud Kubernetes 3.1.2 (问题)
Spring Cloud Function 4.1.2 (问题)
Spring Cloud Commons 4.1.3 (问题)
Spring Cloud Openfeign 4.1.2 (问题)
Spring Cloud Starter Build 2023.0.2 (问题)
Spring Cloud Stream 4.1.2 (问题)
Spring Cloud Gateway 4.1.4 (问题)
Spring Cloud Contract 4.1.3 (问题)
Spring Cloud Config 4.1.2 (问题)
Spring Cloud Build 4.1.2 (问题)
Spring Cloud Netflix 4.1.2 (问题)

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

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


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

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

查看所有