Spring Cloud 2021.0.0 (codename Jubilee) 已發布

發布 | Spencer Gibb | 2021 年 12 月 02 日 | ...

我謹代表社群宣布 Spring Cloud 2021.0 發行列車 (代號 Jubilee) 的正式版本於今日發布。此版本可在 Maven Central 找到。您可以查看 2021.0 的發行說明以取得更多資訊。

2021.0 發行列車中的重大變更

2021.0.0 與 Spring Boot 2.6.1 相容

請參閱專案頁面以了解此版本中包含的所有議題和提取請求。

Spring Cloud Commons

  • 支援每個 LoadBalancer 的組態屬性 (也新增至 Gateway、Contract 和 OpenFeign)。

Spring Cloud Config

  • 與 AWS Secrets Manager、AWS Parameter Store 和 GCP Secret Manager 整合。

Spring Cloud Function

  • 支援 gRPC、透過 Actuator 端點的 FunctionCatalog、AWS 改善、CloudEvents 等。您可以在這篇部落格文章中閱讀更多資訊

Spring Cloud Gateway

  • Redis Route Repository
  • HTTP 2 支援
  • gRPC 支援

Spring Cloud Kubernetes

  • Config Server 和 Discovery Controllers

Spring Cloud OpenFeign

  • 支援 @Cachable

Spring Cloud Sleuth

  • Tomcat、Spring Vault、R2DBC、JDBC、Spring Cloud Deployer、Spring Cloud Skipper、Reactor Kafka、Spring TX、Spring Batch、RSocket、Spring Cloud Task、Spring Cloud Config、Kotlin Coroutines 等的檢測。

Spring Cloud Stream

  • 在此版本中,已解決約 100 個問題,包括 核心KafkaRabbit binder。

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

模組 版本 議題
Spring Cloud Vault 3.1.0
Spring Cloud Bus 3.1.0
Spring Cloud Cli 3.1.0
Spring Cloud Zookeeper 3.1.0
Spring Cloud Circuitbreaker 2.1.0 (議題)
Spring Cloud Commons 3.1.0 (議題)
Spring Cloud Kubernetes 2.1.0 (議題)
Spring Cloud OpenFeign 3.1.0 (議題)
Spring Cloud Task 2.4.0 (議題)
Spring Cloud Sleuth 3.1.0 (議題)
Spring Cloud Contract 3.1.0 (議題)
Spring Cloud Consul 3.1.0
Spring Cloud Function 3.2.1 (議題)
Spring Cloud Stream 3.2.1 請參閱上方議題列表
Spring Cloud Gateway 3.1.0 (議題)
Spring Cloud Config 3.1.0 (議題)
Spring Cloud Cloudfoundry 3.1.0
Spring Cloud Starter Build 2021.0.0
Spring Cloud Netflix 3.1.0 (議題)

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

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


<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.1'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}

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

repositories {
  mavenCentral()
}

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

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

檢視全部