Spring Cloud 2024.0.0-M2 (別名 Moorgate) 已釋出

版本釋出 | Ryan Baxter | 2024 年 10 月 9 日 | ...

我謹代表社群宣佈,Spring Cloud 2024.0.0 釋出火車線的里程碑 2 (M2) 版本現已可用。該版本可在 Spring Milestone 倉庫中找到。有關更多資訊,請檢視 2024.0.0 版本說明

2024.0.0-M2 釋出火車線的顯著變化

這個 Spring Cloud 版本基於 Spring Boot 3.4.0-M3。

這個版本的 GitHub 專案可以在 這裡 找到。

Spring Cloud OpenFeign

  • 支援 ignorecasePageable (#1047)

Spring Cloud Commons

  • 建立 TrustStore 而無需 KeyStore (#1394)

Spring Cloud Config

  • 資源可以使用給定的字元集儲存和接收 (#2115)
  • 新增 MongoDB 環境倉庫支援 (#2390)
  • 支援環境倉庫中的多個標籤 (#2449)

Spring Cloud Gateway

  • Webflux Java DSL 添加了巢狀布林謂詞的方法 (#2598 )
  • 為路由新增 enabled 標誌 (#3026)
  • 將 QPS、延遲等指標新增到 Grafana 模板 (#3014)
  • 修復多個路由使用相同 Redis 限速器桶的問題 (#2517)

Spring Cloud Stream

Spring Cloud Stream 4.2.0-M2 版本包含一些新的增強和 bug 修復。有關更多資訊,請參閱 此處

更多詳情請參閱 4.2.0-M2 里程碑

以下模組在 2024.0.0-M2 中進行了更新

模組 版本 問題
Spring Cloud Bus 4.2.0-M2 (問題)
Spring Cloud Contract 4.2.0-M2 (問題)
Spring Cloud Circuitbreaker 3.2.0-M2 (問題)
Spring Cloud Zookeeper 4.2.0-M2 (問題)
Spring Cloud Task 3.2.0-M2 (問題)
Spring Cloud Kubernetes 3.2.0-M2 (問題)
Spring Cloud Starter Build 2024.0.0-M2 (問題)
Spring Cloud Netflix 4.2.0-M2 (問題)
Spring Cloud Openfeign 4.2.0-M2 (問題)
Spring Cloud Commons 4.2.0-M2 (問題)
Spring Cloud Consul 4.2.0-M2 (問題)
Spring Cloud Config 4.2.0-M2 (問題)
Spring Cloud Vault 4.2.0-M2 (問題)
Spring Cloud Build 4.2.0-M2 (問題)
Spring Cloud Gateway 4.2.0-M2 (問題)
Spring Cloud Stream 4.2.0-M2 (問題)
Spring Cloud Function 4.2.0-M2 (問題)

一如既往,歡迎透過 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>2024.0.0-M2</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.0-M3'
  id 'io.spring.dependency-management' version '1.1.6'
}

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

ext {
  set('springCloudVersion', "2024.0.0-M2")
}

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

檢視全部