領先一步
VMware 提供訓練和認證,以加速您的進展。
深入瞭解我謹代表社群宣布 Spring Cloud 2022.0.4 發布列車的正式版本 (RELEASE) 今天正式發布。此版本可在 Maven Central 找到。您可以查看 2022.0.4 發行說明 以取得更多資訊。
此版本基於 Spring Boot 3.0.9。
如需此版本中已解決問題的完整清單,請參閱此 GitHub 專案。
12.4
(878)修正了定義單一輸入/輸出綁定時,函式自動偵測的問題。修正了 DefaultPollableMessageSource
中的類型探索問題。改善了共用 Bean 載入例外處理 (https://github.com/spring-cloud/spring-cloud-stream/issues/2744) 修正了使用反應式函式時,分割區選取器策略的問題 (https://github.com/spring-cloud/spring-cloud-stream/issues/2750) KafkaBinderHealthIndicator 重構。修正了 StreamBridge
雙重分割區問題 (https://github.com/spring-cloud/spring-cloud-stream/issues/2759) 為 Reactor Kafka Binder 新增了健康指示器 (https://github.com/spring-cloud/spring-cloud-stream/issues/2752) 解決了透過 sendto 標頭的動態目的地問題,此問題會導致分割區金鑰擷取器叫用問題 (https://github.com/spring-cloud/spring-cloud-stream/issues/2770) 解決了 BindersHealthContributor 的執行緒安全問題 (https://github.com/spring-cloud/spring-cloud-stream/issues/2780)
2.0.1
,其中包含使用安全副本所需的修正程式 (4161)以下模組已更新為 2022.0.4 的一部分
模組 | 版本 | 問題 |
---|---|---|
Spring Cloud Zookeeper | 4.0.1 | (問題) |
Spring Cloud Kubernetes | 3.0.4 | (問題) |
Spring Cloud Function | 4.0.5 | (問題) |
Spring Cloud Commons | 4.0.4 | (問題) |
Spring Cloud CircuitBreaker | 3.0.3 | (問題) |
Spring Cloud OpenFeign | 4.0.4 | (問題) |
Spring Cloud Gateway | 4.0.7 | (問題) |
Spring Cloud Stream | 4.0.4 | (問題) |
Spring Cloud Consul | 4.0.3 | (問題) |
Spring Cloud Build | 4.0.5 | (問題) |
Spring Cloud Config | 4.0.4 | (問題) |
Spring Cloud Contract | 4.0.4 | (問題) |
Spring Cloud Starter Build | 2022.0.4 | (問題) |
Spring Cloud Netflix | 4.0.3 | (問題) |
一如既往,我們歡迎您在 GitHub、Gitter、Stack Overflow 或 Twitter 上提供意見反應。
若要開始使用 Maven 和 BOM (僅限依賴性管理)
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2022.0.4</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.4'
}
}
dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}