皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Spring Cloud 2022.0.2发布

Spring Cloud 2022.0.2发布

我代表社区高兴地宣布,Spring Cloud 2022.0.2发布列车的一般可用性(RELEASE)已于今天推出。该版本可在Maven中心找到。您可以查看2022.0.2发布说明了解更多信息。

2022.0.2发布列车中值得注意的变化
在此查看该版本中包含的所有问题和拉动请求。

Spring Cloud Kubernetes
增加了对使用Fabric8 DiscoveryClient的外部名称服务的支持(#1243)
为ServiceInstance添加Pod元数据和注解(#1254)

Spring Cloud Contract

允许sendMessage处理来自文件的主体(.1867)
使用RestTemplate拦截器放松SSL验证(#1869)

Spring Cloud Commons

允许分批发射健康检查实例(#1122)

Spring Cloud OpenFeign
为用户提供的参数和返回类型注册本地反射提示(#849)
支持在运行时为本地图像设置FeignClient URL (#807)
允许为底层OKHttp客户端设置协议(#825)
为Fallback增加使用工厂Bean的可能性 (#822)

Spring Cloud Commons

错误修复和改进

Spring Cloud Stream

在批处理模式下增加对DLQ的支持 Bug修复和增强功能

Spring Cloud Consul
修正了使用spring.config.import=consul时CONSUL_TOKEN无法读取的问题:(738)
ACL Token现在被传递给agentCheckPass (770)

Spring Cloud Gateway

使用本地响应缓存时,现在可以禁用全局缓存(2895)
作为2022.0.2的一部分,以下模块已经更新:

Module Version Issues
Spring Cloud Vault 4.0.1 (issues)
Spring Cloud Circuitbreaker 3.0.1
Spring Cloud Kubernetes 3.0.2 (issues)
Spring Cloud Task 3.0.2 (issues)
Spring Cloud Function 4.0.2 (issues)
Spring Cloud Commons 4.0.2 (issues)
Spring Cloud Openfeign 4.0.2 (issues)
Spring Cloud Stream 4.0.2
Spring Cloud Consul 4.0.2 (issues)
Spring Cloud Contract 4.0.2 (issues)
Spring Cloud Gateway 4.0.4 (issues)
Spring Cloud Config 4.0.2 (issues)
Spring Cloud Netflix 4.0.1 (issues)
Spring Cloud Build 4.0.2

As always, we welcome feedback on GitHub, on Gitter, on Stack Overflow, or on Twitter.

To get started with Maven with a BOM (dependency management only):

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2022.0.2</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>

or with Gradle:

plugins {
  id 'java'
  id 'org.springframework.boot' version '3.0.5'
  id 'io.spring.dependency-management' version '1.1.0'
}

ext {
  set('springCloudVersion', "2022.0.1")
}

dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  // ...
  testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

dependencyManagement {
  imports {
    mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
  }
}

转自 https://spring.io/blog/2023/03/30/spring-cloud-2022-0-2-is-available