Spring Cloud 2023.0.0 (又名 Leyton) 現已推出

發佈 | Spencer Gibb | 2023 年 12 月 06 日 | ...

我謹代表社群,很高興宣布 Spring Cloud 2023.0.0 Release Train 的正式版本 (RELEASE) 今天正式發佈。此版本可在 Maven Central 找到。您可以查看 2023.0 發行說明 以取得更多資訊。


2023.0 Release Train 的重大變更

此版本基於 Spring Boot 3.2.0。

請參閱 2023.0.0 中的所有問題 此處

Spring Cloud Gateway

  • Spring Cloud Gateway Server MVC,與 Servlet/Spring MVC 相容的閘道包含在 2023.0 中 (issue, initial PR)
  • Gateway Actuator 探索增強功能 (PR 3147)

Spring Cloud Function

Spring Cloud Openfeign

  • Java HttpClient 支援 (#689)

Spring Cloud Commons

  • 重新啟動時的 Refresh Scope - 一項量身定制的功能,允許在 JVM Checkpoint-Restart 時適應環境變更 (PR 1266)
  • RestClient 的負載平衡器支援 (1293
  • 用於限制實例數量的確定性子集負載平衡演算法 (1288)

Spring Cloud Config

  • Config Server 的原生映像檔支援 (PR 2361)

Spring Cloud Kubernetes

  • 將 fabric8 升級至 6.7.2 (#1373)
  • 將 Kubernetes Java Client 升級至 19.0.0 (1502)

Spring Cloud Build

  • 所有 Spring Cloud 文件均使用 Antora 建置,其中包括新的搜尋功能。

以下模組已更新為 2023.0.0 的一部分

模組 版本 問題
Spring Cloud Function 4.1.0 (問題)
Spring Cloud Vault 4.1.0 (問題)
Spring Cloud Zookeeper 4.1.0 (問題)
Spring Cloud Circuitbreaker 3.1.0 (問題)
Spring Cloud Task 3.1.0 (問題)
Spring Cloud Kubernetes 3.1.0 (問題)
Spring Cloud Starter Build 2023.0.0 (問題)
Spring Cloud Openfeign 4.1.0 (問題)
Spring Cloud Bus 4.1.0 (問題)
Spring Cloud Stream 4.1.0 (問題)
Spring Cloud Commons 4.1.0 (問題)
Spring Cloud Contract 4.1.0 (問題)
Spring Cloud Netflix 4.1.0 (問題)
Spring Cloud Consul 4.1.0 (問題)
Spring Cloud Config 4.1.0 (問題)
Spring Cloud Build 4.1.0 (問題)
Spring Cloud Gateway 4.1.0 (問題)

一如既往,我們歡迎您在 GitHubGitterStack OverflowTwitter 上提供意見反應。

若要開始使用 Maven 和 BOM (僅限依賴項管理)

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

repositories {
  mavenCentral()
}

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

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

檢視全部