Spring Cloud 2022.0.0-M4(代号Kilburn)已发布

160 阅读2分钟

我代表社区高兴地宣布,Spring Cloud 2022.0.0版列车的里程碑4(M4)今天已经发布。该版本可以在Spring Milestone仓库中找到。你可以查看2022.0发布说明以了解更多信息

2022.0.0发布列车中值得注意的变化

参见项目页面,了解该版本中包含的所有问题和拉动请求。

Spring Cloud 2022.0.0-M4与Spring Boot 3.0.0-M4兼容。

Spring Cloud Stream

  • 完全反应式Kafka绑定器的初始版本
  • 通过BiFunction改进对Kafka墓碑记录的支持
  • 对Spring Native的改进

春天云配置

  • 移动到AWS SDK V2(#2111)
  • 从JSCH转移到Apache MINA(#1901)。

春天云网关

春天云功能

  • 支持BiFunction来表示Spring消息
  • 春天可观察性模块

春天云任务

  • 支持对应用程序中的ApplicationRunner和CommandlineRunner进行观察。
  • Spring Cloud Task现在利用Micrometer Observations来捕获任务指标。
  • 用户可以在单步批处理作业中为jdbc-item reader和或jdbc-item writer指定不同的数据源。(#848)

Spring Cloud Vault

  • 升级到Spring Vault 3.0.0-M2(#647

Spring Cloud Commons

  • 增加了急切地创建LoadBalancer子上下文的可能性(#729)

以下模块作为2022.0.0-M4的一部分进行了更新。

模块版本问题
Spring Cloud Stream4.0.0-M4
春天云配置4.0.0-M4(问题)
Spring Cloud Build4.0.0-M4
春天云 Consul4.0.0-M4(问题)
Spring Cloud Kubernetes3.0.0-M4(问题)
春天云网关4.0.0-M4
Spring Cloud Starter Build2022.0.0-M4
春天云断路器3.0.0-M4
春天云合同4.0.0-M4(问题)
Spring Cloud Bus4.0.0-M4
春天云功能4.0.0-M4
春天云任务3.0.0-M4(问题)
Spring Cloud Zookeeper4.0.0-M4
Spring Cloud Openfeign4.0.0-M4
春天云Vault4.0.0-M4(问题)
Spring Cloud Commons4.0.0-M4(问题)

一如既往,我们欢迎在GitHubGitterStack OverflowTwitter上提供反馈。

要开始使用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-M4</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"

}

}



repositories {

maven {

url 'https://repo.spring.io/milestone'

}

}



apply plugin: "io.spring.dependency-management"



dependencyManagement {

imports {

mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2022.0.0-M4'

}

}



dependencies {

compile 'org.springframework.cloud:spring-cloud-starter-config'

compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'

...

}