Handle RC and milestone calver comparison.

This commit is contained in:
Olga Maciaszek-Sharma
2024-12-03 15:47:50 +01:00
parent 5a44b81974
commit 019962a3b8
39 changed files with 580 additions and 1145 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2019 the original author or authors.
* Copyright 2013-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -46,6 +46,7 @@ enum ReleaseType {
* version;
*
* @author Marcin Grzejszczak
* @author Olga Maciaszek-Sharma
*/
public class ProjectVersion implements Comparable<ProjectVersion>, Serializable {
@@ -842,6 +843,9 @@ public class ProjectVersion implements Comparable<ProjectVersion>, Serializable
else if (thatOldTrain) {
return -1 * compareWithOldTrain(thisVersion, thatVersion);
}
if (thisVersion.major().equals(thatVersion.major())) {
return calVerSuffixComparison(thatVersion);
}
// new train comparison
return thisVersion.compareTo(thatVersion);
}
@@ -896,6 +900,19 @@ public class ProjectVersion implements Comparable<ProjectVersion>, Serializable
return thisNumber.compareTo(thatNumber);
}
private int calVerSuffixComparison(ProjectVersion thatVersion) {
// With calVer if this project version doesn't have suffix,
// and the other has suffix, but is not snapshot is when this project version is a GA
// and the other project version is a milestone or RC
if (this.version.assertVersion().suffix.isEmpty()) {
if (!(thatVersion.assertVersion().suffix.isEmpty() || thatVersion.isSnapshot())) {
return 1;
}
}
return this.version.compareTo(thatVersion);
}
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2022 the original author or authors.
* Copyright 2013-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,6 +41,7 @@ import org.springframework.util.FileSystemUtils;
/**
* @author Marcin Grzejszczak
* @author Olga Maciaszek-Sharma
*/
public class ReleaseTrainContentsUpdaterTests {
@@ -129,6 +130,24 @@ public class ReleaseTrainContentsUpdaterTests {
.contains("Updating project page to release train [Edgware.SR7]");
}
@Test
public void should_update_the_contents_of_wiki_on_GA_when_previous_release_RC() throws GitAPIException, IOException {
this.properties.getMetaRelease().setEnabled(true);
this.properties.getGit().setUpdateReleaseTrainWiki(true);
this.properties.getGit()
.setReleaseTrainWikiUrl(this.wikiRepo.getAbsolutePath() + "/");
File file = this.updater.updateReleaseTrainWiki(newGACalver());
BDDAssertions.then(file).isNotNull();
BDDAssertions.then(calverWithRCWikiEntryContent(file)).contains("# 2024.0.0")
.contains(
"Spring Cloud Consul `4.2.0` ([issues](https://github.com/spring-cloud/spring-cloud-consul/releases/tag/v4.2.0))");
BDDAssertions.then(GitTestUtils.openGitProject(file).log().call().iterator()
.next().getShortMessage())
.contains("Updating project page to release train [2024.0.0]");
}
@Test
public void should_generate_the_contents_of_wiki_when_release_train_missing() throws GitAPIException, IOException {
this.properties.getMetaRelease().setEnabled(true);
@@ -172,6 +191,10 @@ public class ReleaseTrainContentsUpdaterTests {
return string(file, "Spring-Cloud-2020.0-Release-Notes.md");
}
private String calverWithRCWikiEntryContent(File file) throws IOException {
return string(file, "Spring-Cloud-2024.0-Release-Notes.md");
}
private String string(File file, String s) throws IOException {
return new String(Files.readAllBytes(new File(file, s).toPath()));
}
@@ -272,4 +295,27 @@ public class ReleaseTrainContentsUpdaterTests {
new ProjectVersion("spring-cloud-function", "1.0.0.RELEASE"));
}
Projects newGACalver() {
return new Projects(
new ProjectVersion("spring-cloud-bus", "4.2.0"),
new ProjectVersion("spring-cloud-commons", "4.2.0"),
new ProjectVersion("spring-cloud-contract", "4.2.0"),
new ProjectVersion("spring-cloud-config", "4.2.0"),
new ProjectVersion("spring-cloud-consul", "4.2.0"),
new ProjectVersion("spring-cloud-netflix", "4.2.0"),
new ProjectVersion("spring-cloud-consul", "4.2.0"),
new ProjectVersion("spring-cloud-stream", "4.2.0"),
new ProjectVersion("spring-cloud-zookeeper", "4.2.0"),
new ProjectVersion("spring-boot", "3.4.0"),
new ProjectVersion("spring-cloud-task", "3.2.0"),
// newer release train, current version in file is 2024.0.0-RC1
new ProjectVersion("spring-cloud-release", "2024.0.0"),
new ProjectVersion("spring-cloud-vault", "4.2.0"),
new ProjectVersion("spring-cloud-gateway", "4.2.0"),
new ProjectVersion("spring-cloud-openfeign", "4.2.0"),
new ProjectVersion("spring-cloud-circuitbreaker", "3.2.0"),
new ProjectVersion("spring-cloud-kubernetes", "3.2.0"),
new ProjectVersion("spring-cloud-function", "4.2.0"));
}
}

View File

@@ -1,12 +1,28 @@
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state).
Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns.
They will work well in any distributed environment, including the developer's own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.
# NOTICE
This wiki is no longer updated and is here for historical purposes.
Please see
https://github.com/spring-cloud/spring-cloud-release/wiki for up to date information.
---
Spring Cloud provides tools for developers to quickly build some of
the common patterns in distributed systems (e.g. configuration
management, service discovery, circuit breakers, intelligent routing,
micro-proxy, control bus, one-time tokens, global locks, leadership
election, distributed sessions, cluster state). Coordination of
distributed systems leads to boiler plate patterns, and using Spring
Cloud developers can quickly stand up services and applications that
implement those patterns. They will work well in any distributed
environment, including the developer's own laptop, bare metal data
centres, and managed platforms such as Cloud Foundry.
See https://projects.spring.io/spring-cloud[projects.spring.io/spring-cloud] for details.
== Release Notes
See the following release notes for upgrade instructions and "new and noteworthy" features:
See the following release notes for upgrade instructions and "new and noteworthy" features (newer release trains at the end):
- link:Spring-Cloud-Angel-Release-Notes[Angel]
@@ -18,4 +34,10 @@ See the following release notes for upgrade instructions and "new and noteworthy
- link:Spring-Cloud-Edgware-Release-Notes[Edgware]
- link:Spring-Cloud-Finchley-Release-Notes[Finchley]
- link:Spring-Cloud-Finchley-Release-Notes[Finchley]
- link:Spring-Cloud-Greenwich-Release-Notes[Greenwich]
- link:https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-Hoxton-Release-Notes[Hoxton]
- link:https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2020.0-Release-Notes[2020.0 (code name ilford)]

View File

@@ -1,539 +1 @@
# 2020.0.4
[All Issues](https://github.com/orgs/spring-cloud/projects/64)
2021-09-22
- Spring Cloud Cloudfoundry `3.0.2`
- Spring Cloud Config `3.0.5`
- Spring Cloud Contract `3.0.4`
- Spring Cloud Consul `3.0.4`
- Spring Cloud Gateway `3.0.4`
- Spring Cloud Netflix `3.0.4`
- Spring Cloud Vault `3.0.4`
- Spring Cloud Kubernetes `2.0.4`
- Spring Cloud Circuitbreaker `2.0.2`
- Spring Cloud Bus `3.0.3`
- Spring Cloud Cli `3.0.3`
- Spring Cloud Zookeeper `3.0.4`
- Spring Cloud Sleuth `3.0.4`
- Spring Cloud Starter Build `2020.0.4`
- Spring Cloud Task `2.3.2`
- Spring Cloud Commons `3.0.4`
- Spring Cloud Openfeign `3.0.4`
# 2020.0.3
## Breaking changes
Actuator is no longer a required dependency of config server [1742](https://github.com/spring-cloud/spring-cloud-config/issues/1742)
[All Issues](https://github.com/orgs/spring-cloud/projects/61)
2021-05-28
- Spring Cloud Cloudfoundry `3.0.2`
- Spring Cloud Config `3.0.4` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/89?closed=1))
- Spring Cloud Contract `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/77?closed=1))
- Spring Cloud Consul `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/57?closed=1))
- Spring Cloud Gateway `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/51?closed=1))
- Spring Cloud Netflix `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/102?closed=1))
- Spring Cloud Vault `3.0.3`
- Spring Cloud Kubernetes `2.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/31?closed=1))
- Spring Cloud Circuitbreaker `2.0.2`
- Spring Cloud Bus `3.0.3`
- Spring Cloud Cli `3.0.3`
- Spring Cloud Zookeeper `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/37?closed=1))
- Spring Cloud Sleuth `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/90?closed=1))
- Spring Cloud Starter Build `2020.0.3`
- Spring Cloud Task `2.3.2`
- Spring Cloud Commons `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/89?closed=1))
- Spring Cloud Openfeign `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/36?closed=1))
This release makes it possible for all projects except for Spring Cloud Contract to use Spring Boot 2.5. Spring Boot 2.5 includes a major update of Groovy that can lead to various issues while using Spring Cloud Contract.
# 2020.0.2
[All Issues](https://github.com/orgs/spring-cloud/projects/53)
2021-03-17
- Spring Cloud Cloudfoundry `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/16?closed=1))
- Spring Cloud Commons `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/87?closed=1))
- Spring Cloud Config `3.0.3` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/88?closed=1))
- Spring Cloud Contract `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/75?closed=1))
- Spring Cloud Consul `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/56?closed=1))
- Spring Cloud Gateway `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/49?closed=1))
- Spring Cloud Netflix `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/100?closed=1))
- Spring Cloud Circuitbreaker `2.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/milestone/8?closed=1))
- Spring Cloud Zookeeper `3.0.2`
- Spring Cloud Kubernetes `2.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/30?closed=1))
- Spring Cloud Vault `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/47?closed=1))
- Spring Cloud Task `2.3.1`
- Spring Cloud Sleuth `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/88?closed=1))
- Spring Cloud Bus `3.0.2`
- Spring Cloud Cli `3.0.2`
- Spring Cloud Starter Build `2020.0.2`
- Spring Cloud Openfeign `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/34?closed=1))
# 2020.0.1
[All Issues](https://github.com/orgs/spring-cloud/projects/52)
2021-01-27
- Spring Cloud Openfeign `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/33?closed=1))
- Spring Cloud Config `3.0.2` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/87?closed=1))
- Spring Cloud Commons `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/86?closed=1))
- Spring Cloud Contract `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/74?closed=1))
- Spring Cloud Consul `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/54?closed=1))
- Spring Cloud Gateway `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/48?closed=1))
- Spring Cloud Netflix `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/99?closed=1))
- Spring Cloud Zookeeper `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/34?closed=1))
- Spring Cloud Vault `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/46?closed=1))
- Spring Cloud Kubernetes `2.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/29?closed=1))
- Spring Cloud Sleuth `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/87?closed=1))
- Spring Cloud Bus `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/47?closed=1))
- Spring Cloud Cli `3.0.1` ([issues](https://github.com/spring-cloud/spring-cloud-cli/milestone/24?closed=1))
- Spring Cloud Starter Build `2020.0.1`
# 2020.0.0
## Known Issues
- 2020.0.0 Spring Cloud Consul: Retry support has not been added yet using `spring.config.import=consul:`. Follow the [issue here](https://github.com/spring-cloud/spring-cloud-consul/issues/703). The workaround is to use the old bootstrap style by including `spring-cloud-starter-bootstrap`.
Spring Cloud Config [3.0.1](https://github.com/spring-cloud/spring-cloud-config/milestone/85?closed=1) has been released to fix the issues below. Please use version 2020.0.1 which includes all the fixes below.
- 2020.0.0 Spring Cloud Config: Retry support is missing for `spring.config.import=configserver:`. Follow the issue [here](github.com/spring-cloud/spring-cloud-config/issues/1775). For a workaround, continue to use `bootstrap.{yml|properties}` and add a dependency on `spring-cloud-starter-bootstrap` to restore the old behavior.
- 2020.0.0 Spring Cloud Config: spring-cloud-config-dependencies imports a milestone of spring-vault. Follow the issue [here](github.com/spring-cloud/spring-cloud-config/issues/1776). See [a workaround here](https://github.com/spring-cloud/spring-cloud-config/issues/1776#issuecomment-749782456)
- 2020.0.0 Spring Cloud Config: using `spring.config.import` value of `spring.profiles.active` not being used. Follow the issue and see workarounds [here](https://github.com/spring-cloud/spring-cloud-config/issues/1777).
- 2020.0.0 Spring Cloud Config: Multi-document YAML and properties files from config server have the same property source name which leads to a missing property source. Follow the issue [here](https://github.com/spring-cloud/spring-cloud-config/issues/1778).
## Breaking changes
- As [announced](https://spring.io/blog/2019/12/23/spring-cloud-roadmap-and-hoxton-and-greenwich-maintenance-and-eol-announcements), the following modules have been removed from spring-cloud-netflix:
- spring-cloud-netflix-archaius
- spring-cloud-netflix-concurrency-limits
- spring-cloud-netflix-core
- spring-cloud-netflix-dependencies
- spring-cloud-netflix-hystrix
- spring-cloud-netflix-hystrix-contract
- spring-cloud-netflix-hystrix-dashboard
- spring-cloud-netflix-hystrix-stream
- spring-cloud-netflix-ribbon
- spring-cloud-netflix-sidecar
- spring-cloud-netflix-turbine
- spring-cloud-netflix-turbine-stream
- spring-cloud-netflix-zuul
- spring-cloud-starter-netflix-archaius
- spring-cloud-starter-netflix-hystrix
- spring-cloud-starter-netflix-hystrix-dashboard
- spring-cloud-starter-netflix-ribbon
- spring-cloud-starter-netflix-turbine
- spring-cloud-starter-netflix-turbine-stream
- spring-cloud-starter-netflix-zuul
- Support for ribbon, hystrix and zuul was removed across the release train projects.
- Bootstrap, provided by spring-cloud-commons, is no longer enabled by default. If your project requires it, it can be re-enabled by properties or by a new starter.
- To re-enable by properties set `spring.cloud.bootstrap.enabled=true` or `spring.config.use-legacy-processing=true`. These need to be set as an environment variable, java system property or a command line argument.
- The other option is to include the new `spring-cloud-starter-bootstrap`.
- Support has been added for the new Spring Boot `spring.config.import` syntax for Config Server, Consul, Zookeeper and Vault. The existing properties to configure the different services are still supported but need to be put in `application.properties` or `application.yml`.
- `spring.config.import=configserver:`
- `spring.config.import=consul:`
- `spring.config.import=zookeeper:`
- `spring.config.import=vault:`
- Spring Cloud Consul removed the old tags-as-metadata functionality [issue](https://github.com/spring-cloud/spring-cloud-consul/issues/630)
- Previously the property to disable the Spring Cloud Config Client Health Indicator was `health.config.enabled=false`. It is now `management.health.config.enabled=false` following the Spring Boot convention.
- Spring Cloud Security was removed and code was moved to the individual Spring Cloud projects.
- The `spring-cloud-gateway-core` module was moved to `spring-cloud-gateway-server`. If you are using `spring-cloud-gateway-starter` this will not be an issue.
- The implementation of spring-cloud-bus was migrated to use spring-cloud-function instead of the legacy annotation-driven model. This should have minimal effect on users.
- `spring-cloud-stream` is now an optional dependency of `spring-cloud-bus`. If you are using a binder other than rabbitmq or kafka you will need to inclue the new `spring-cloud-starter-bus-stream`.
- Actuator endpoints with invalid characters (dashes) have been updated to remove them:
- `bus-env` is now `busenv`
- `bus-refresh` is now `busrefresh`
- `service-registry` is now `serviceregistry`
- In Spring Cloud Config, the endpoints from the resource API that used the `useDefaultLabel` query parameter have [been removed](https://github.com/spring-cloud/spring-cloud-config/issues/1643).
- As [announced](https://spring.io/blog/2020/04/17/spring-cloud-2020-0-0-m1-released) Spring Cloud GCP is no longer part of the Spring Cloud release train
### Spring Cloud Kubernetes
#### Code Refactoring
* Code that was not dependent on any Kubernetes client was moved into a module name `spring-cloud-kubernetes-commons`
* Packages were renamed to be Fabric8 specific. Any package that began with `org.springframework.cloud.kubernetes` has been renamed too `org.springframework.cloud.kubernetes.fabric8`
#### Kubernetes Client Implementations
* There are alternate implementations for much of the functionality in Spring Cloud Kubernetes using the [Kubernetes Java Client](https://github.com/kubernetes-client/java).
| Functionality | Starter |
| ---------------- | --------------- |
| Kubernetes Detection | spring-cloud-kubernetes-client |
| Configuration | spring-cloud-starter-kubernetes-client-config |
| Loadbalancer | spring-cloud-starter-kubernetes-client-loadbalancer |
| Discovery | spring-cloud-starter-kubernetes-client-all |
NOTE: When using the new Informer based DiscoveryClient you must give cluster wide permissions to the app due to [a bug in the Kubernetes Java Client](https://github.com/kubernetes-client/java/pull/1409)
#### Configuration Change Listener
* Classes related to event based and polling configuration change listeners have now been split up [PR 644](https://github.com/spring-cloud/spring-cloud-kubernetes/pull/644)
#### Renamed Starters
| Old Starter | Renamed Starter |
| ---------------- | --------------- |
| spring-cloud-starter-kubernetes | spring-cloud-starter-kubernetes-fabric8 |
| spring-cloud-starter-kubernetes-config | spring-cloud-starter-kubernetes-fabric8-config |
| spring-cloud-starter-kubernetes-all | spring-cloud-starter-kubernetes-fabric8-all |
| spring-cloud-starter-kubernetes-loadbalancer | spring-cloud-starter-kubernetes-fabric8-loadbalancer |
### Spring Cloud Sleuth
Most notable breaking changes:
#### `3.0.0-RC1`
##### Moving OpenTelemetry support to incubator
OpenTelemetry was unable to provide a reliable GA date of their modules. We've decided to remove OpenTelemetry support from Spring Cloud Sleuth and move it to incubator https://github.com/spring-cloud-incubator/spring-cloud-sleuth-otel/ . If you want to continue using OpenTelemetry with Spring Cloud Sleuth you need to add the Spring repositories, the `spring-cloud-sleuth-otel-dependencies` BOM and `spring-cloud-sleuth-otel-autoconfigure` dependency.
We have released a `1.0.0-M1` of Spring Cloud Sleuth OTel that is compatible with the `2020.0.0-RC1` release train.
.Maven
```xml
<properties>
<spring-cloud-sleuth-otel.version>1.0.0-M1</spring-cloud-sleuth-otel.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<!-- Provide the latest stable Spring Cloud release train version (e.g. 2020.0.0) -->
<version>${release.train.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-otel-dependencies</artifactId>
<!-- Provide the version of the Spring Cloud Sleuth OpenTelemetry project -->
<version>${spring-cloud-sleuth-otel.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-brave</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-otel-autoconfigure</artifactId>
</dependency>
<!-- You 'll need those to add OTel support -->
<repositories>
<repository>
<id>spring-snapshots</id>
<url>https://repo.spring.io/snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>https://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
```
.Gradle
```
ext {
springCloudSleuthOtelVersion = "1.0.0-M1"
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${releaseTrainVersion}"
mavenBom "org.springframework.cloud:spring-cloud-sleuth-otel-dependencies:${springCloudSleuthOtelVersion}"
}
}
dependencies {
implementation("org.springframework.cloud:spring-cloud-starter-sleuth") {
exclude group: 'org.springframework.cloud', module: 'spring-cloud-sleuth-brave'
}
implementation "org.springframework.cloud:spring-cloud-sleuth-otel-autoconfigure"
}
repositories {
mavenCentral()
maven {
url "https://repo.spring.io/snapshot"
}
maven {
url "https://repo.spring.io/milestone"
}
maven {
url "https://repo.spring.io/release"
}
}
```
#### `3.0.0-M6`
##### Modules
* New modules: `spring-cloud-sleuth-autoconfigure`, `spring-cloud-sleuth-api`, `spring-cloud-sleuth-instrumentation`
`spring-cloud-sleuth-core` removed and changed to `spring-cloud-sleuth-instrumentation` & `spring-cloud-sleuth-api`
* Removed `spring-cloud-starter-sleuth-otel`
To add OpenTelemetry support you need to add `spring-cloud-starter-sleuth` (adds Brave by default), exclude Brave and add `spring-cloud-sleuth-otel` dependency
* Except for the tests, `spring-cloud-sleuth-autoconfigure` is the only module that can have access to `@Configuration`, `@ConfiguraationProperties` classes.
Tests have been added to ensure such separation.
##### Package moving
* `org.springframework.cloud.sleuth.api` -> `org.springframework.cloud.sleuth`
* `org.springframework.cloud.sleuth.brave.autoconfig` -> `org.springframework.cloud.sleuth.autoconfig.brave`
* `org.springframework.cloud.sleuth.otel.autoconfig` -> `org.springframework.cloud.sleuth.autoconfig.otel`
* `org.springframework.cloud.sleuth` -> `org.springframework.cloud.sleuth`
* Instrumentation: `org.springframework.cloud.sleuth.annotation` -> `org.springframework.cloud.sleuth.instrument.annotation`
* All the autoconfiguration classes were moved under `org.springframework.cloud/sleuth.autoconfig` package
##### Global class modifications
* Any class registered as a bean is now public
##### Classes
* `RateLimitingSampler` constructor changed
* Merged a lot of auto configuration classes into one (e.g. `BraveAutoConfiguration` now imports various other configurations)
* Renamed `TraceBraveAutoConfiguration` to `BraveAutoConfiguration`
* Renamed `TraceOtelAutoConfiguration` to `OtelAutoConfiguration`
* Removed all `NoOp` implementations of the API
To see the whole list check [this Github page](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=label%3A%22breaking+change%22+is%3Aclosed) and search for `3.0.0` milestones.
You can also check the [Sleuth 3.0.0 migration guide](https://github.com/spring-cloud/spring-cloud-sleuth/wiki/Spring-Cloud-Sleuth-3.0-Migration-Guide).
#### Up till `3.0.0-M5`
* Introduces abstraction over tracers [PR 1757](https://github.com/spring-cloud/spring-cloud-sleuth/pull/1757)
* You can use Spring Cloud Sleuth's abstraction over Span's lifecycle [Check the docs](https://docs.spring.io/spring-cloud-sleuth/docs/3.0.x-SNAPSHOT/reference/html/using.html#using)
* You can use Brave or OpenTelemetry directly
* Module change / removal
* Point of entry should be `spring-cloud-starter-sleuth` (Brave support) or `spring-cloud-starter-otel` (OpenTelemetry support).
* If you want to use Zipkin: `spring-cloud-starter-zipkin` is removed and you should replace is with `spring-cloud-sleuth-zipkin` dependency.
* Enable reactor manual instrumentation when in gateway breaking change enhancement [Issue 1710](https://github.com/spring-cloud/spring-cloud-sleuth/issues/1710)
* Remove the legacy Sleuth keys, span naming breaking change [Issue 1564](https://github.com/spring-cloud/spring-cloud-sleuth/issues/1564)
* Remove the legacy MDC entries and remain with the Brave MDC ones only breaking change enhancement [Issue 1221](https://github.com/spring-cloud/spring-cloud-sleuth/issues/1221)
# 2020.0.0-RC1
[All Issues](https://github.com/orgs/spring-cloud/projects/50)
2020-12-11
- Spring Cloud Circuitbreaker `2.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/milestone/7?closed=1))
- Spring Cloud Contract `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/73?closed=1))
- Spring Cloud Kubernetes `2.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/27?closed=1))
- Spring Cloud Commons `3.0.0-RC1`
- Spring Cloud Openfeign `3.0.0-RC1`
- Spring Cloud Cloudfoundry `3.0.0-RC1`
- Spring Cloud Security `3.0.0-RC1`
- Spring Cloud Bus `3.0.0-RC1`
- Spring Cloud Cli `3.0.0-RC1`
- Spring Cloud Zookeeper `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/32?closed=1))
- Spring Cloud Sleuth `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/85?closed=1))
- Spring Cloud Consul `3.0.0-RC1`
- Spring Cloud Starter Build `2020.0.0-RC1`
- Spring Cloud Gateway `3.0.0-RC1`
- Spring Cloud Netflix `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/97?closed=1))
- Spring Cloud Vault `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/43?closed=1))
- Spring Cloud Config `3.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/83?closed=1))
# 2020.0.0-M6
[All Issues](https://github.com/orgs/spring-cloud/projects/49)
2020-12-01
- Spring Cloud Sleuth `3.0.0-M6` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/84?closed=1))
- Spring Cloud Consul `3.0.0-M6`
- Spring Cloud Gateway `3.0.0-M6`
- Spring Cloud Zookeeper `3.0.0-M6`
- Spring Cloud Config `3.0.0-M6`
- Spring Cloud Cloudfoundry `3.0.0-M6`
- Spring Cloud Netflix `3.0.0-M6`
- Spring Cloud Kubernetes `2.0.0-M6`
- Spring Cloud Circuitbreaker `2.0.0-M6`
- Spring Cloud Contract `3.0.0-M6` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/72?closed=1))
- Spring Cloud Starter Build `2020.0.0-M6`
- Spring Cloud Security `3.0.0-M6`
- Spring Cloud Bus `3.0.0-M6`
- Spring Cloud Cli `3.0.0-M6`
- Spring Cloud Vault `3.0.0-M6`
- Spring Cloud Openfeign `3.0.0-M6`
- Spring Cloud Commons `3.0.0-M6`
# 2020.0.0-M5
[All Issues](https://github.com/orgs/spring-cloud/projects/46)
2020-11-17
- Spring Cloud Consul `3.0.0-M5`
- Spring Cloud Gateway `3.0.0-M5`
- Spring Cloud Zookeeper `3.0.0-M5`
- Spring Cloud Sleuth `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/81?closed=1))
- Spring Cloud Cloudfoundry `3.0.0-M5`
- Spring Cloud Config `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/82?closed=1))
- Spring Cloud Kubernetes `2.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/24?closed=1))
- Spring Cloud Netflix `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/95?closed=1))
- Spring Cloud Starter Build `2020.0.0-M5`
- Spring Cloud Circuitbreaker `2.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/milestone/6?closed=1))
- Spring Cloud Contract `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/70?closed=1))
- Spring Cloud Security `3.0.0-M5`
- Spring Cloud Bus `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/46?closed=1))
- Spring Cloud Cli `3.0.0-M5`
- Spring Cloud Openfeign `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/30?closed=1))
- Spring Cloud Vault `3.0.0-M5`
- Spring Cloud Commons `3.0.0-M5` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/80?closed=1))
# 2020.0.0-M4
[All Issues](https://github.com/orgs/spring-cloud/projects/43)
2020-10-05
- Spring Cloud Sleuth `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/79?closed=1))
- Spring Cloud Consul `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/51?closed=1))
- Spring Cloud Config `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/80?closed=1))
- Spring Cloud Kubernetes `2.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/21?closed=1))
- Spring Cloud Gateway `3.0.0-M4`
- Spring Cloud Circuitbreaker `2.0.0-M4`
- Spring Cloud Contract `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/68?closed=1))
- Spring Cloud Starter Build `2020.0.0-M4`
- Spring Cloud Netflix `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/92?closed=1))
- Spring Cloud Cloudfoundry `3.0.0-M4`
- Spring Cloud Security `3.0.0-M4`
- Spring Cloud Cli `3.0.0-M4`
- Spring Cloud Bus `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/45?closed=1))
- Spring Cloud Zookeeper `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/31?closed=1))
- Spring Cloud Commons `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/77?closed=1))
- Spring Cloud Openfeign `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/25?closed=1))
- Spring Cloud Vault `3.0.0-M4` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/42?closed=1))
# 2020.0.0-M3
[All Issues](https://github.com/orgs/spring-cloud/projects/42)
2020-07-23
- Spring Cloud Sleuth `3.0.0-M3`
- Spring Cloud Kubernetes `2.0.0-M3`
- Spring Cloud Consul `3.0.0-M3`
- Spring Cloud Config `3.0.0-M3` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/77?closed=1))
- Spring Cloud Gateway `3.0.0-M3`
- Spring Cloud Starter Build `2020.0.0-M3`
- Spring Cloud Circuitbreaker `2.0.0-M3`
- Spring Cloud Contract `3.0.0-M3` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/67?closed=1))
- Spring Cloud Cloudfoundry `3.0.0-M3`
- Spring Cloud Security `3.0.0-M3`
- Spring Cloud Netflix `3.0.0-M3`
- Spring Cloud Cli `3.0.0-M3`
- Spring Cloud Bus `3.0.0-M3`
- Spring Cloud Zookeeper `3.0.0-M3`
- Spring Cloud Commons `3.0.0-M3`
- Spring Cloud Vault `3.0.0-M3`
- Spring Cloud Openfeign `3.0.0-M3`
# 2020.0.0-M2
[All Issues](https://github.com/orgs/spring-cloud/projects/39)
2020-05-29
- Spring Cloud Netflix `3.0.0-M2`
- Spring Cloud Sleuth `3.0.0-M2`
- Spring Cloud Consul `3.0.0-M2`
- Spring Cloud Kubernetes `2.0.0-M2`
- Spring Cloud Gateway `3.0.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/38?closed=1))
- Spring Cloud Circuitbreaker `2.0.0-M2`
- Spring Cloud Contract `3.0.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/65?closed=1))
- Spring Cloud Starter Build `2020.0.0-M2`
- Spring Cloud Config `3.0.0-M2`
- Spring Cloud Build `3.0.0-M2`
- Spring Cloud Cloudfoundry `3.0.0-M2`
- Spring Cloud Security `3.0.0-M2`
- Spring Cloud Bus `3.0.0-M2`
- Spring Cloud Cli `3.0.0-M2`
- Spring Cloud Vault `3.0.0-M2`
- Spring Cloud Zookeeper `3.0.0-M2`
- Spring Cloud Commons `3.0.0-M2`
- Spring Cloud Openfeign `3.0.0-M2`
# 2020.0.0-M1
2020-04-16
- Spring Cloud Netflix `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/88?closed=1))
- Spring Cloud Function `3.1.0.M1`
- Spring Cloud Sleuth `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/74?closed=1))
- Spring Cloud Consul `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/47?closed=1))
- Spring Cloud Kubernetes `2.0.0.M1`
- Spring Cloud Gateway `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/36?closed=1))
- Spring Cloud Circuitbreaker `2.0.0.M1`
- Spring Cloud Contract `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/63?closed=1))
- Spring Cloud Starter Build `2020.0.0-M1`
- Spring Cloud Config `3.0.0.M1`
- Spring Cloud Build `3.0.0.M1`
- Spring Cloud Cloudfoundry `3.0.0.M1`
- Spring Cloud Security `3.0.0.M1`
- Spring Cloud Bus `3.0.0.M1`
- Spring Cloud Vault `3.0.0.M1`
- Spring Cloud Zookeeper `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/28?closed=1))
- Spring Cloud Commons `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/72?closed=1))
- Spring Cloud Openfeign `3.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/23?closed=1))
The 2020.0 Release Notes have moved to https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-2020.0-Release-Notes

View File

@@ -0,0 +1,67 @@
# 2024.0.0-RC1
2024-11-08
- Spring Cloud Starter Build `2024.0.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-starter-build/releases/tag/v2024.0.0-RC1))
- Spring Cloud Vault `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/releases/tag/v4.2.0-RC1))
- Spring Cloud Stream `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-stream/releases/tag/v4.2.0-RC1))
- Spring Cloud Function `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-function/releases/tag/v4.2.0-RC1))
- Spring Cloud Netflix `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/releases/tag/v4.2.0-RC1))
- Spring Cloud Consul `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/releases/tag/v4.2.0-RC1))
- Spring Cloud Config `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.2.0-RC1))
- Spring Cloud Build `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-build/releases/tag/v4.2.0-RC1))
- Spring Cloud Gateway `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/releases/tag/v4.2.0-RC1))
- Spring Cloud Kubernetes `3.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/releases/tag/v3.2.0-RC1))
- Spring Cloud Contract `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/releases/tag/v4.2.0-RC1))
- Spring Cloud Circuitbreaker `3.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/releases/tag/v3.2.0-RC1))
- Spring Cloud Commons `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/releases/tag/v4.2.0-RC1))
- Spring Cloud Openfeign `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/releases/tag/v4.2.0-RC1))
- Spring Cloud Zookeeper `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/releases/tag/v4.2.0-RC1))
- Spring Cloud Bus `4.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/releases/tag/v4.2.0-RC1))
- Spring Cloud Task `3.2.0-RC1` ([issues](https://github.com/spring-cloud/spring-cloud-task/releases/tag/v3.2.0-RC1))
# 2024.0.0-M2
2024-10-08
- Spring Cloud Bus `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/releases/tag/v4.2.0-M2))
- Spring Cloud Contract `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/releases/tag/v4.2.0-M2))
- Spring Cloud Circuitbreaker `3.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/releases/tag/v3.2.0-M2))
- Spring Cloud Zookeeper `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/releases/tag/v4.2.0-M2))
- Spring Cloud Task `3.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-task/releases/tag/v3.2.0-M2))
- Spring Cloud Kubernetes `3.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/releases/tag/v3.2.0-M2))
- Spring Cloud Starter Build `2024.0.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-starter-build/releases/tag/v2024.0.0-M2))
- Spring Cloud Netflix `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/releases/tag/v4.2.0-M2))
- Spring Cloud Openfeign `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/releases/tag/v4.2.0-M2))
- Spring Cloud Commons `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-commons/releases/tag/v4.2.0-M2))
- Spring Cloud Consul `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-consul/releases/tag/v4.2.0-M2))
- Spring Cloud Config `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.2.0-M2))
- Spring Cloud Vault `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-vault/releases/tag/v4.2.0-M2))
- Spring Cloud Build `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-build/releases/tag/v4.2.0-M2))
- Spring Cloud Gateway `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/releases/tag/v4.2.0-M2))
- Spring Cloud Stream `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-stream/releases/tag/v4.2.0-M2))
- Spring Cloud Function `4.2.0-M2` ([issues](https://github.com/spring-cloud/spring-cloud-function/releases/tag/v4.2.0-M2))
# 2024.0.0-M1
2024-08-19
- Spring Cloud Bus `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/releases/tag/v4.2.0-M1))
- Spring Cloud Zookeeper `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/releases/tag/v4.2.0-M1))
- Spring Cloud Circuitbreaker `3.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-circuitbreaker/releases/tag/v3.2.0-M1))
- Spring Cloud Task `3.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-task/releases/tag/v3.2.0-M1))
- Spring Cloud Contract `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/releases/tag/v4.2.0-M1))
- Spring Cloud Kubernetes `3.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/releases/tag/v3.2.0-M1))
- Spring Cloud Netflix `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/releases/tag/v4.2.0-M1))
- Spring Cloud Starter Build `2024.0.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-starter-build/releases/tag/v2024.0.0-M1))
- Spring Cloud Config `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.2.0-M1))
- Spring Cloud Build `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-build/releases/tag/v4.2.0-M1))
- Spring Cloud Openfeign `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/releases/tag/v4.2.0-M1))
- Spring Cloud Consul `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/releases/tag/v4.2.0-M1))
- Spring Cloud Gateway `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/releases/tag/v4.2.0-M1))
- Spring Cloud Commons `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/releases/tag/v4.2.0-M1))
- Spring Cloud Stream `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-stream/releases/tag/v4.2.0-M1))
- Spring Cloud Function `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-function/releases/tag/v4.2.0-M1))
- Spring Cloud Vault `4.2.0-M1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/releases/tag/v4.2.0-M1))

View File

@@ -1,5 +1,4 @@
Spring Cloud Angel focuses on providing good out of box experience for typical use cases and extensibility mechanism to cover others.
Many of the features are implemented by Netflix OSS, with wrappers for Spring Boot apps being the main focus of Spring Cloud.
Spring Cloud Angel focuses on providing good out of box experience for typical use cases and extensibility mechanism to cover others. Many of the features are implemented by Netflix OSS, with wrappers for Spring Boot apps being the main focus of Spring Cloud.
- Distributed/versioned configuration (git, svn, spring-cloud-config)
- Service registration and discovery (eureka, spring-cloud-netflix)
@@ -12,39 +11,28 @@ Many of the features are implemented by Netflix OSS, with wrappers for Spring Bo
== Main Projects
=== Spring Cloud Config
Centralized external configuration management backed by a git repository.
The configuration resources map directly to Spring `Environment` but could be used by non-Spring applications if desired.
Centralized external configuration management backed by a git repository. The configuration resources map directly to Spring `Environment` but could be used by non-Spring applications if desired.
=== Spring Cloud Netflix
Integration with various Netflix OSS components (Eureka, Hystrix, Zuul, Archaius, etc.).
=== Spring Cloud Bus
An event bus for linking services and service instances together with distributed messaging.
Useful for propagating state changes across a cluster (e.g. config change events).
An event bus for linking services and service instances together with distributed messaging. Useful for propagating state changes across a cluster (e.g. config change events).
=== Spring Cloud Security
Provides support for load-balanced OAuth2 rest client and authentication header relays in a Zuul proxy.
=== Spring Cloud AWS
Easy integration with hosted Amazon Web Services.
It offers a convenient way to interact with AWS provided services using well-known Spring idioms and APIs, such as the messaging or caching API. Developers can build their application around the hosted services without having to care about infrastructure or maintenance.
Easy integration with hosted Amazon Web Services. It offers a convenient way to interact with AWS provided services using well-known Spring idioms and APIs, such as the messaging or caching API. Developers can build their application around the hosted services without having to care about infrastructure or maintenance.
=== Spring Cloud Connectors
Makes it easy for PaaS applications in a variety of platforms to connect to backend services like databases and message brokers (the project formerly known as "Spring Cloud").
Makes it easy for PaaS applications in a variety of platforms to connect to backend services like
databases and message brokers (the project formerly known as "Spring Cloud").
=== Spring Cloud Starters
Spring Boot-style starter projects to ease dependency management for consumers of Spring Cloud.
(Discontinued as a project and merged with the other projects after Angel.SR2.)
Spring Boot-style starter projects to ease dependency management for consumers of Spring Cloud. (Discontinued as a project and merged with the other projects after Angel.SR2.)
=== Spring Cloud CLI
Spring Boot CLI plugin for creating Spring Cloud component applications quickly in Groovy
Spring Cloud Angel builds on Spring Boot 1.2.x, and parts of it (notably the OAuth2 support that moved to Spring Boot) does not work with Spring Boot 1.3.x.

View File

@@ -1,40 +1,28 @@
Spring Cloud Brixton builds on Spring Boot 1.3.x.
It adds the following new projects:
Spring Cloud Brixton builds on Spring Boot 1.3.x. It adds the following new projects:
=== Spring Cloud Zookeeper
Service discovery and configuration management with Apache Zookeeper.
=== Spring Cloud Cloudfoundry
Integrates your application with Pivotal Cloudfoundry.
Provides a service discovery implementation and also makes it easy to implement SSO and OAuth2 protected resources, and also to create a Cloudfoundry service broker.
Integrates your application with Pivotal Cloudfoundry. Provides a service discovery implementation and also makes it easy to implement SSO and OAuth2 protected resources, and also to create a Cloudfoundry service broker.
=== Spring Cloud Cluster
Leadership election and common stateful patterns with an abstraction and implementation for Zookeeper, Redis, Hazelcast, Consul.
(Now deprecated and superseded by Spring Integration.)
Leadership election and common stateful patterns with an abstraction and implementation for Zookeeper, Redis, Hazelcast, Consul. (Now deprecated and superseded by Spring Integration.)
=== Spring Cloud Consul
Service discovery and configuration management with Hashicorp Consul.
=== Spring Cloud Sleuth
Distributed tracing for Spring Cloud applications, compatible with Zipkin, HTrace and log-based (e.g. ELK) tracing.
=== Spring Cloud Stream
Messaging microservices with Redis, Rabbit or Kafka.
Simple declarative model to send and receive messages in a Spring Cloud app.
Messaging microservices with Redis, Rabbit or Kafka. Simple declarative model to send and receive messages in a Spring Cloud app.
=== Spring Cloud Task
Short lived microservices.
Simple declarative for adding both functional and non-functional features to Spring Boot apps.
Short lived microservices. Simple declarative for adding both functional and non-functional features to Spring Boot apps.
=== Spring Cloud Zookeeper
Service discovery and configuration management with Apache Zookeeper.
Spring Cloud Brixton builds with Spring Boot 1.3.x but it should work with 1.4.x as well (we do compatibility tests and hope to be able to fix any issues that crop up).
@@ -47,22 +35,17 @@ Some of the highlights of the Brixton release train are:
* Hashicorp Consul support for service registration/discovery & configuration via Spring Cloud Consul
* Apache Zookeeper support for service registration/discovery, configuration via Spring Cloud Zookeeper and leader election in Spring Cloud Cluster
* Distributed tracing through the Spring Cloud Sleuth abstraction with two out of the box implementations: one supporting logging (ideal for log collectors and multiplexers like Logstash and Loggregator) and one supporting Twitter's Zipkin
* Netflix https://medium.com/netflix-techblog/introducing-atlas-netflixs-primary-telemetry-platform-bd31f4d8ed9a[Atlas Telemetry System], the next generation https://github.com/Netflix/spectator/wiki[Spectator Metrics library] and recent versions of Eureka, Ribbon, Hystrix and Feign are available in Spring Cloud Netflix
* Netflix http://techblog.netflix.com/2014/12/introducing-atlas-netflixs-primary.html[Atlas Telemetry System], the next generation https://github.com/Netflix/spectator/wiki[Spectator Metrics library] and recent versions of Eureka, Ribbon, Hystrix and Feign are available in Spring Cloud Netflix
* Spring Cloud Bus is now powered by the recently released https://spring.io/blog/2016/05/10/spring-cloud-stream-1-0-0-release-is-available[Spring Cloud Stream]
* Cluster Leadership election and locks via Spring Cloud Cluster
* Export of Spring Boot metrics to Amazon Cloudwatch, and native support for Amazon RDS
== Notes:
Starting with Brixton, Zuul will no longer automatically send all headers to downstream services.
By default `Cookie`, `Set-Cookie` and `Authorization` *are not* sent to downstream services.
To return to the Angel behaviour, set `zuul.sensitiveHeaders=""` in the Zuul configuration.
See https://cloud.spring.io/spring-cloud-static/Brixton.SR6/#_cookies_and_sensitive_headers[the documentation] for more information.
Starting with Brixton, Zuul will no longer automatically send all headers to downstream services. By default `Cookie`, `Set-Cookie` and `Authorization` *are not* sent to downstream services. To return to the Angel behaviour, set `zuul.sensitiveHeaders=""` in the Zuul configuration. See http://cloud.spring.io/spring-cloud-static/Brixton.SR6/#_cookies_and_sensitive_headers[the documentation] for more information.
A `@LoadBalanced` `RestTemplate` is no longer created by default.
See the https://cloud.spring.io/spring-cloud-static/spring-cloud.html=_spring_resttemplate_as_a_load_balancer_client[updated documentation for details].
You need to create it in your applications configuration.
For example:
A `@LoadBalanced` `RestTemplate` is no longer created by default. See the http://cloud.spring.io/spring-cloud-static/spring-cloud.html=_spring_resttemplate_as_a_load_balancer_client[updated documentation for details]. You need to create it in your applications configuration. For example:
```java
@Configuration
@@ -80,9 +63,7 @@ Please note the correct BOM to use is `spring-cloud-dependencies` not `spring-cl
=== Migrating Spring Cloud Hystrix, Turbine and Bus with AMQP
The Bus, Hystrix and Turbine support that used to be implemented on top of Spring AMQP have all been migrated to use Spring Cloud Stream.
The old artifacts still exist, but are deprecated and will be removed at some point.
Instead of the `spring-cloud-*-amqp` artifacts you should use whatever raw feature you need, plus a stream binder of your choice, e.g. `spring-cloud-netflix-hystrix-stream` and `spring-cloud-starter-stream-rabbit` instead of `spring-cloud-netflix-hystrix-amqp`.
The Bus, Hystrix and Turbine support that used to be implemented on top of Spring AMQP have all been migrated to use Spring Cloud Stream. The old artifacts still exist, but are deprecated and will be removed at some point. Instead of the `spring-cloud-*-amqp` artifacts you should use whatever raw feature you need, plus a stream binder of your choice, e.g. `spring-cloud-netflix-hystrix-stream` and `spring-cloud-starter-stream-rabbit` instead of `spring-cloud-netflix-hystrix-amqp`.
|===
|Angel | Brixton (with AMQP) | Brixton (with Kafka) |
@@ -111,5 +92,4 @@ NOTE: There is still a `spring-cloud-netflix-hystrix-amqp` in the Brixton releas
- 2016/11/24 - Sleuth version `1.0.11.RELEASE` https://github.com/spring-cloud/spring-cloud-sleuth/milestone/17?closed=1[(issues)]
- 2016/11/23 - Config version `1.1.3.RELEASE` https://github.com/spring-cloud/spring-cloud-config/milestone/21?closed=1[(issues)]
Note:
There was an XXE vulnerability in xstream (which is used by Eureka), so please upgrade to Brixton.SR7 to pull in the latest version of that library which fixed the issue (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3674).
Note: There was an XXE vulnerability in xstream (which is used by Eureka), so please upgrade to Brixton.SR7 to pull in the latest version of that library which fixed the issue (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3674).

View File

@@ -19,6 +19,35 @@ A number of starters did not follow normal Spring Cloud naming conventions. In E
| spring-cloud-starter-turbine-stream | spring-cloud-starter-netflix-turbine-stream |
| spring-cloud-starter-zuul | spring-cloud-starter-netflix-zuul |
# Edgware.SR6
2019-05-23
- Spring Cloud Starter `Edgware.SR6`
- Spring Cloud Release `Edgware.SR6`
- Spring Cloud Security `1.2.4.RELEASE`
- Spring Cloud Bus `1.3.5.RELEASE`
- Spring Cloud Stream `Ditmars.SR5`
- Spring Cloud Task `1.2.4.RELEASE`
- Spring Cloud Netflix `1.4.7.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.7.RELEASE))
- Spring Cloud Sleuth `1.3.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.6.RELEASE))
- Spring Cloud Config `1.4.7.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/56?closed=1))
- Spring Cloud `Edgware.SR6`
- Spring Cloud Dependencies `Edgware.SR6`
- Spring Cloud Commons `1.3.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/56?closed=1))
- Spring Cloud Build `1.3.13.RELEASE`
- Spring Cloud Vault `1.1.3.RELEASE` (upgraded to Vault 1.1.3)
- Spring Cloud Zookeeper `1.2.3.RELEASE`
- Spring Cloud Contract `1.2.7.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.7.RELEASE))
- Spring Cloud Aws `1.2.4.RELEASE`
- Spring Cloud Consul `1.3.6.RELEASE`
- Spring Cloud Cloudfoundry `1.1.3.RELEASE`
- Spring Cloud Function `1.0.2.RELEASE`
- Spring Cloud Gateway `1.0.3.RELEASE`
# Edgware.SR5
2018-10-16
@@ -145,4 +174,3 @@ A number of starters did not follow normal Spring Cloud naming conventions. In E
- Spring Cloud Vault `1.1.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/5?closed=1))
- Spring Cloud Gateway `1.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/2?closed=1))

View File

@@ -1,5 +1,65 @@
Spring Cloud Finchley builds on Spring Boot 2.0.x and is not compatible with 1.x.y.
# Finchley.SR4
2019-06-08
- Spring Cloud Commons `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/60?closed=1))
- Spring Cloud Openfeign `2.0.4.RELEASE`
- Spring Cloud Dependencies `Finchley.SR4`
- Spring Cloud Release `Finchley.SR4`
- Spring Cloud Starter `Finchley.SR4`
- Spring Cloud Stream `Elmhurst.SR3`
- Spring Cloud Cloudfoundry `2.0.2.RELEASE`
- Spring Cloud Task `2.0.2.RELEASE`
- Spring Cloud Build `2.0.6.RELEASE`
- Spring Cloud Vault `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/32?closed=1))
- Spring Cloud Zookeeper `2.0.2.RELEASE`
- Spring Cloud Config `2.0.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/65?closed=1))
- Spring Cloud Aws `2.0.3.RELEASE`
- Spring Cloud Bus `2.0.2.RELEASE`
- Spring Cloud `Finchley.SR4`
- Spring Cloud Security `2.0.2.RELEASE`
- Spring Cloud Gateway `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/23?closed=1))
- Spring Cloud Netflix `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/78?closed=1))
- Spring Cloud Sleuth `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/61?closed=1))
- Spring Cloud Consul `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/36?closed=1))
- Spring Cloud Contract `2.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/52?closed=1))
- Spring Cloud Function `1.0.2.RELEASE`
# Finchley.SR3
2019-02-22
- Spring Cloud Config `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/57?closed=1))
- Spring Cloud Function `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/7?closed=1))
- Spring Cloud Starter `Finchley.SR3`
- Spring Cloud Release `Finchley.SR3`
- Spring Cloud Stream `Elmhurst.SR2`
- Spring Cloud Sleuth `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/60?closed=1))
- Spring Cloud Cloudfoundry `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/10?closed=1))
- Spring Cloud Zookeeper `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/25?closed=1))
- Spring Cloud Aws `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/25?closed=1))
- Spring Cloud Task `2.0.1.RELEASE`
- Spring Cloud Commons `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/55?closed=1))
- Spring Cloud Build `2.0.5.RELEASE`
- Spring Cloud Openfeign `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/8?closed=1))
- Spring Cloud Vault `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/26?closed=1))
- Spring Cloud `Finchley.SR3`
- Spring Cloud Security `2.0.1.RELEASE`
- Spring Cloud Bus `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/33?closed=1))
- Spring Cloud Contract `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/44?closed=1))
- Spring Cloud Consul `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/36?closed=1))
- Spring Cloud Gateway `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/19?closed=1))
- Spring Cloud Dependencies `Finchley.SR3`
- Spring Cloud Netflix `2.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/72?closed=1))
# Finchley.SR2
2018-10-23
@@ -213,4 +273,4 @@ Spring Cloud Finchley builds on Spring Boot 2.0.x and is not compatible with 1.x
- Spring Cloud Task `2.0.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/18?closed=1))
- Spring Cloud Vault `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/11?closed=1))
- Spring Cloud Zookeeper `2.0.0.M2`
- Spring Cloud Commons `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/34?closed=1))
- Spring Cloud Commons `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/34?closed=1))

View File

@@ -0,0 +1,308 @@
# Greenwich.SR6
2020-05-15
[All Issues](https://github.com/orgs/spring-cloud/projects/39)
- Spring Cloud Config `2.1.8.RELEASE`
- Spring Cloud Commons `2.1.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/74?closed=1))
# Greenwich.SR5
2020-02-01
- Spring Cloud Build `2.1.10.RELEASE`
- Spring Cloud Sleuth `2.1.7.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/71?closed=1))
- Spring Cloud Consul `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/45?closed=1))
- Spring Cloud Gateway `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/33?closed=1))
- Spring Cloud Contract `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/60?closed=1))
- Spring Cloud Netflix `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/87?closed=1))
- Spring Cloud Gcp `1.1.5.RELEASE`
- Spring Cloud Config `2.1.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/73?closed=1))
- Spring Cloud Starter Build `Greenwich.SR5`
- Spring Cloud Openfeign `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/20?closed=1))
- Spring Cloud Commons `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/69?closed=1))
- Spring Cloud Aws `2.1.4.RELEASE`
- Spring Cloud Vault `2.1.5.RELEASE`
- Spring Cloud Bus `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/41?closed=1))
- Spring Cloud Kubernetes `1.0.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/17?closed=1))
# Greenwich.SR4
2019-11-18
- Spring Cloud Security `2.1.5.RELEASE`
- Spring Cloud Starter `Greenwich.SR4`
- Spring Cloud Kubernetes `1.0.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/16?closed=1))
- Spring Cloud Commons `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/65?closed=1))
- Spring Cloud Openfeign `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/17?closed=1))
- Spring Cloud Dependencies Parent `2.1.9.RELEASE`
- Spring Cloud Stream `Fishtown.SR4`
- Spring Cloud Contract `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/56?closed=1))
- Spring Cloud Consul `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/43?closed=1))
- Spring Cloud Vault `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/34?closed=1))
- Spring Cloud Dependencies `Greenwich.SR4`
- Spring Cloud Zookeeper `2.1.4.RELEASE`
- Spring Cloud Task `2.1.3.RELEASE`
- Spring Cloud Bus `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/41?closed=1))
- Spring Cloud Release `Greenwich.SR4`
- Spring Cloud Cloudfoundry `2.1.4.RELEASE`
- Spring Cloud Build `2.1.9.RELEASE`
- Spring Cloud Netflix `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/83?closed=1))
- Spring Cloud `Greenwich.SR4`
- Spring Cloud Sleuth `2.1.6.RELEASE`
- Spring Cloud Config `2.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/70?closed=1))
- Spring Cloud Gateway `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/28?closed=1))
- Spring Cloud Function `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/18?closed=1))
- Spring Cloud Gcp `1.1.4.RELEASE`
- Spring Cloud Starter Parent `Greenwich.SR4`
- Spring Cloud Aws `2.1.4.RELEASE`
# Greenwich.SR3
2019-09-10
- Spring Cloud Commons `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/62?closed=1))
- Spring Cloud Openfeign `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/14?closed=1))
- Spring Cloud Security `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/22?closed=1))
- Spring Cloud Stream `Fishtown.SR4`
- Spring Cloud Kubernetes `1.0.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/13?closed=1))
- Spring Cloud Build `2.1.7.RELEASE`
- Spring Cloud Zookeeper `2.1.3.RELEASE`
- Spring Cloud Gateway `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/26?closed=1))
- Spring Cloud Dependencies `Greenwich.SR3`
- Spring Cloud Netflix `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/81?closed=1))
- Spring Cloud Bus `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/40?closed=1))
- Spring Cloud Dependencies Parent `2.1.7.RELEASE`
- Spring Cloud Task `2.1.3.RELEASE`
- Spring Cloud Starter `Greenwich.SR3`
- Spring Cloud Cloudfoundry `2.1.3.RELEASE`
- Spring Cloud `Greenwich.SR3`
- Spring Cloud Vault `2.1.3.RELEASE`
- Spring Cloud Config `2.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/68?closed=1))
- Spring Cloud Release `Greenwich.SR3`
- Spring Cloud Function `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/18?closed=1))
- Spring Cloud Consul `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/42?closed=1))
- Spring Cloud Starter Parent `Greenwich.SR3`
- Spring Cloud Gcp `1.1.3.RELEASE`
- Spring Cloud Sleuth `2.1.3.RELEASE`
- Spring Cloud Aws `2.1.3.RELEASE`
- Spring Cloud Contract `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/53?closed=1))
# Greenwich.SR2
2019-06-21
- Spring Cloud Task `2.1.2.RELEASE`
- Spring Cloud Config `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/66?closed=1))
- Spring Cloud Stream `Fishtown.SR3` ([issues](https://github.com/spring-cloud/spring-cloud-stream/milestone/60?closed=1))
- Spring Cloud `Greenwich.SR2`
- Spring Cloud Sleuth `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/62?closed=1))
- Spring Cloud Commons `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/61?closed=1))
- Spring Cloud Openfeign `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/12?closed=1))
- Spring Cloud Release `Greenwich.SR2`
- Spring Cloud Kubernetes `1.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/11?closed=1))
- Spring Cloud Aws `2.1.2.RELEASE`
- Spring Cloud Vault `2.1.2.RELEASE`
- Spring Cloud Function `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/18?closed=1))
- Spring Cloud Bus `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/37?closed=1))
- Spring Cloud Build `2.1.6.RELEASE`
- Spring Cloud Zookeeper `2.1.2.RELEASE`
- Spring Cloud Dependencies `Greenwich.SR2`
- Spring Cloud Gcp `1.1.2.RELEASE`
- Spring Cloud Contract `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/51?closed=1))
- Spring Cloud Consul `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/41?closed=1))
- Spring Cloud Security `2.1.3.RELEASE`
- Spring Cloud Gateway `2.1.2.RELEASE`
- Spring Cloud Cloudfoundry `2.1.2.RELEASE`
- Spring Cloud Netflix `2.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/76?closed=1))
- Spring Cloud Starter `Greenwich.SR2`
# Greenwich.SR1
2019-03-05
- Spring Cloud Netflix `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/75?closed=1))
- Spring Cloud Stream `Fishtown.SR2`
- Spring Cloud Gcp `1.1.1.RELEASE`
- Spring Cloud Cloudfoundry `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/12?closed=1))
- Spring Cloud Build `2.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-build/milestone/24?closed=1))
- Spring Cloud Commons `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/58?closed=1))
- Spring Cloud `Greenwich.SR1`
- Spring Cloud Openfeign `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/11?closed=1))
- Spring Cloud Task `2.1.1.RELEASE`
- Spring Cloud Sleuth `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/59?closed=1))
- Spring Cloud Aws `2.1.1.RELEASE`
- Spring Cloud Release `Greenwich.SR1`
- Spring Cloud Zookeeper `2.1.1.RELEASE`
- Spring Cloud Bus `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/36?closed=1))
- Spring Cloud Vault `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/30?closed=1))
- Spring Cloud Kubernetes `1.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/10?closed=1))
- Spring Cloud Dependencies `Greenwich.SR1`
- Spring Cloud Contract `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/49?closed=1))
- Spring Cloud Consul `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/38?closed=1))
- Spring Cloud Gateway `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/22?closed=1))
- Spring Cloud Function `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/17?closed=1))
- Spring Cloud Starter `Greenwich.SR1`
- Spring Cloud Config `2.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/61?closed=1))
- Spring Cloud Security `2.1.2.RELEASE` ([2.1.1 issues + documentation fixes](https://github.com/spring-cloud/spring-cloud-security/issues?q=is%3Aclosed+milestone%3A2.1.1.RELEASE))
# Greenwich.RELEASE
2019-01-22
Spring Cloud Greenwich builds on Spring Boot 2.1.x
For a complete list of the issues resolved in this release see the [Greenwich.RELEASE GitHub Project](https://github.com/orgs/spring-cloud/projects/19).
- Spring Cloud Sleuth `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/58?closed=1))
- Spring Cloud Gcp `1.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gcp/milestone/9?closed=1))
- Spring Cloud Netflix `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/74?closed=1))
- Spring Cloud Consul `2.1.0.RELEASE`
- Spring Cloud Gateway `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/21?closed=1))
- Spring Cloud Function `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/14?closed=1))
- Spring Cloud Stream `Fishtown.RELEASE` ([Announcement](https://spring.io/blog/2019/01/08/announcing-general-availability-of-spring-cloud-stream-fishtown-release-2-1-0-release))
- Spring Cloud Zookeeper `2.1.0.RELEASE`
- Spring Cloud Cloudfoundry `2.1.0.RELEASE`
- Spring Cloud Aws `2.1.0.RELEASE`
- Spring Cloud Task `2.1.0.RELEASE` ([Announcement](https://spring.io/blog/2019/01/22/spring-cloud-task-2-1-0-ga-is-now-available))
- Spring Cloud Kubernetes `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/9?closed=1))
- Spring Cloud Contract `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/48?closed=1))
- Spring Cloud Security `2.1.0.RELEASE`
- Spring Cloud Bus `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/35?closed=1))
- Spring Cloud Config `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/60?closed=1))
- Spring Cloud Vault `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/29?closed=1))
- Spring Cloud Openfeign `2.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/10?closed=1))
- Spring Cloud Commons `2.1.0.RELEASE`
# Greenwich.RC2
2018-12-21
See all issues assigned to Greenwich.RC2 at the [Github Project](https://github.com/orgs/spring-cloud/projects/12)
- Spring Cloud Security `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-security/issues?q=is%3Aclosed+milestone%3A2.1.0.RC3))
- Spring Cloud Vault `2.1.0.RC1`
- Spring Cloud Contract `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/46?closed=1))
- Spring Cloud Kubernetes `1.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/8?closed=1))
- Spring Cloud Commons `2.1.0.RC2`
- Spring Cloud Zookeeper `2.1.0.RC2`
- Spring Cloud Openfeign `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.1.0.RC3))
- Spring Cloud Aws `2.1.0.RC1`
- Spring Cloud Starter `Greenwich.RC2`
- Spring Cloud Bus `2.1.0.RC3`
- Spring Cloud Sleuth `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.1.0.RC3))
- Spring Cloud Netflix `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/73?closed=1))
- Spring Cloud Stream `Fishtown.RC4`
- Spring Cloud Gcp `1.1.0.RC2`
- Spring Cloud Cloudfoundry `2.1.0.RC2`
- Spring Cloud Build `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-build/milestone/21?closed=1))
- Spring Cloud Dependencies `Greenwich.RC2`
- Spring Cloud Task `2.1.0.M2`
- Spring Cloud Release `Greenwich.RC2`
- Spring Cloud Function `2.0.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/15?closed=1))
- Spring Cloud `Greenwich.RC2`
- Spring Cloud Consul `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/37?closed=1))
- Spring Cloud Config `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/59?closed=1))
- Spring Cloud Gateway `2.1.0.RC3` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/20?closed=1))
# Greenwich.RC1
Spring Cloud Greenwich builds on Spring Boot 2.1.x and is not compatible with 2.0.x or 1.x.y.
See all issues assigned to Greenwich.RC1 at the [Github Project](https://github.com/orgs/spring-cloud/projects/18)
2018-12-12
- Spring Cloud Kubernetes `1.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/issues?q=is%3Aclosed+milestone%3A1.0.0.RC1))
- Spring Cloud Security `2.1.0.RC2`
- Spring Cloud Vault `2.1.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/27?closed=1))
- Spring Cloud Commons `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Contract `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Openfeign `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Zookeeper `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Stream `Fishtown.RC2`
- Spring Cloud Starter `Greenwich.RC1`
- Spring Cloud Aws `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/24?closed=1))
- Spring Cloud Sleuth `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Bus `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Netflix `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Gcp `1.1.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-gcp/milestone/10?closed=1))
- Spring Cloud Cloudfoundry `2.1.0.RC2`
- Spring Cloud Build `2.1.0.RC3`
- Spring Cloud Dependencies `Greenwich.RC1`
- Spring Cloud Function `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/13?closed=1))
- Spring Cloud Task `2.1.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/29?closed=1))
- Spring Cloud Release `Greenwich.RC1`
- Spring Cloud Consul `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/59?closed=1))
- Spring Cloud Config `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud Gateway `2.1.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.1.0.RC1))
- Spring Cloud `Greenwich.RC1`
# Greenwich.M3
2018-11-19
- Spring Cloud `Greenwich.M3`
- Spring Cloud Zookeeper `2.1.0.M1`
- Spring Cloud Gateway `2.1.0.M3`
- Spring Cloud Bus `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/31?closed=1))
- Spring Cloud Consul `2.1.0.M2`
- Spring Cloud Stream `Fishtown.RC2`
- Spring Cloud Aws `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/24?closed=1))
- Spring Cloud Release `Greenwich.M3`
- Spring Cloud Commons `2.1.0.M2`
- Spring Cloud Vault `2.1.0.M2`
- Spring Cloud Netflix `2.1.0.M3`
- Spring Cloud Openfeign `2.1.0.M2`
- Spring Cloud Kubernetes `1.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/6?closed=1))
- Spring Cloud Gcp `1.1.0.M3`
- Spring Cloud Config `2.1.0.M3`
- Spring Cloud Dependencies `Greenwich.M3`
- Spring Cloud Contract `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/38?closed=1))
- Spring Cloud Sleuth `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/54?closed=1))
- Spring Cloud Build `2.1.0.RC2`
- Spring Cloud Security `2.1.0.M1`
- Spring Cloud Function `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/13?closed=1))
- Spring Cloud Task `2.1.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/29?closed=1))
- Spring Cloud Cloudfoundry `2.1.0.M1`
- Spring Cloud Starter `Greenwich.M3`
# Greenwich.M2
2018-11-18
- Spring Cloud Zookeeper `2.1.0.M1`
- Spring Cloud Bus `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/31?closed=1))
- Spring Cloud Consul `2.1.0.M2`
- Spring Cloud Gateway `2.1.0.M2`
- Spring Cloud Stream `Fishtown.RC1`
- Spring Cloud Aws `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/24?closed=1))
- Spring Cloud Commons `2.1.0.M2`
- Spring Cloud `Greenwich.M2`
- Spring Cloud Release `Greenwich.M2`
- Spring Cloud Vault `2.1.0.M2`
- Spring Cloud Netflix `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/70?closed=1))
- Spring Cloud Openfeign `2.1.0.M2`
- Spring Cloud Kubernetes `1.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-kubernetes/milestone/6?closed=1))
- Spring Cloud Dependencies `2.1.0.RC2`
- Spring Cloud Gcp `1.1.0.M3`
- Spring Cloud Config `2.1.0.M2`
- Spring Cloud Contract `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/38?closed=1))
- Spring Cloud Sleuth `2.1.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/54?closed=1))
- Spring Cloud Build `2.1.0.RC2`
- Spring Cloud Security `2.1.0.M1`
- Spring Cloud Task `2.1.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/29?closed=1))
- Spring Cloud Function `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/12?closed=1))
- Spring Cloud Cloudfoundry `2.1.0.M1`
- Spring Cloud Starter `Greenwich.M2`

View File

@@ -0,0 +1 @@
The Hoxton Release Notes have moved to https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-Hoxton-Release-Notes

View File

@@ -3,3 +3,5 @@
| Athens | 1.4.x | Camden |
| Brussels | 1.5.x | Dalston & Edgware |
| Cairo | 2.0.x | Finchley |
The Spring IO Platform has been discontinued in favor of Spring Boot.

View File

@@ -1 +0,0 @@
adding Spring Clouud 2020.0 release notes

View File

@@ -1 +0,0 @@
ref: refs/heads/master

View File

@@ -1,13 +0,0 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = git@github.com:spring-projects/spring-cloud.wiki.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

View File

@@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@@ -1,15 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:

View File

@@ -1,24 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".
# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
# This example catches duplicate Signed-off-by lines.
test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
exit 1
}

View File

@@ -1,8 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info

View File

@@ -1,14 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:

View File

@@ -1,47 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1; then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0; then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --

View File

@@ -1,49 +0,0 @@
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local sha1> <remote ref> <remote sha1>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).
remote="$1"
url="$2"
z40=0000000000000000000000000000000000000000
while read local_ref local_sha remote_ref remote_sha; do
if [ "$local_sha" = $z40 ]; then
# Handle delete
:
else
if [ "$remote_sha" = $z40 ]; then
# New branch, examine all commits
range="$local_sha"
else
# Update to existing branch, examine new commits
range="$remote_sha..$local_sha"
fi
# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if [ -n "$commit" ]; then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done
exit 0

View File

@@ -1,165 +0,0 @@
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $2 -- the branch being rebased (or empty when rebasing the current branch).
#
# This sample shows how to prevent topic branches that are already
# merged to 'next' branch from getting rebased, because allowing it
# would result in rebasing already published history.
publish=next
basebranch="$1"
if test "$#" = 2; then
topic="refs/heads/$2"
else
topic=$(git symbolic-ref HEAD) ||
exit 0 # we do not interrupt rebasing detached HEAD
fi
case "$topic" in
refs/heads/??/*) ;;
*)
exit 0 # we do not interrupt others.
;;
esac
# Now we are dealing with a topic branch being rebased
# on top of master. Is it OK to rebase it?
# Does the topic really exist?
git show-ref -q "$topic" || {
echo >&2 "No such branch $topic"
exit 1
}
# Is topic fully merged to master?
not_in_master=$(git rev-list --pretty=oneline ^master "$topic")
if test -z "$not_in_master"; then
echo >&2 "$topic is fully merged to master; better remove it."
exit 1 # we could allow it, but there is no point.
fi
# Is topic ever merged to next? If so you should not be rebasing it.
only_next_1=$(git rev-list ^master "^$topic" ${publish} | sort)
only_next_2=$(git rev-list ^master ${publish} | sort)
if test "$only_next_1" = "$only_next_2"; then
not_in_topic=$(git rev-list "^$topic" master)
if test -z "$not_in_topic"; then
echo >&2 "$topic is already up to date with master"
exit 1 # we could allow it, but there is no point.
else
exit 0
fi
else
not_in_next=$(git rev-list --pretty=oneline ^${publish} "$topic")
/usr/bin/perl -e '
my $topic = $ARGV[0];
my $msg = "* $topic has commits already merged to public branch:\n";
my (%not_in_next) = map {
/^([0-9a-f]+) /;
($1 => 1);
} split(/\n/, $ARGV[1]);
for my $elem (map {
/^([0-9a-f]+) (.*)$/;
[$1 => $2];
} split(/\n/, $ARGV[2])) {
if (!exists $not_in_next{$elem->[0]}) {
if ($msg) {
print STDERR $msg;
undef $msg;
}
print STDERR " $elem->[1]\n";
}
}
' "$topic" "$not_in_next" "$not_in_master"
exit 1
fi
<<\DOC_END
This sample hook safeguards topic branches that have been
published from being rewound.
The workflow assumed here is:
* Once a topic branch forks from "master", "master" is never
merged into it again (either directly or indirectly).
* Once a topic branch is fully cooked and merged into "master",
it is deleted. If you need to build on top of it to correct
earlier mistakes, a new topic branch is created by forking at
the tip of the "master". This is not strictly necessary, but
it makes it easier to keep your history simple.
* Whenever you need to test or publish your changes to topic
branches, merge them into "next" branch.
The script, being an example, hardcodes the publish branch name
to be "next", but it is trivial to make it configurable via
$GIT_DIR/config mechanism.
With this workflow, you would want to know:
(1) ... if a topic branch has ever been merged to "next". Young
topic branches can have stupid mistakes you would rather
clean up before publishing, and things that have not been
merged into other branches can be easily rebased without
affecting other people. But once it is published, you would
not want to rewind it.
(2) ... if a topic branch has been fully merged to "master".
Then you can delete it. More importantly, you should not
build on top of it -- other people may already want to
change things related to the topic as patches against your
"master", so if you need further changes, it is better to
fork the topic (perhaps with the same name) afresh from the
tip of "master".
Let's look at this example:
o---o---o---o---o---o---o---o---o---o "next"
/ / / /
/ a---a---b A / /
/ / / /
/ / c---c---c---c B /
/ / / \ /
/ / / b---b C \ /
/ / / / \ /
---o---o---o---o---o---o---o---o---o---o---o "master"
A, B and C are topic branches.
* A has one fix since it was merged up to "next".
* B has finished. It has been fully merged up to "master" and "next",
and is ready to be deleted.
* C has not merged to "next" at all.
We would want to allow C to be rebased, refuse A, and encourage
B to be deleted.
To compute (1):
git rev-list ^master ^topic next
git rev-list ^master next
if these match, topic has not merged in next at all.
To compute (2):
git rev-list master..topic
if this is empty, it is fully merged to "master".
DOC_END

View File

@@ -1,23 +0,0 @@
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"; then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"; do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
;;
esac
i=$((i + 1))
done
fi

View File

@@ -1,42 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# the commit is aborted.
#
# To enable this hook, rename this file to "prepare-commit-msg".
# This hook includes three examples. The first one removes the
# "# Please enter the commit message..." help message.
#
# The second includes the output of "git diff --name-status -r"
# into the message, just before the "git status" output. It is
# commented because it doesn't cope with --amend or with squashed
# commits.
#
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
# /usr/bin/perl -i.bak -pe '
# print "\n" . `git diff --cached --name-status -r`
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
# *) ;;
# esac
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
# fi

View File

@@ -1,127 +0,0 @@
#!/bin/sh
#
# An example hook script to block unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into the
# repository. By default they won't be.
# hooks.allowdeletetag
# This boolean sets whether deleting tags will be allowed in the
# repository. By default they won't be.
# hooks.allowmodifytag
# This boolean sets whether a tag may be modified after creation. By default
# it won't be.
# hooks.allowdeletebranch
# This boolean sets whether deleting branches will be allowed in the
# repository. By default they won't be.
# hooks.denycreatebranch
# This boolean sets whether remotely creating branches will be denied
# in the repository. By default this is allowed.
#
# --- Command line
refname="$1"
oldrev="$2"
newrev="$3"
# --- Safety check
if [ -z "$GIT_DIR" ]; then
echo "Don't run this script from the command line." >&2
echo " (if you want, you could supply GIT_DIR then run" >&2
echo " $0 <ref> <oldrev> <newrev>)" >&2
exit 1
fi
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
exit 1
fi
# --- Config
allowunannotated=$(git config --bool hooks.allowunannotated)
allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
denycreatebranch=$(git config --bool hooks.denycreatebranch)
allowdeletetag=$(git config --bool hooks.allowdeletetag)
allowmodifytag=$(git config --bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero="0000000000000000000000000000000000000000"
if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git cat-file -t $newrev)
fi
case "$refname","$newrev_type" in
refs/tags/*,commit)
# un-annotated tag
short_refname=${refname##refs/tags/}
if [ "$allowunannotated" != "true" ]; then
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
exit 1
fi
;;
refs/tags/*,delete)
# delete tag
if [ "$allowdeletetag" != "true" ]; then
echo "*** Deleting a tag is not allowed in this repository" >&2
exit 1
fi
;;
refs/tags/*,tag)
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname >/dev/null 2>&1; then
echo "*** Tag '$refname' already exists." >&2
echo "*** Modifying a tag is not allowed in this repository." >&2
exit 1
fi
;;
refs/heads/*,commit)
# branch
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
echo "*** Creating a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/heads/*,delete)
# delete branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/remotes/*,commit)
# tracking branch
;;
refs/remotes/*,delete)
# delete tracking branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
exit 1
fi
;;
*)
# Anything else (is there anything else?)
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
exit 1
;;
esac
# --- Finished
exit 0

View File

@@ -1,6 +0,0 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View File

@@ -1,2 +0,0 @@
0000000000000000000000000000000000000000 3fa536308bcdaf5c4670c0c438ead6b3cad990da Marcin Grzejszczak <mgrzejszczak@pivotal.io> 1540806486 +0100 clone: from git@github.com:spring-projects/spring-cloud.wiki.git
3fa536308bcdaf5c4670c0c438ead6b3cad990da 1fa2c37fe634da1c5e640dcb461711d356f660f2 Ryan Baxter <rbaxter@vmware.com> 1639686770 -0500 commit: adding Spring Clouud 2020.0 release notes

View File

@@ -1,2 +0,0 @@
0000000000000000000000000000000000000000 3fa536308bcdaf5c4670c0c438ead6b3cad990da Marcin Grzejszczak <mgrzejszczak@pivotal.io> 1540806486 +0100 clone: from git@github.com:spring-projects/spring-cloud.wiki.git
3fa536308bcdaf5c4670c0c438ead6b3cad990da 1fa2c37fe634da1c5e640dcb461711d356f660f2 Ryan Baxter <rbaxter@vmware.com> 1639686770 -0500 commit: adding Spring Clouud 2020.0 release notes

View File

@@ -1 +0,0 @@
0000000000000000000000000000000000000000 3fa536308bcdaf5c4670c0c438ead6b3cad990da Marcin Grzejszczak <mgrzejszczak@pivotal.io> 1540806486 +0100 clone: from git@github.com:spring-projects/spring-cloud.wiki.git

View File

@@ -1 +0,0 @@
x<01><>kN1 <0C><><EFBFBD>S<EFBFBD>TnN"!<21><>p<02>q<EFBFBD>RwS<77>Y<1E>g<EFBFBD>

View File

@@ -1,2 +0,0 @@
# pack-refs with: peeled fully-peeled sorted
3fa536308bcdaf5c4670c0c438ead6b3cad990da refs/remotes/origin/master

View File

@@ -1 +0,0 @@
1fa2c37fe634da1c5e640dcb461711d356f660f2

View File

@@ -1 +0,0 @@
ref: refs/remotes/origin/master