相关推荐:

Spring Cloud Greenwich.SR4 发布了…

Spring Cloud 升级最新 Greenwich 版本

Spring Cloud Greenwich Service Release 5 (SR5) 发布了,可通过MavenCentral 获取。

发布主页显示,此版本包含错误修复、较小的功能增强以及文档更新。

这是Greenwich Release Train的最终计划发行版本,并且官方建议尽快升级到 Hoxton,Greenwich.SR5 基于 Spring Boot 2.1.12。

Spring Cloud Commons

为了支持来自配置客户端中 YAML的合并列表,此版本进行了更改,以便将每个PropertySource分别添加到环境中,而不是添加到组合中。

作为 Greenwich.SR5 的一部分,以下模块已更新:

获取方式

Maven

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Greenwich.SR5</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 '2.1.12.RELEASE'
  id 'io.spring.dependency-management' version '1.0.8.RELEASE'
  id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
  mavenCentral()
}
dependencies {
  implementation 'org.springframework.cloud:spring-cloud-starter-config'
  implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  // ...
}

完整发布日志和下载地址:

https://github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Greenwich-Release-Notes

来源:https://www.oschina.net/news/113095/spring-cloud-greenwich-sr5-released

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注