我代表社区高兴地宣布,Spring Cloud 2021.0.8发布列车的一般可用性(RELEASE)已于今天推出。该版本可在Maven中心找到。你可以查看2021.0.8发布说明,了解更多信息。
2021.0.8版本中值得注意的变化
Spring Cloud Commons
Spring Cloud LoadBalancer – 允许根据请求对实例进行链式过滤(#1227 )
以下模块作为2021.0.8的一部分进行了更新:
Module | Version | Issues |
---|---|---|
Spring Cloud Kubernetes | 2.1.8 | (tag) |
Spring Cloud Task | 2.4.6 | (tag) |
Spring Cloud Function | 3.2.11 | (issues) |
Spring Cloud Commons | 3.1.7 | (issues) |
Spring Cloud Circuitbreaker | 2.1.7 | (tag) |
Spring Cloud Openfeign | 3.1.8 | (issues) |
Spring Cloud Gateway | 3.1.8 | (issues) |
Spring Cloud Stream | 3.2.9 | (tag) |
Spring Cloud Contract | 3.1.8 | (issues) |
Spring Cloud Config | 3.1.8 | (issues) |
Spring Cloud Build | 3.1.8 | |
Spring Cloud Starter Build | 2021.0.8 | |
Spring Cloud Netflix | 3.1.7 | (issues) |
一如既往,我们欢迎在GitHub、Gitter、Stack Overflow或Twitter上提供反馈。
路线图
请关注我们的Github项目和发布里程碑,以跟踪我们的2021.0发布列车(又称Jubilee)。
开始使用2021.0.8
要开始使用Maven的BOM(仅限依赖性管理):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2021.0.8</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>
or with Gradle:
plugins {
id 'java'
id 'org.springframework.boot' version '2.6.15'
id 'io.spring.dependency-management' version '1.1.0'
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2021.0.8")
}
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}"
}
}
转自 https://spring.io/blog/2023/06/30/spring-cloud-2021-0-8-aka-jubilee-is-available