Spring Cloud 2021.0.7 (又名 Jubilee) 已发布

版本发布 | Olga Maciaszek-Sharma | 2023年4月28日 | ...

我很高兴代表社区宣布,Spring Cloud 2021.0.7 发布列车(又名 Jubilee)的通用可用性 (RELEASE) 版本已于今日发布。此版本可在 Maven Central 中找到。您可以查看 2021.0.7 发布说明以获取更多信息

2021.0.7 发布列车中的显著变化

有关此版本中包含的所有问题和拉取请求,请参见项目页面

此版本主要是一个错误修复版本。

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 上提供反馈。

Maven 起步使用 BOM(仅依赖管理)

<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 社区所有即将举行的活动。

查看所有