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

Spring Cloud 2021.0.0 (codename Jubilee) 发布

On behalf of the community, I am pleased to announce the General Availability of the Spring Cloud 2021.0 Release Train, codename Jubilee, is available today. The release can be found in Maven Central. You can check out the 2021.0 release notes for more information.

Notable Changes in the 2021.0 Release Train

2021.0.0 is compatible with Spring Boot 2.6.1

See the project page for all the issues and pull requests included in this release.

Spring Cloud Commons

  • Support for per LoadBalancer configuration properties (added as well to Gateway, Contract and OpenFeign).

Spring Cloud Config

  • Integration with AWS Secrets Manager, AWS Parameter Store and GCP Secret Manager.

Spring Cloud Function

  • Support for gRPC, FunctionCatalog via actuator endpoint, AWS improvements, CloudEvents etc. You can read more in this blog post

Spring Cloud Gateway

  • Redis Route Repository
  • HTTP 2 Support
  • gRPC Support

Spring Cloud Kubernetes

  • Config Server and Discovery Controllers

Spring Cloud OpenFeign

  • Support for @Cachable

Spring Cloud Sleuth

  • Instrumentation for Tomcat, Spring Vault, R2DBC, JDBC, Spring Cloud Deployer, Spring Cloud Skipper, Reactor Kafka, Spring TX, Spring Batch, RSocket, Spring Cloud Task, Spring Cloud Config, Kotlin Coroutines, and more.

Spring Cloud Stream

  • About 100 issues have been resolved for this release between coreKafka and Rabbit binders.

The following modules were updated as part of 2021.0.0:

Module Version Issues
Spring Cloud Vault 3.1.0
Spring Cloud Bus 3.1.0
Spring Cloud Cli 3.1.0
Spring Cloud Zookeeper 3.1.0
Spring Cloud Circuitbreaker 2.1.0 (issues)
Spring Cloud Commons 3.1.0 (issues)
Spring Cloud Kubernetes 2.1.0 (issues)
Spring Cloud OpenFeign 3.1.0 (issues)
Spring Cloud Task 2.4.0 (issues)
Spring Cloud Sleuth 3.1.0 (issues)
Spring Cloud Contract 3.1.0 (issues)
Spring Cloud Consul 3.1.0
Spring Cloud Function 3.2.1 (issues)
Spring Cloud Stream 3.2.1 see above for the list of issues
Spring Cloud Gateway 3.1.0 (issues)
Spring Cloud Config 3.1.0 (issues)
Spring Cloud Cloudfoundry 3.1.0
Spring Cloud Starter Build 2021.0.0
Spring Cloud Netflix 3.1.0 (issues)

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):


<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 'org.springframework.boot' version '2.6.1'
  id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  id 'java'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

repositories {
  mavenCentral()
}

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

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

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

comments powered by Disqus

转自 https://spring.io/blog/2021/12/02/spring-cloud-2021-0-0-codename-jubilee-has-been-released