抢占先机
VMware 提供培训和认证,以加速您的进步。
了解更多我很高兴代表社区宣布 Spring Cloud 2023.0.5 (又名 Leyton) 发布列车的正式版 (RELEASE) 今天发布。该版本可以在 Maven Central 中找到。您可以查看 2023.0 的 发行说明以获取更多信息。
这主要是一个错误修复和依赖升级版本。请在此处查找问题和拉取请求:here。
以下模块已作为 2023.0.5 的一部分更新
| 模块 | 版本 | 问题 | 
|---|---|---|
| Spring Cloud Starter Build | 2023.0.5 | (问题) | 
| Spring Cloud Netflix | 4.1.5 | (问题) | 
| Spring Cloud Config | 4.1.5 | (问题) | 
| Spring Cloud Build | 4.1.5 | (问题) | 
| Spring Cloud Kubernetes | 3.1.5 | (问题) | 
| Spring Cloud Stream | 4.1.5 | (问题) | 
| Spring Cloud Function | 4.1.5 | (问题) | 
| Spring Cloud Circuitbreaker | 3.1.4 | (问题) | 
与往常一样,我们欢迎在 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}"
  }
}
//...