Spring Cloud 2021.0.0-RC1(代號Jubilee)已釋出

版本釋出 | Marcin Grzejszczak | 2021年11月3日 | ...

我代表社群高興地宣佈,代號Jubilee的Spring Cloud 2021.0釋出火車候選版本1(RC1)今天已可用。該版本可在Spring Milestone儲存庫中找到。您可以檢視2021.0的釋出說明以獲取更多資訊

2021.0釋出火車中的顯著變化

RC1與Spring Boot 2.6.0-RC1相容

有關此版本中包含的所有問題和拉取請求,請參見專案頁面

Spring Cloud Commons

  • 增加了對每個LoadBalancer客戶端屬性的支援。(問題)
  • 使用負載均衡的RestTemplate時新增X-Forwarded-*頭。(問題)

Spring Cloud Kubernetes

  • 增加了在 spring.cloud.kubernetes.enabled=false 時停用 Discovery 的支援。(問題)
  • 改進了 ConfigMap 無法讀取時的故障處理。(問題)
  • 增加了對讀取配置的快速失敗和重試支援。(問題)

Spring Cloud Openfeign

  • 增加了對每個 LoadBalancer 客戶端屬性的支援。(問題)
  • 增加了對 Feign 客戶端的 @Cachable 支援。(問題)

Spring Cloud Sleuth

  • 增加了對 Mongo 響應式驅動程式進行監測的支援。(問題)
  • 增加了對 Spring Cloud Stream 響應式程式設計的支援。(問題)

Spring Cloud Contract

  • 增加了對每個 LoadBalancer 客戶端屬性的支援。(問題)

Spring Cloud Gateway

  • 增加了對每個 LoadBalancer 客戶端屬性的支援。(問題)
  • 增加了對路由謂詞訪問者模式的支援。(問題)

以下模組已作為 2021.0.0-RC1 的一部分進行了更新

模組 版本 問題
Spring Cloud Vault 3.1.0-RC1
Spring Cloud Bus 3.1.0-RC1
Spring Cloud CLI 3.1.0-RC1
Spring Cloud Zookeeper 3.1.0-RC1
Spring Cloud Circuitbreaker 2.1.0-RC1
Spring Cloud Commons 3.1.0-RC1 (問題)
Spring Cloud Kubernetes 2.1.0-RC1 (問題)
Spring Cloud Openfeign 3.1.0-RC1 (問題)
Spring Cloud Task 2.4.0-RC1 (問題)
Spring Cloud Sleuth 3.1.0-RC1 (問題)
Spring Cloud Contract 3.1.0-RC1 (問題)
Spring Cloud Consul 3.1.0-RC1
Spring Cloud Gateway 3.1.0-RC1 (問題)
Spring Cloud Config 3.1.0-RC1 (問題)
Spring Cloud Cloudfoundry 3.1.0-RC1
Spring Cloud Starter Build 2021.0.0-RC1
Spring Cloud Netflix 3.1.0-RC1

一如既往,我們歡迎大家在 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>2021.0.0-RC1</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 'org.springframework.boot' version '2.6.0-RC1'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}

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

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

ext {
  set('springCloudVersion', "2021.0.0-RC1")
}

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

檢視所有