Spring Cloud 2023.0.0-M1 (即 Leyton) 已釋出

釋出 | Spencer Gibb | 2023年8月10日 | ...

我代表社群很高興地宣佈,Spring Cloud 2023.0 Release Train 的里程碑 1 (M1) 版本今天已經發布。該版本可以在 Spring Milestone 倉庫中找到。您可以檢視 2023.0 釋出說明以獲取更多資訊

2023.0.0-M1 Release Train 中的顯著變更

檢視所有問題和 Pull Request 此處

Spring Cloud Gateway

Spring Cloud Stream

  • 透過專用處理器初步支援執行時 Kafka Streams 繫結器錯誤處理
  • Kafka 繫結器健康檢查改進
  • 分割槽處理改進

Spring Cloud Openfeign

  • Java HttpClient 支援 (#689)

Spring Cloud Kubernetes

  • @ryanjbaxter 升級 fabric8 到 6.7.2 (#1373)

以下模組作為 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 社群所有即將舉行的活動。

檢視全部