領先一步
VMware 提供訓練和認證,以加速您的進展。
瞭解更多我謹代表社群宣布 Spring Cloud 2022.0.5 Release Train 的正式發行 (RELEASE) 版本於今日推出。此版本可在 Maven Central 找到。您可以查看 2022.0.5 發行說明 以取得更多資訊。
新增了在無伺服器環境 (例如 AWS) 中以原生可執行檔形式執行 Web 工作負載 (例如 SpringMVC) 的支援。更多文件即將推出,但您可以在此處查看範例 - https://github.com/aws/serverless-java-container/tree/main/samples/springboot3/pet-store-native
以下模組已更新,作為 2022.0.5 的一部分
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Vault | 4.0.2 | (問題) |
Spring Cloud Bus | 4.0.3 | (問題) |
Spring Cloud Zookeeper | 4.0.2 | (問題) |
Spring Cloud Openfeign | 4.0.6 | (問題) |
Spring Cloud Commons | 4.0.5 | (問題) |
Spring Cloud Task | 3.0.4 | (問題) |
Spring Cloud Kubernetes | 3.0.5 | (問題) |
Spring Cloud Function | 4.0.6 | (問題) |
Spring Cloud Circuitbreaker | 3.0.4 | (問題) |
Spring Cloud Netflix | 4.0.4 | (問題) |
Spring Cloud Starter Build | 2022.0.5 | (問題) |
Spring Cloud Stream | 4.0.5 | (問題) |
Spring Cloud Gateway | 4.0.9 | (問題) |
Spring Cloud Build | 4.0.6 | (問題) |
Spring Cloud Config | 4.0.5 | (問題) |
Spring Cloud Consul | 4.0.4 | (問題) |
Spring Cloud Contract | 4.0.5 | (問題) |
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見回饋。
開始使用 Maven 與 BOM (僅限依賴項管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.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
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2022.0.5'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}