Spring Cloud 2025.0.0-M3 (又名 Northfields) 已发布

版本发布 | Ryan Baxter | 2025年4月8日 | ...

我代表社区,很高兴地宣布 Spring Cloud 2025.0.0 Release Train 的里程碑 3 (M3) 现已发布。该版本可在 Spring Milestone 仓库中找到。您可以查看 2025.0.0 版本说明以获取更多信息

2025.0.0 Release Train 中的显著变更

此版本中所有变更的完整列表可在 GitHub 上的此项目 中找到。

该版本基于 Spring Boot 3.5.0-M3。

Spring Cloud Stream

  • 添加动态定义绑定的能力,使用 BindingsLifecycleController
  • 添加修改现有绑定的能力,使用 BindingsLifecycleController
  • 修复 Actuator 的 SpEL Expression 序列化问题

Spring Cloud Function

  • 修改 MessageConverterHelper 的行为,以确保用户可以在单个 Message converter 上强制失败
  • 确保 header 名称处理时大小写不敏感 (RFC 2616)
  • 修复 Kotlin 函数类型发现问题

Spring Cloud Commons

  • 管理 commons 中的 okhttp 版本 (#1470)

Spring Cloud Config

  • Config Server:S3 集成应该与 Git 集成消费相同的文件 #1829

Spring Cloud Gateway

  • 为 server webmvc 中的函数添加默认路由功能支持 #3716
  • 对请求限速器 lua 脚本进行性能增强。 #3693
  • 默认函数路由的初始功能 #3691
  • Query param route predicate - QueryRoutePredicateFactory 的扩展 #3472
  • 向请求添加 Forwarded-by 头 #2658

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

模块 版本 问题
Spring Cloud Stream 4.3.0-M3 (问题)
Spring Cloud Openfeign 4.3.0-M3 (问题)
Spring Cloud Netflix 4.3.0-M3 (问题)
Spring Cloud Commons 4.3.0-M3 (问题)
Spring Cloud Circuitbreaker 3.3.0-M3 (问题)
Spring Cloud Contract 4.3.0-M3 (问题)
Spring Cloud Consul 4.3.0-M3 (问题)
Spring Cloud Config 4.3.0-M3 (问题)
Spring Cloud Build 4.3.0-M3 (问题)
Spring Cloud Gateway 4.3.0-M3 (问题)
Spring Cloud Function 4.3.0-M3 (问题)
Spring Cloud Starter Build 2025.0.0-M3 (问题)
Spring Cloud Vault 4.3.0-M3 (问题)
Spring Cloud Task 3.3.0-M3 (问题)
Spring Cloud Kubernetes 3.3.0-M3 (问题)
Spring Cloud Zookeeper 4.3.0-M3 (问题)
Spring Cloud Bus 4.3.0-M3 (问题)

一如既往,欢迎通过 GitHubGitterStack OverflowTwitter 提供反馈。

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


    <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>2025.0.0-M3</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"
}
}

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

apply plugin: "io.spring.dependency-management"

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2025.0.0-M3'
}
}

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 社区的所有近期活动。

查看全部