Spring Cloud 2021.0.7 (又名 Jubilee) 已釋出

釋出 | Olga Maciaszek-Sharma | 2023 年 4 月 28 日 | ...

我謹代表社群高興地宣佈 Spring Cloud 2021.0.7 Release Train (又名 Jubilee) 的正式版 (RELEASE) 今天釋出。該版本可以在 Maven Central 中找到。您可以檢視 2021.0.7 發行說明以獲取更多資訊

2021.0.7 Release Train 中的顯著變化

請參閱專案頁面,瞭解此版本中包含的所有問題和拉取請求。

此版本主要是一個錯誤修復版本。

Spring Cloud Gateway

  • 路徑解析最佳化 (2884)

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

模組 版本
Spring Cloud Netflix 3.1.6
Spring Cloud Config 3.1.7
Spring Cloud Build 3.1.7
Spring Cloud Sleuth 3.1.8
Spring Cloud Gateway 3.1.7
Spring Cloud Starter Build 2021.0.7
Spring Cloud Consul 3.1.3
Spring Cloud Contract 3.1.7
Spring Cloud Vault 3.1.3
Spring Cloud Kubernetes 2.1.7
Spring Cloud Zookeeper 3.1.3
Spring Cloud Task 2.4.6
Spring Cloud OpenFeign 3.1.7
Spring Cloud CircuitBreaker 2.1.7
Spring Cloud Stream 3.2.8
Spring Cloud Commons 3.1.6
Spring Cloud Function 3.2.10
Spring Cloud Cli 3.1.1

與往常一樣,我們歡迎您在 GitHubGitterStack OverflowTwitter 上提供反饋。

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

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-dependencies</artifactId>
      <version>2021.0.7</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 '2.7.11'
  id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}

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

repositories {
  mavenCentral()
}

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

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

檢視全部