Spring Cloud 2025.0.0-RC1 (即 Northfields) 已釋出

釋出 | Ryan Baxter | 2025年5月1日 | ...

我很高興代表社群宣佈 Spring Cloud 2025.0.0 釋出火車 (Release Train) 的 Release Candidate 1 (RC1) 版本今天釋出了。該版本可在 Spring Milestone 倉庫中找到。您可以檢視 2025.0 版本說明以獲取更多資訊

2025.0.0 釋出火車中的顯著變化

此版本基於 Spring Boot 3.5.0-RC1。

有關此版本中所有更改的完整列表,請參閱 GitHub 上的此專案

Spring Cloud Config

  • 支援 AWS S3 儲存桶中的 YAML 特定 Profile 文件 (#2825)

Spring Cloud Gateway

  • 允許將自定義過濾器和謂詞註冊為 bean (#3250)
  • 支援設定 Spring.webflux.base-path 並在路徑謂詞中支援它 (#2984)
  • 將 Permissions-Policy 新增為 SecureHeaders GatewayFilter 的可配置選項 (#2975)
  • 支援重新載入 httpClient 連線超時配置 (#3679)

Spring Cloud Task

  • 添加了 Remote Partitioning 和 Task Launcher 的棄用通知 (1d4e159)

Spring Cloud Stream

  • StreamBridge 不會將動態繫結新增到 Output/Input 繫結生命週期 (#3106)

Spring Cloud Function

  • Spring Cloud Function Web 隨著 Spring Cloud Gateway 中對 Spring Cloud Function 的支援而基本棄用,後者成為其替代方案。
  • 棄用 RSocket 模組 (#1267)
  • 允許介面卡監聽額外的 http 動詞 (#1271)

以下模組已更新,作為 2025.0.0-RC1 的一部分

模組 版本 問題
Spring Cloud Netflix 4.3.0-RC1 (問題)
Spring Cloud Starter Build 2025.0.0-RC1 (問題)
Spring Cloud Consul 4.3.0-RC1 (問題)
Spring Cloud Config 4.3.0-RC1 (問題)
Spring Cloud Build 4.3.0-RC1 (問題)
Spring Cloud Gateway 4.3.0-RC1 (問題)
Spring Cloud Zookeeper 4.3.0-RC1 (問題)
Spring Cloud Contract 4.3.0-RC1 (問題)
Spring Cloud Circuitbreaker 3.3.0-RC1 (問題)
Spring Cloud Task 3.3.0-RC1 (問題)
Spring Cloud Kubernetes 3.3.0-RC1 (問題)
Spring Cloud Bus 4.3.0-RC1 (問題)
Spring Cloud Commons 4.3.0-RC1 (問題)
Spring Cloud Openfeign 4.3.0-RC1 (問題)
Spring Cloud Stream 4.3.0-RC1 (問題)
Spring Cloud Function 4.3.0-RC1 (問題)
Spring Cloud Vault 4.3.0-RC1 (問題)

一如既往,我們歡迎您透過 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>2025.0.0-RC1</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.5.0-RC1'
  id 'io.spring.dependency-management' version '1.1.7'
}

//...

ext {
  set('springCloudVersion', "2025.0.0-RC1")
}

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 社群所有即將到來的活動。

檢視全部