Spring Cloud 2024.0.1 (又名 Moorgate) 已釋出

版本釋出 | Ryan Baxter | 2025年3月19日 | ...

我很高興代表社群宣佈,Spring Cloud 2024.0.1 釋出列車 (又名 Moorgate) 已於今日釋出。該版本可在 Maven Central 中找到。您可以檢視 2024.0.1 發行說明以獲取更多資訊

2024.0.1 釋出列車中的顯著變化

此 Spring Cloud 版本主要是一個錯誤修復版本,基於 Spring Boot 3.4.3。

此版本中解決的問題的完整列表可在此專案中找到。

Spring Cloud Kubernetes

  • KubernetesEnvironmentRepository 可用作配置伺服器中的複合配置源 (#1873)

Spring Cloud Commons

  • 支援為 extra-refreshable 和 never-refreshable 配置 bean 名稱和 bean 型別 (#1457)

Spring Cloud Stream

  • 啟用延遲初始化會破壞 Kafka Streams #3065
  • 闡明自定義錯誤處理程式會停用自動傳送到 DLQ #3063
  • spring.cloud.stream.function.autodetect 新增到 additional-spring-configuration-metadata.json #3052
  • 修復(observability):為 StreamBridge 中的動態 MessageChannels 註冊 ObservationRegistry (#3033) #3036
  • 支援批處理的生產者繫結 #2969

Spring Cloud Gateway

  • 在 CircuitBreakerFilterFactory 中啟用正文快取 (#3543)

Spring Cloud Netflix

  • 允許在 EurekaClientHttpRequestFactorySupplier 中自定義 Apache HttpClient 5 RequestConfig (#4391)

以下模組已作為 2024.0.1 的一部分進行了更新

模組 版本 問題
Spring Cloud Vault 4.2.1 (問題)
Spring Cloud Bus 4.2.1 (問題)
Spring Cloud Task 3.2.1 (問題)
Spring Cloud Zookeeper 4.2.1 (問題)
Spring Cloud Kubernetes 3.2.1 (問題)
Spring Cloud Function 4.2.2 (問題)
Spring Cloud Commons 4.2.1 (問題)
Spring Cloud Circuitbreaker 3.2.1 (問題)
Spring Cloud Openfeign 4.2.1 (問題)
Spring Cloud Starter Build 2024.0.1 (問題)
Spring Cloud Stream 4.2.1 (問題)
Spring Cloud Consul 4.2.1 (問題)
Spring Cloud Gateway 4.2.1 (問題)
Spring Cloud Contract 4.2.1 (問題)
Spring Cloud Config 4.2.1 (問題)
Spring Cloud Build 4.2.1 (問題)
Spring Cloud Netflix 4.2.1 (問題)

一如既往,我們歡迎大家在 GitHubGitterStack OverflowTwitter 上提供反饋。


Maven 起步使用 BOM(僅依賴管理)

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2024.0.1</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.3'
    id 'io.spring.dependency-management' version '1.1.7'
}

// ..

repositories {
    mavenCentral()
}

ext {
    set('springCloudVersion', "2024.0.1")
}

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

檢視所有