Ohhnews

分类导航

$ cd ..
Spring Blog原文

Spring Cloud 2025.1.4(代号 Northfields)正式发布

#spring cloud#spring boot#微服务#版本发布#开源框架

我谨代表社区高兴地宣布,Spring Cloud 2025.1.4 发布列车今日正式发布(RELEASE)。该版本可在 Maven Central 中找到。你可以查看 2025.1.4 的发布说明以了解更多信息。

2025.1.4 发布列车中的重要变更

该版本基于 Spring Boot 4.0.9,同时也支持 Spring Boot 4.1.2。

该版本包含所有项目中的若干缺陷修复。有关此版本中修复内容的完整列表,请参阅此 GitHub 项目。

以下模块作为 2025.1.4 的一部分进行了更新:

模块版本问题
Spring Cloud Build5.0.4问题
Spring Cloud Bus5.0.4问题
Spring Cloud Commons5.0.4问题
Spring Cloud Config5.0.6问题
Spring Cloud Consul5.0.4问题
Spring Cloud Function5.0.5问题
Spring Cloud Gateway5.0.4问题
Spring Cloud Kubernetes5.0.4问题
Spring Cloud Netflix5.0.3问题
Spring Cloud Openfeign5.0.4问题
Spring Cloud Starter Build2025.1.4问题
Spring Cloud Stream5.0.4问题
Spring Cloud Vault5.0.3问题

一如既往,我们欢迎通过 GitHub、Gitter、Stack Overflow 或 Twitter 提供反馈。

使用 Maven 和 BOM 开始(仅依赖管理):

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

$ groovy
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:2025.1.4'
    }
}

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