Spring Cloud 2023.0.1(又名 Leyton)已釋出

釋出 | Ryan Baxter | 2024年3月28日 | ...

我很高興代表社群宣佈,通用版本(RELEASE)的 Spring Cloud 2023.0.1 釋出列車今天已可用。該版本可在 Maven Central 中找到。您可以檢視 2023.0.1 版本說明以獲取更多資訊

2023.0.1 釋出列車中的重要變化

基於 Spring Boot 3.2.4。

請參閱該 GitHub 專案以獲取此版本中的所有更改。

Spring Cloud Kubernetes

  • 在 Fabric8 LoadBalancer 實現中新增對選擇性名稱空間的支援 (#1604)

Spring Cloud Function

  • 添加了原生支援,可將 WEB Workloads 作為 AWS Lambda 進行部署和處理,示例可在 此處 找到
  • 修復了 AWS Lambda 的 WEB 支援中的過濾器註冊問題
  • 修復了 AWS Lambda 的 WEB 支援中的 SnapStart 處理問題

Spring Cloud OpenFeign

  • 支援定製 JDK 11+ HttpClient (#999)

Spring Cloud Stream

Spring Cloud Gateway

  • Gateway Server MVC 支援 AOT (#3171)
  • 允許透過 Java DSL 配置強制指定過濾器順序(#3134)
  • 新增停用 RouteRefreshListener 的選項 (#2958)
  • 新增屬性以在需要時停用過濾器 (#3310)

以下模組作為 2023.0.1 版本的一部分進行了更新

模組 版本 問題
Spring Cloud Vault 4.1.1 (問題)
Spring Cloud Bus 4.1.1 (問題)
Spring Cloud Zookeeper 4.1.1 (問題)
Spring Cloud Kubernetes 3.1.1 (問題)
Spring Cloud Task 3.1.1 (問題)
Spring Cloud Function 4.1.1 (問題)
Spring Cloud Commons 4.1.2 (問題)
Spring Cloud Openfeign 4.1.1 (問題)
Spring Cloud Circuitbreaker 3.1.1 (問題)
Spring Cloud Starter Build 2023.0.1 (問題)
Spring Cloud Stream 4.1.1 (問題)
Spring Cloud Gateway 4.1.2 (問題)
Spring Cloud Consul 4.1.1 (問題)
Spring Cloud Contract 4.1.2 (問題)
Spring Cloud Config 4.1.1 (問題)
Spring Cloud Build 4.1.1 (問題)
Spring Cloud Netflix 4.1.1 (問題)

一如既往,歡迎在 GitHubGitterStack OverflowTwitter 上提供反饋意見。

要使用帶有 BOM(僅依賴管理)的 Maven 開始使用


<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2023.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

buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}

apply plugin: "io.spring.dependency-management"

dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2023.0.1'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

訂閱 Spring 新聞通訊

透過 Spring 新聞通訊保持聯絡

訂閱

領先一步

VMware 提供培訓和認證,為您的進步加速。

瞭解更多

獲得支援

Tanzu Spring 提供 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位制檔案,只需一次簡單訂閱。

瞭解更多

即將舉行的活動

檢視 Spring 社群所有即將舉行的活動。

檢視全部