保持领先
VMware 提供培训和认证,助您加速前进。
了解更多我代表社区,很高兴宣布 Spring Cloud 2023.0.0 Release Train 的通用版本(RELEASE)今天已发布。该版本可在 Maven Central 中找到。您可以查看 2023.0 的发布说明以获取更多信息。
此版本基于 Spring Boot 3.2.0。
用户现在能够将 REST 应用程序部署为AWS Lambda 或 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 上提供反馈。
使用 BOM (仅依赖管理) 开始使用 Maven
<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}"
}
}