Spring Cloud 2023.0.0-M1 (又名 Leyton) 已發布

發布 | Spencer Gibb | 2023 年 8 月 10 日 | ...

我謹代表社群宣布,Spring Cloud 2023.0 Release Train 的 Milestone 1 (M1) 今天發布。此版本可在 Spring Milestone 儲存庫中找到。您可以查看 2023.0 發行說明 以取得更多資訊。

2023.0.0-M1 Release Train 的重大變更

在此查看所有問題和提取請求。

Spring Cloud Gateway

Spring Cloud Stream

  • 初步支援透過特殊處理器進行執行階段 Kafka Streams binder 錯誤處理
  • Kafka binder 健康檢查改進
  • 分區處理改進

Spring Cloud Openfeign

  • Java HttpClient 支援 (#689)

Spring Cloud Kubernetes

  • 由 @ryanjbaxter 在 (#1373) 中將 fabric8 升級至 6.7.2

下列模組已更新,作為 2023.0.0-M1 的一部分

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

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

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

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2023.0.0-M1</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-M1'
  id 'io.spring.dependency-management' version '1.1.3'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'

java {
  sourceCompatibility = '17'
}

repositories {
  mavenCentral()
  maven { url 'https://repo.spring.io/milestone' }
}

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

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

取得 Spring 電子報

隨時掌握 Spring 電子報的最新消息

訂閱

領先一步

VMware 提供訓練和認證,以加速您的進展。

了解更多

取得支援

Tanzu Spring 在一個簡單的訂閱中,為 OpenJDK™、Spring 和 Apache Tomcat® 提供支援和二進位檔案。

了解更多

即將到來的活動

查看 Spring 社群中所有即將到來的活動。

檢視全部