Spring Cloud Function 的第三个 Milestone 3 已发布,该版本的各个模块现可在 Spring Milestone 存储库中使用。
主要更改
此版本与 Spring Boot 2.1.0.RELEASE 兼容,并已对 Java 11 兼容性进行了更改。
Spring Cloud Bus
Fixed a compatiblity issue with Spring Cloud Stream.
Spring Cloud Commons
Added
instanceId
toServiceInstance
interface. Also added aReactiveLoadBalancer
interface and implementation using Reactor.
Spring Cloud Config
Various bug fixes and small enhancements.
Spring Cloud Contract
Support was added for
WebTestClient
and JUnit 5 extensions.
Spring Cloud Consul
Bug fixes.
Spring Cloud Function
Minor enhacements and bug fixes.
Spring Cloud Gateway
Added a rewrite response header filter and bug fixes.
Spring Cloud Gcp
Minor enhacements and bug fixes.
Spring Cloud Kubernetes
ServiceInstance
metadata can now be configured to come from Kubernetes Labels, Annotations and Ports. Some other smal enhacements and bug fixes.
Spring Cloud Netflix
Various version upgrades.
Spring Cloud Openfeign
Added missing configuration metadata.
Spring Cloud Sleuth
Various improvements to Reactor and Reactor Netty instrumentation and other minor enhancements.
Spring Cloud Stream
Minor enhacements and bug fixes.
Spring Cloud Task
Now enabled thru auto-configuration.
Spring Cloud Vault
Adds support for Azure and GCP authentication and some dependency updates.
以下模块已作为 Greenwich.M3 的一部分进行了更新:
MODULE | VERSION | ISSUES |
---|---|---|
Spring Cloud | Greenwich.M3 | |
Spring Cloud Aws | 2.0.1.RELEASE | (issues) |
Spring Cloud Bus | 2.1.0.M2 | (issues) |
Spring Cloud Cloudfoundry | 2.1.0.M1 | |
Spring Cloud Commons | 2.1.0.M2 | (issues) |
Spring Cloud Config | 2.1.0.M3 | (issues) |
Spring Cloud Contract | 2.1.0.M2 | (issues) |
Spring Cloud Consul | 2.1.0.M2 | (issues) |
Spring Cloud Function | 2.0.0.RC2 | (issues) |
Spring Cloud Gateway | 2.1.0.M3 | (issues) |
Spring Cloud Gcp | 1.1.0.M3 | |
Spring Cloud Kubernetes | 1.0.0.M2 | (issues) |
Spring Cloud Netflix | 2.1.0.M3 | (issues) |
Spring Cloud Openfeign | 2.1.0.M2 | |
Spring Cloud Security | 2.1.0.M1 | |
Spring Cloud Sleuth | 2.1.0.M2 | (issues) |
Spring Cloud Stream | Fishtown.RC2 | Blog post |
Spring Cloud Task | 2.1.0.M1 | (issues) |
Spring Cloud Vault | 2.1.0.M2 | (issues) |
Spring Cloud Zookeeper | 2.1.0.M1 |
Maven (dependency management only):
<repositories> <repository> <id>spring-milestones</id> <name>Spring Milestones</name> <url>http://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>Greenwich.M3</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:
buildscript { dependencies { classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE" } } repositories { maven { url 'http://repo.spring.io/milestone' } } apply plugin: "io.spring.dependency-management" dependencyManagement { imports { mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Greenwich.M3' } } dependencies { compile 'org.springframework.cloud:spring-cloud-starter-config' compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client' ... }