我代表社区很高兴地宣布,Spring Cloud 2023.0.5(又名 Leyton)Release Train 的正式发布 (RELEASE) 现已推出。可以在 Maven Central 中找到该版本。有关更多信息,您可以查看 2023.0 发行说明。
2023.0.5 版本系列中的显著更改
这主要是 bug 修复和依赖项升级版本。请在此处找到问题和拉取请求。
以下模块已作为 2023.0.5 的一部分进行了更新:
The following modules were updated as part of 2023.0.5:
Module | Version | Issues |
---|---|---|
Spring Cloud Starter Build | 2023.0.5 | (issues) |
Spring Cloud Netflix | 4.1.5 | (issues) |
Spring Cloud Config | 4.1.5 | (issues) |
Spring Cloud Build | 4.1.5 | (issues) |
Spring Cloud Kubernetes | 3.1.5 | (issues) |
Spring Cloud Stream | 4.1.5 | (issues) |
Spring Cloud Function | 4.1.5 | (issues) |
Spring Cloud Circuitbreaker | 3.1.4 | (issues) |
与往常一样,我们欢迎在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
要开始使用带有 BOM 的 Maven(仅限依赖项管理):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2023.0.5</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 '3.3.7'
id 'io.spring.dependency-management' version '1.1.7'
}
//...
ext {
set('springCloudVersion', "2023.0.4")
}
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/2025/01/10/spring-cloud-2023-0-5-aka-leyton-has-been-released