我谨代表社区高兴地宣布,Spring Cloud 2025.0.0 Release Train 的里程碑 3 (M3) 现已推出。该版本可以在 Spring Milestone 存储库中找到。有关更多信息,您可以查看 2025.0.0 发行说明。
2025.0.0 版本系列中的显著更改
此版本中所有更改的完整列表可以在 GitHub 上的此项目中找到。
该版本基于 Spring Boot 3.5.0-M3。
Spring Cloud 流
- 动态定义绑定的能力(通过
BindingsLifecycleController
实现) - 修改现有绑定的能力(通过
BindingsLifecycleController
实现) - 修复执行器中 SpEL 表达式的序列化问题
Spring Cloud 函数
- 修改
MessageConverterHelper
的逻辑,允许用户针对单个消息转换器(Message Converter)显式触发失败处理,增强错误隔离和调试能力 - 确保标头名称的进程不区分大小写 (RFC 2616)
- 修复 Kotlin 函数类型发现
Spring Cloud 公共资源
- 管理共享资源中 okhttp 的版本 (#1470)
Spring Cloud 配置
- Config Server:S3 集成应使用与 Git 集成相同的文件 #1829
Spring Cloud 网关
- 为服务器 webmvc 中的函数添加对默认路由功能的支持 #3716
- 请求速率限制器 lua 脚本的性能增强。排名 #3693
- 默认函数路由的初始功能 #3691
- 查询参数路由谓词 – QueryRoutePredicateFactory 的扩展 #3472
- 向请求添加 Forwarded-by 标头 #2658
以下模块已作为 2025.0.0-M3 的一部分进行了更新:
Module | Version | Issues |
---|---|---|
Spring Cloud Stream | 4.3.0-M3 | (issues) |
Spring Cloud Openfeign | 4.3.0-M3 | (issues) |
Spring Cloud Netflix | 4.3.0-M3 | (issues) |
Spring Cloud Commons | 4.3.0-M3 | (issues) |
Spring Cloud Circuitbreaker | 3.3.0-M3 | (issues) |
Spring Cloud Contract | 4.3.0-M3 | (issues) |
Spring Cloud Consul | 4.3.0-M3 | (issues) |
Spring Cloud Config | 4.3.0-M3 | (issues) |
Spring Cloud Build | 4.3.0-M3 | (issues) |
Spring Cloud Gateway | 4.3.0-M3 | (issues) |
Spring Cloud Function | 4.3.0-M3 | (issues) |
Spring Cloud Starter Build | 2025.0.0-M3 | (issues) |
Spring Cloud Vault | 4.3.0-M3 | (issues) |
Spring Cloud Task | 3.3.0-M3 | (issues) |
Spring Cloud Kubernetes | 3.3.0-M3 | (issues) |
Spring Cloud Zookeeper | 4.3.0-M3 | (issues) |
Spring Cloud Bus | 4.3.0-M3 | (issues) |
与往常一样,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要开始使用带有 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>
or with 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'
...
}
转自 https://spring.io/blog/2025/04/08/spring-cloud-2025-0-0-m3-released