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

釋出 | Spencer Gibb | 2023年12月6日 | ...

我代表社群,很高興宣佈 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 中(問題初始 PR
  • Gateway Actuator 發現功能增強(PR 3147

Spring Cloud Function

Spring Cloud Openfeign

  • Java HttpClient 支援(#689

Spring Cloud Commons

  • 重啟時的重新整理範圍 - 專為適應 JVM Checkpoint-Restart 上的環境變化而設計的功能(PR 1266
  • 對新的 RestClient 的負載均衡器支援(1293
  • 確定性子集負載均衡演算法,用於限制例項數量(1288

Spring Cloud Config

  • Config Server 對 Native image 的支援(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 上提供反饋。

使用 BOM (僅依賴管理) 開始使用 Maven

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

檢視全部