领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我谨代表社区,非常高兴地宣布 Spring Cloud 2022.0.0 Release Train 的 Milestone 5 (M5) 今日发布。您可以在 Spring Milestone 仓库中找到该发布版本。您可以查阅 2022.0.0 的 发布说明以获取更多信息。
ServiceInstance 自定义负载均衡的请求 (#735)作为 2022.0.0-M5 的一部分,以下模块已更新:
| 模块 | 版本 | 问题 |
|---|---|---|
| Spring Cloud Stream | 4.0.0-M5 | |
| Spring Cloud Config | 4.0.0-M5 | (issues) |
| Spring Cloud Build | 4.0.0-M5 | (issues) |
| Spring Cloud Consul | 4.0.0-M5 | (issues) |
| Spring Cloud Gateway | 4.0.0-M5 | (issues) |
| Spring Cloud Kubernetes | 3.0.0-M5 | (issues) |
| Spring Cloud Netflix | 4.0.0-M1 | (issues) |
| Spring Cloud Starter Build | 2022.0.0-M5 | |
| Spring Cloud Circuitbreaker | 3.0.0-M5 | (issues) |
| Spring Cloud Contract | 4.0.0-M5 | (issues) |
| Spring Cloud Bus | 4.0.0-M5 | (issues) |
| Spring Cloud Function | 4.0.0-M5 | |
| Spring Cloud Task | 3.0.0-M5 | (issues) |
| Spring Cloud Zookeeper | 4.0.0-M5 | (issues) |
| Spring Cloud Openfeign | 4.0.0-M5 | (issues) |
| Spring Cloud Vault | 4.0.0-M5 | (issues) |
| Spring Cloud Commons | 4.0.0-M5 | (issues) |
一如既往,我们欢迎大家在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供反馈。
Maven 起步使用 BOM(仅依赖管理)
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.0-M5</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 'org.springframework.boot' version '3.0.0-M5'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', "2022.0.0-M5")
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
}
...
}