Spring Cloud Hoxton.RC2 已發布

發布 | Ryan Baxter | 2019 年 11 月 12 日 | ...

我謹代表社群宣布 Spring Cloud Hoxton Release Train 的第二個候選版本 (RC2) 今天正式發布。 此版本可在 Spring Milestone 儲存庫中找到。 您可以查看 Hoxton 發布說明以取得更多資訊。

Hoxton Release Train 中的顯著變更

Spring Cloud Hoxton.RC2 建構於 Spring Bot 2.2.1.RELEASE 之上。

Spring Cloud Vault

Spring Cloud Circuitbreaker

Spring Cloud Gateway

  • 新增一個篩選器,該篩選器使用新的 Spring Cloud CircuitBreaker 程式庫為路由提供斷路器

Spring Cloud Config

Spring Cloud Sleuth

Spring Cloud Contract

Spring Cloud Stream

  • 新增支援以允許單一執行個體從多個分割區取用,其中非原生分割 (例如 RabbitMQ) 需要每個分割區一個執行個體
  • 反應式取用者中的 Backpressure 支援。 變更頻道至發布者配接器邏輯以使用 EmitterProcessor,這有效地將 Publisher 轉換為支援 back-pressure 的發布者
  • Kafka 繫結器 - 提供與 Spring Kafka 中 DefaultKafkaHeaderMapper 相同的自訂標頭對應器。 這是為了處理 Spring Cloud Stream 3.0.x 和 2.x 應用程式之間的一些互通性問題
  • Kafka Streams 繫結器 - 健康指標和度量改善
  • Rabbit 繫結器 - 支援佈建 Quorum 佇列 - 新增佇列引數以支援佈建 quorum 佇列
  • Rabbit 繫結器 - 多重分割區支援。 新增對分割多工的支援
  • 文件增強功能

Spring Cloud Openfeign

Spring Cloud Netflix

  • 新增屬性以停用 Spring Cloud CircuitBreaker Hystrix 自動配置

以下模組已更新作為 Hoxton.RC2 的一部分

| 模組 | 版本 | 問題 |--- |--- |--- |--- | Spring Cloud Aws | 2.2.0.RC2 |
| Spring Cloud Vault | 2.2.0.RC2 |
| Spring Cloud Circuitbreaker | 1.0.0.RC2 |
| Spring Cloud Cli | 2.2.0.RC2 |
| Spring Cloud Gateway | 2.2.0.RC2 | (問題) | Spring Cloud Zookeeper | 2.2.0.RC2 |
| Spring Cloud Starter | Hoxton.RC2 |
| Spring Cloud Build | 2.2.0.RC2 | (問題) | Spring Cloud Config | 2.2.0.RC2 | (問題) | Spring Cloud Dependencies Parent | 2.2.0.RC2 |
| Spring Cloud Starter Parent | Hoxton.RC2 |
| Spring Cloud Sleuth | 2.2.0.RC2 | (問題) | Spring Cloud Contract | 2.2.0.RC2 | (問題) | Spring Cloud Gcp | 1.2.0.RC2 |
| Spring Cloud Bus | 2.2.0.RC2 |
| Spring Cloud Consul | 2.2.0.RC2 |
| Spring Cloud Stream | Horsham.RC2 |
| Spring Cloud Kubernetes | 1.1.0.RC2 |
| Spring Cloud Openfeign | 2.2.0.RC2 | (問題) | Spring Cloud Commons | 2.2.0.RC2 | (問題) | Spring Cloud Dependencies | Hoxton.RC2 |
| Spring Cloud Task | 2.2.0.RC1 | (問題) | Spring Cloud Function | 3.0.0.RC2 | (問題) | Spring Cloud | Hoxton.RC2 |
| Spring Cloud Netflix | 2.2.0.RC2 |
| Spring Cloud Security | 2.2.0.RC2 |
| Spring Cloud Release | Hoxton.RC2 |
| Spring Cloud Cloudfoundry | 2.2.0.RC2 |

一如既往,我們歡迎您透過 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>Hoxton.RC2</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:Hoxton.RC2'
}
}

dependencies {
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
...
}

取得 Spring 電子報

透過 Spring 電子報保持聯繫

訂閱

領先一步

VMware 提供培訓和認證,以加速您的進程。

了解更多

取得支援

Tanzu Spring 在一個簡單的訂閱中提供對 OpenJDK™、Spring 和 Apache Tomcat® 的支援和二進位檔案。

了解更多

即將舉行的活動

查看 Spring 社群中所有即將舉行的活動。

查看全部