Spring Cloud 2024.0.0-RC1 (aka Moorgate) 已發布

發布 | Olga Maciaszek-Sharma | 2024 年 11 月 08 日 | ...

我謹代表社群宣布,Spring Cloud 2024.0.0 Release Train 的候選發布版本 1 (RC1) 今天正式發布。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 2024.0.0-RC1 發行說明 以取得更多資訊。

2024.0.0-RC1 Release Train 中的重大變更

此 Spring Cloud 版本基於 Spring Boot 3.4.0-RC1。

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

Spring Cloud Gateway

  • 在 MVC Server 中實作 ModifyResponseBody (#3189)
  • 使用新的 Spring Boot http client 自動配置框架 (#3571)

Spring Cloud Netflix

  • 新增 RestClient 支援並使其成為 SC Netflix Eureka 預設使用的 HTTP client (#4257, #4363)

Spring Cloud Commons

  • 新增對負載平衡 RestTemplateBuilder 的支援 (#1402)

Spring Cloud Config

  • 讓 Config Server 處理多個標籤,而不是由 Client 處理 (#2583)

Spring Cloud Bus

  • 新增關閉事件、端點和監聽器 (#277)

以下模組已更新為 2024.0.0-RC1 的一部分

模組 版本 問題
Spring Cloud Bus 4.2.0-RC1 (問題)
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-RC1 (問題)
Spring Cloud Kubernetes 3.2.0-RC1 (問題)
Spring Cloud Starter Build 2024.0.0-RC1 (問題)
Spring Cloud Netflix 4.2.0-RC1 (問題)
Spring Cloud OpenFeign 4.2.0-RC1 (問題)
Spring Cloud Commons 4.2.0-RC1 (問題)
Spring Cloud Consul 4.2.0-RC1 (問題)
Spring Cloud Config 4.2.0-RC1 (問題)
Spring Cloud Vault 4.2.0-RC1 (問題)
Spring Cloud Build 4.2.0-RC1 (問題)
Spring Cloud Gateway 4.2.0-RC1 (問題)
Spring Cloud Stream 4.2.0-RC1 (問題)
Spring Cloud Function 4.2.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>2024.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.4.0-RC1'
  id 'io.spring.dependency-management' version '1.1.6'
}

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

ext {
  set('springCloudVersion', "2024.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 社群中所有即將到來的活動。

檢視全部