Spring Cloud 2022.0.3 (代號 Kilburn) 已釋出

釋出 | Spencer Gibb | 2023 年 5 月 25 日 | ...

我很高興代表社群宣佈,Spring Cloud 2022.0.3 Release Train 的通用版本 (RELEASE) 於今日釋出。該版本可在 Maven Central 中找到。您可以查閱 2022.0.3 版本說明獲取更多資訊

2022.0.3 Release Train 的顯著變化

此版本相容 Spring Boot 3.1.x。

檢視此版本的所有 issue 和 pull request 在此

Spring Cloud Config 中存在一個已知缺陷,與透過服務發現定位配置伺服器有關。為了在此版本中啟用此功能,您需要在環境變數或系統屬性中設定 spring.cloud.config.discovery.enabled=truespring.cloud.config.discovery.serviceId。此 bug 將在下個版本中修復。

Spring Cloud Function

  • 支援 Spring Integration,請參見 (1032)

Spring Cloud Commons

  • 修復了在某些情況下,引導屬性源在應用上下文生命週期中新增過晚的問題 (1228)

Spring Cloud Gateway

  • 添加了透過 actuator 批次新增路由的功能 (2915)
  • 添加了透過 actuator 重新整理部分路由的功能 (2916)

Spring Cloud Stream

  • 添加了在 Kafka reactive binder 中支援基於正則表示式的目標模式 (2709)

Spring Cloud Function

  • 添加了對將現有 Spring MVC REST 應用部署到無伺服器平臺(例如 AWS Lambda Functions 和 Azure Functions)的初步支援。
  • 新的 Spring Integration 模組,允許您在 Spring Integration DSL 中使用 Spring Cloud Function。

Spring Cloud Config

  • 支援 profile 特定的配置資料 (2260)

Spring Cloud Netflix

  • 修復了引用 Jersey 1 類而不是 Jersey 3 的問題 (4176)(4177)

以下模組已作為 2022.0.3 的一部分進行更新

模組 版本 問題
Spring Cloud Kubernetes 3.0.3 (問題)
Spring Cloud Task 3.0.3 (問題)
Spring Cloud Function 4.0.3 (問題
Spring Cloud Commons 4.0.3 (問題)
Spring Cloud Circuitbreaker 3.0.2  
Spring Cloud Openfeign 4.0.3 (問題)
Spring Cloud Gateway 4.0.6 (問題)
Spring Cloud Stream 4.0.3 (問題)
Spring Cloud Contract 4.0.3 (問題)
Spring Cloud Config 4.0.3 (問題)
Spring Cloud Build 4.0.3  
Spring Cloud Starter Build 2022.0.3  
Spring Cloud Netflix 4.0.2 (問題)

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

路線圖

請關注我們的 Github ProjectsRelease Milestones,以跟蹤我們的 2023.0 Release Train(代號 Leyton)。

2022.0.3 入門指南

使用 Maven 和 BOM (僅依賴管理) 入門


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

repositories {
  mavenCentral()
}

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

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

檢視全部