领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我很高兴代表社区宣布,Spring Cloud 2023.0.0 发布列车通用版本(RELEASE)已于今日发布。该版本可在Maven Central中找到。您可以查看2023.0的发布说明以获取更多信息。
此版本基于Spring Boot 3.2.0。
在此处查看2023.0.0中的所有问题:这里。
用户现在可以将REST应用程序部署为AWS Lambdas或Azure Functions
通过spring-cloud-function-web部署为REST端点的函数的CRUD映射
RestClient 的负载均衡器支持 (1293)以下模块作为 2023.0.0 的一部分进行了更新
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Function | 4.1.0 | (问题) |
| Spring Cloud Vault | 4.1.0 | (问题) |
| Spring Cloud Zookeeper | 4.1.0 | (问题) |
| Spring Cloud Circuitbreaker | 3.1.0 | (问题) |
| Spring Cloud Task | 3.1.0 | (问题) |
| Spring Cloud Kubernetes | 3.1.0 | (问题) |
| Spring Cloud Starter Build | 2023.0.0 | (问题) |
| Spring Cloud Openfeign | 4.1.0 | (问题) |
| Spring Cloud Bus | 4.1.0 | (问题) |
| Spring Cloud Stream | 4.1.0 | (问题) |
| Spring Cloud Commons | 4.1.0 | (问题) |
| Spring Cloud Contract | 4.1.0 | (问题) |
| Spring Cloud Netflix | 4.1.0 | (问题) |
| Spring Cloud Consul | 4.1.0 | (问题) |
| Spring Cloud Config | 4.1.0 | (问题) |
| Spring Cloud Build | 4.1.0 | (问题) |
| Spring Cloud Gateway | 4.1.0 | (问题) |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2023.0.0</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.2.0'
id 'io.spring.dependency-management' version '1.1.4'
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', "2023.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}"
}
}