Spring Cloud 2024.0.0-M2 (代号 Moorgate) 已发布

版本发布 | Ryan Baxter | 2024 年 10 月 09 日 | ...

我谨代表社区宣布,Spring Cloud 2024.0.0 Release Train 的 Milestone 2 (M2) 今日发布。您可以在 Spring Milestone 仓库中找到该版本。您可以查看 2024.0.0 版本说明以获取更多信息。

2024.0.0-M2 Release Train 的主要变更

此版本的 Spring Cloud 基于 Spring Boot 3.4.0-M3。

此版本的 GitHub 项目可以在此处找到。

Spring Cloud OpenFeign

  • 支持 Pageableignorecase(#1047)

Spring Cloud Commons

  • 创建 TrustStore 而无需 KeyStore(#1394)

Spring Cloud Config

  • 资源可以支持指定字符集进行存储和接收(#2115)
  • 添加 MongoDB 环境仓库支持 (#2390)
  • 支持环境仓库中的多个标签 (#2449)

Spring Cloud Gateway

  • Webflux Java DSL 增加了一个嵌套布尔谓词的方法(#2598)
  • 为路由添加了一个 enabled 标志(#3026)
  • Grafana 模板中添加了 QPS、延迟等指标(#3014)
  • 修复了多个路由使用相同 Redis 限流器 bucket 的问题(#2517)

Spring Cloud Stream

Spring Cloud Stream 4.2.0-M2 版本包含一些新增强功能和错误修复。有关更多信息,请参见此处。

有关更多详细信息,请参阅 4.2.0-M2 milestone。

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

模块 版本 问题
Spring Cloud Bus 4.2.0-M2 (issues)
Spring Cloud Contract 4.2.0-M2 (issues)
Spring Cloud Circuitbreaker 3.2.0-M2 (issues)
Spring Cloud Zookeeper 4.2.0-M2 (issues)
Spring Cloud Task 3.2.0-M2 (issues)
Spring Cloud Kubernetes 3.2.0-M2 (issues)
Spring Cloud Starter Build 2024.0.0-M2 (issues)
Spring Cloud Netflix 4.2.0-M2 (issues)
Spring Cloud Openfeign 4.2.0-M2 (issues)
Spring Cloud Commons 4.2.0-M2 (issues)
Spring Cloud Consul 4.2.0-M2 (issues)
Spring Cloud Config 4.2.0-M2 (issues)
Spring Cloud Vault 4.2.0-M2 (issues)
Spring Cloud Build 4.2.0-M2 (issues)
Spring Cloud Gateway 4.2.0-M2 (issues)
Spring Cloud Stream 4.2.0-M2 (issues)
Spring Cloud Function 4.2.0-M2 (issues)

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

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

    <repositories>
        <repository>
            <id>spring-milestones</id>
            <name>Spring Milestones</name>
            <url>https://repo.spring.io/milestone</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2024.0.0-M2</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.4.0-M3'
  id 'io.spring.dependency-management' version '1.1.6'
}

repositories {
  mavenCentral()
  maven { url 'https://repo.spring.io/milestone' }
}

ext {
  set('springCloudVersion', "2024.0.0-M2")
}

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

查看所有