Spring Cloud 2023.0.2 (OSS) 和 2022.0.7 (Enterprise) 已發布

發布 | Glenn Renfro | 2024 年 5 月 31 日 | ...

我謹代表社群宣布 Spring Cloud 2023.0.2 Release Train 的正式版本 (RELEASE) 今天正式推出。 此版本可以在 Maven Central 中找到。 您可以查看 2023.0.2 的版本資訊以取得更多資訊

我們也很高興宣布 Spring Cloud 2022.0.7 Release Train 的正式版本 (RELEASE) 今天正式推出。 更多資訊可以在 https://spring.dev.org.tw/support 找到。

2023.0.2 Release Train 中的重要變更

此版本增加了與 Spring Boot 3.3.x 以及 Spring Boot 3.2.x 的相容性。

請參閱 GitHub 專案 以了解此版本中的所有變更。

Spring Cloud Kubernetes

  • 已將 Kubernetes Java Client 升級到 19.0.1
  • 將選擇性命名空間新增到 fabric8 負載平衡器 (#1604)
  • 從組態伺服器傳回所有 PropertySources (#1600)

Spring Cloud Function

Spring Cloud Stream

Spring Cloud Gateway

  • 使用戶端回應可作為 Server WebMVC 中的請求屬性使用 (#3405)

Spring Cloud Config

  • 允許使用者提供自定義器以自定義 HttpClient 行為 (#2410)

Spring Cloud Netflix

  • 新增透過 RestTemplateBuilder 設定 RestTemplate 的支援 (#4262)
  • 升級至 Eureka Server 2.0.2

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

模組 版本 問題
Spring Cloud Vault 4.1.2 (問題)
Spring Cloud Kubernetes 3.1.2 (問題)
Spring Cloud Function 4.1.2 (問題)
Spring Cloud Commons 4.1.3 (問題)
Spring Cloud Openfeign 4.1.2 (問題)
Spring Cloud Starter Build 2023.0.2 (問題)
Spring Cloud Stream 4.1.2 (問題)
Spring Cloud Gateway 4.1.4 (問題)
Spring Cloud Contract 4.1.3 (問題)
Spring Cloud Config 4.1.2 (問題)
Spring Cloud Build 4.1.2 (問題)
Spring Cloud Netflix 4.1.2 (問題)

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

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


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

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

檢視全部