creates release notes in wiki; fixes gh-92

This commit is contained in:
Marcin Grzejszczak
2018-10-29 13:30:16 +01:00
parent 553a2e7695
commit 874824be16
86 changed files with 3395 additions and 29 deletions

View File

@@ -250,4 +250,13 @@ public class Releaser {
log.warn("\nUnable to update all samples", e);
}
}
public void updateReleaseTrainWiki(Projects projects) {
try {
this.documentationUpdater.updateReleaseTrainWiki(projects);
log.info("\nSuccessfully updated project wiki");
} catch (Exception e) {
log.warn("\nUnable to update project wiki", e);
}
}
}

View File

@@ -161,6 +161,11 @@ public class ReleaserProperties implements Serializable {
*/
private String releaseTrainDocsUrl = "https://github.com/spring-cloud-samples/scripts";
/**
* URL to the release train wiki
*/
private String releaseTrainWikiUrl = "https://github.com/spring-projects/spring-cloud.wiki.git";
/**
* Branch to check out for the documentation project
*/
@@ -181,6 +186,12 @@ public class ReleaserProperties implements Serializable {
*/
private String releaseTrainDocsBranch = "master";
/**
* Page prefix for the release train wiki. E.g. for [Spring-Cloud-Finchley-Release-Notes]
* it would be [Spring-Cloud].
*/
private String releaseTrainWikiPagePrefix = "Spring-Cloud";
/**
* Where should the Spring Cloud Release repo get cloned to. If {@code null} defaults to a temporary directory
*/
@@ -238,6 +249,11 @@ public class ReleaserProperties implements Serializable {
*/
private boolean updateReleaseTrainDocs = true;
/**
* If set to {@code false}, will not clone and update the release train wiki
*/
private boolean updateReleaseTrainWiki = true;
/**
* If set to {@code false}, will not clone and update the samples for all projects
*/
@@ -433,15 +449,41 @@ public class ReleaserProperties implements Serializable {
this.allTestSampleUrls = allTestSampleUrls;
}
public String getReleaseTrainWikiUrl() {
return this.releaseTrainWikiUrl;
}
public void setReleaseTrainWikiUrl(String releaseTrainWikiUrl) {
this.releaseTrainWikiUrl = releaseTrainWikiUrl;
}
public boolean isUpdateReleaseTrainWiki() {
return this.updateReleaseTrainWiki;
}
public void setUpdateReleaseTrainWiki(boolean updateReleaseTrainWiki) {
this.updateReleaseTrainWiki = updateReleaseTrainWiki;
}
public String getReleaseTrainWikiPagePrefix() {
return this.releaseTrainWikiPagePrefix;
}
public void setReleaseTrainWikiPagePrefix(String releaseTrainWikiPagePrefix) {
this.releaseTrainWikiPagePrefix = releaseTrainWikiPagePrefix;
}
@Override
public String toString() {
return "Git{" +
"releaseTrainBomUrl='" + this.releaseTrainBomUrl + '\'' +
", documentationUrl='" + this.documentationUrl + '\'' +
", documentationBranch='" + this.documentationBranch + '\'' +
", releaseTrainWikiUrl='" + this.releaseTrainWikiUrl + '\'' +
", updateDocumentationRepo=" + this.updateDocumentationRepo +
", springProjectUrl=" + this.springProjectUrl+
", springProjectBranch=" + this.springProjectBranch +
", releaseTrainWikiPagePrefix=" + this.releaseTrainWikiPagePrefix +
", cloneDestinationDir='" + this.cloneDestinationDir + '\'' +
", fetchVersionsFromGit=" + this.fetchVersionsFromGit +
", oauthToken='" + this.oauthToken + '\'' +

View File

@@ -7,6 +7,7 @@ import org.springframework.cloud.release.internal.ReleaserPropertiesAware;
import org.springframework.cloud.release.internal.git.ProjectGitHandler;
import org.springframework.cloud.release.internal.pom.ProjectVersion;
import org.springframework.cloud.release.internal.pom.Projects;
import org.springframework.cloud.release.internal.template.TemplateGenerator;
/**
* @author Marcin Grzejszczak
@@ -17,10 +18,12 @@ public class DocumentationUpdater implements ReleaserPropertiesAware {
private final ReleaseTrainContentsUpdater releaseTrainContentsUpdater;
private ReleaserProperties properties;
public DocumentationUpdater(ProjectGitHandler gitHandler, ReleaserProperties properties) {
public DocumentationUpdater(ProjectGitHandler gitHandler, ReleaserProperties properties,
TemplateGenerator templateGenerator) {
this.properties = properties;
this.projectDocumentationUpdater = new ProjectDocumentationUpdater(this.properties, gitHandler);
this.releaseTrainContentsUpdater = new ReleaseTrainContentsUpdater(this.properties, gitHandler);
this.releaseTrainContentsUpdater = new ReleaseTrainContentsUpdater(this.properties, gitHandler,
templateGenerator);
}
DocumentationUpdater(ReleaserProperties properties, ProjectDocumentationUpdater updater,
@@ -54,6 +57,16 @@ public class DocumentationUpdater implements ReleaserPropertiesAware {
return this.releaseTrainContentsUpdater.updateProjectRepo(projects);
}
/**
* Updates the release train wiki page
*
* @param projects
* @return {@link File cloned temporary directory} - {@code null} if wrong version is used or the switch is turned off
*/
public File updateReleaseTrainWiki(Projects projects) {
return this.releaseTrainContentsUpdater.updateReleaseTrainWiki(projects);
}
@Override
public void setReleaserProperties(ReleaserProperties properties) {
this.properties = properties;

View File

@@ -6,6 +6,7 @@ import java.nio.file.Files;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.StringJoiner;
import java.util.stream.Collectors;
import com.github.jknack.handlebars.Template;
@@ -19,6 +20,7 @@ import org.springframework.cloud.release.internal.git.ProjectGitHandler;
import org.springframework.cloud.release.internal.pom.ProjectVersion;
import org.springframework.cloud.release.internal.pom.Projects;
import org.springframework.cloud.release.internal.tech.HandlebarsHelper;
import org.springframework.cloud.release.internal.template.TemplateGenerator;
import org.springframework.util.StringUtils;
/**
@@ -33,10 +35,12 @@ class ReleaseTrainContentsUpdater implements ReleaserPropertiesAware {
private final ReleaseTrainContentsGitHandler handler;
private final ReleaseTrainContentsParser parser;
private final ReleaseTrainContentsGenerator generator;
private final TemplateGenerator templateGenerator;
ReleaseTrainContentsUpdater(ReleaserProperties properties, ProjectGitHandler handler) {
ReleaseTrainContentsUpdater(ReleaserProperties properties, ProjectGitHandler handler, TemplateGenerator templateGenerator) {
this.properties = properties;
this.handler = new ReleaseTrainContentsGitHandler(handler);
this.templateGenerator = templateGenerator;
this.parser = new ReleaseTrainContentsParser();
this.generator = new ReleaseTrainContentsGenerator(properties);
}
@@ -55,7 +59,7 @@ class ReleaseTrainContentsUpdater implements ReleaserPropertiesAware {
}
File releaseTrainProject = this.handler.cloneSpringDocProject();
File index = new File(releaseTrainProject, "index.html");
ReleaseTrainContents contents = this.parser.parse(index);
ReleaseTrainContents contents = this.parser.parseProjectPage(index);
String newContents = this.generator.releaseTrainContents(contents, projects);
if (StringUtils.isEmpty(newContents)) {
log.info("No changes to commit to the Spring Project page.");
@@ -79,6 +83,94 @@ class ReleaseTrainContentsUpdater implements ReleaserPropertiesAware {
}
}
/**
* Clones the test project, updates it and runs tests
*
* @param projects - set of project with versions to assert against
*/
File updateReleaseTrainWiki(Projects projects) {
if (!this.properties.getGit().isUpdateReleaseTrainWiki() ||
!this.properties.getMetaRelease().isEnabled()) {
log.info("Will not clone and update the release train wiki, since the switch to do so "
+ "is off or it's not a meta-release. Set [releaser.git.update-release-train-wiki] to [true] to change that");
return null;
}
File releaseTrainWiki = this.handler.cloneReleaseTrainWiki();
ProjectVersion releaseTrain = projects.releaseTrain(this.properties);
String releaseTrainName = releaseTrain.major();
String wikiPagePrefix = this.properties.getGit().getReleaseTrainWikiPagePrefix();
String releaseTrainDocFileName = releaseTrainDocFileName(releaseTrainName, wikiPagePrefix);
log.info("Reading the file [{}] for the current release train", releaseTrainDocFileName);
File releaseTrainDocFile = releaseTrainDocFile(releaseTrainWiki, releaseTrainDocFileName);
String releaseVersionFromCurrentFile = this.parser.latestReleaseTrainFromWiki(releaseTrainDocFile);
log.info("Latest release train version in the file is [{}]", releaseVersionFromCurrentFile);
if (!isThisReleaseTrainVersionNewer(releaseTrain, releaseVersionFromCurrentFile)) {
log.info("Current release train version [{}] is not "
+ "newer than the version taken from the wiki [{}]",
releaseTrain.version, releaseVersionFromCurrentFile);
return releaseTrainWiki;
}
return generateNewWikiEntry(projects, releaseTrainWiki, releaseTrain,
releaseTrainName, releaseTrainDocFile, releaseVersionFromCurrentFile);
}
private File generateNewWikiEntry(Projects projects, File releaseTrainWiki, ProjectVersion releaseTrain, String releaseTrainName, File releaseTrainDocFile, String releaseVersionFromCurrentFile) {
File releaseNotes = this.templateGenerator.releaseNotes(projects);
try {
List<String> lines = Files.readAllLines(releaseTrainDocFile.toPath());
int lineIndex;
for (lineIndex = 0; lineIndex < lines.size(); lineIndex++) {
if (lines.get(lineIndex).contains(releaseVersionFromCurrentFile)) {
break;
}
}
return insertNewWikiContentBeforeTheLatestRelease(releaseTrainWiki, releaseTrain,
releaseTrainName, releaseTrainDocFile, releaseNotes, lines, lineIndex);
}
catch (IOException ex) {
throw new IllegalStateException(ex);
}
}
private File insertNewWikiContentBeforeTheLatestRelease(File releaseTrainWiki, ProjectVersion releaseTrain, String releaseTrainName, File releaseTrainDocFile, File releaseNotes, List<String> lines, int lineIndex) throws IOException {
String newContent = new StringJoiner("\n")
.add(String.join("\n", lines.subList(0, lineIndex)))
.add("\n").add(new String(Files.readAllBytes(releaseNotes.toPath())))
.add(String.join("\n", lines.subList(lineIndex, lines.size())))
.toString();
Files.write(releaseTrainDocFile.toPath(), newContent.getBytes());
log.info("Successfully stored new wiki contents for release train [{}]", releaseTrainName);
this.handler.commitAndPushChanges(releaseTrainWiki, releaseTrain);
return releaseTrainWiki;
}
private String releaseTrainDocFileName(String releaseTrainName, String wikiPagePrefix) {
return new StringJoiner("-")
.add(wikiPagePrefix).add(releaseTrainName).add("Release-Notes.md").toString();
}
private boolean isThisReleaseTrainVersionNewer(ProjectVersion releaseTrain, String releaseVersionFromCurrentFile) {
if (StringUtils.hasText(releaseVersionFromCurrentFile)) {
return releaseTrain.compareToReleaseTrainName(releaseVersionFromCurrentFile) > 0;
}
return true;
}
private File releaseTrainDocFile(File releaseTrainWiki, String releaseTrainDocFileName) {
File releaseTrainDocFile = new File(releaseTrainWiki, releaseTrainDocFileName);
if (!releaseTrainDocFile.exists()) {
try {
if (!releaseTrainDocFile.createNewFile()) {
throw new IllegalStateException("Failed to create releae train doc file");
}
}
catch (IOException e) {
throw new IllegalStateException(e);
}
}
return releaseTrainDocFile;
}
@Override
public void setReleaserProperties(ReleaserProperties properties) {
this.properties = properties;
@@ -121,7 +213,7 @@ class ReleaseTrainContentsGenerator implements ReleaserPropertiesAware {
}
ProjectVersion currentReleaseTrainProject(Projects projects) {
return projects.forName(this.properties.getMetaRelease().getReleaseTrainProjectName());
return projects.releaseTrain(this.properties);
}
private String generate(File contentOutput, Template template, ReleaseTrainContents releaseTrainContents) {
@@ -205,11 +297,14 @@ class ReleaseTrainContentsGitHandler {
this.handler = handler;
}
// clones the project and checks out the branch
File cloneSpringDocProject() {
return this.handler.cloneSpringDocProject();
}
File cloneReleaseTrainWiki() {
return this.handler.cloneReleaseTrainWiki();
}
void commitAndPushChanges(File repo, ProjectVersion releaseTrain) {
log.debug("Committing and pushing changes");
this.handler.commit(repo, String.format(PROJECT_PAGE_UPDATED_COMMIT_MSG, releaseTrain.version));
@@ -223,7 +318,7 @@ class ReleaseTrainContentsParser {
private static final Logger log = LoggerFactory
.getLogger(ReleaseTrainContentsParser.class);
ReleaseTrainContents parse(File rawHtml) {
ReleaseTrainContents parseProjectPage(File rawHtml) {
try {
String contents = new String(Files.readAllBytes(rawHtml.toPath()));
String[] split = contents.split("<!-- (BEGIN|END) COMPONENTS -->");
@@ -246,4 +341,18 @@ class ReleaseTrainContentsParser {
throw new IllegalStateException(e);
}
}
String latestReleaseTrainFromWiki(File rawMd) {
try {
return Files.readAllLines(rawMd.toPath()).stream()
.filter(s -> s.trim().startsWith("#"))
.map(s -> s.substring(1).trim())
.filter(s -> new ProjectVersion("foo", s).isValid())
.findFirst()
.orElse("");
}
catch (IOException e) {
throw new IllegalStateException(e);
}
}
}

View File

@@ -73,6 +73,10 @@ public class ProjectGitHandler implements ReleaserPropertiesAware {
this.properties.getGit().getTestSamplesBranch());
}
public File cloneReleaseTrainWiki() {
return cloneProject(this.properties.getGit().getReleaseTrainWikiUrl());
}
public File cloneReleaseTrainProject() {
return cloneProject(this.properties.getGit().getReleaseTrainBomUrl());
}

View File

@@ -59,7 +59,8 @@ public class ProjectVersion {
}
// 1.0.0.BUILD-SNAPSHOT
String[] splitVersion = this.version.split("\\.");
if (splitVersion.length < 4 && isNumeric(splitVersion[0])) {
if (splitVersion.length < 4 && isNumeric(splitVersion[0]) ||
splitVersion.length == 1 && !isNumeric(splitVersion[0])) {
throw new IllegalStateException("Version is invalid. Should be of format [1.2.3.A]");
}
return splitVersion;
@@ -101,6 +102,19 @@ public class ProjectVersion {
return "";
}
public boolean isValid() {
try {
assertVersion();
return true;
} catch (IllegalStateException e) {
return false;
}
}
public String major() {
return this.assertVersion()[0];
}
public boolean isSnapshot() {
return this.version != null && this.version.contains("SNAPSHOT");
}

View File

@@ -8,6 +8,8 @@ import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
import org.springframework.cloud.release.internal.ReleaserProperties;
/**
* Abstraction over collection of projects
*
@@ -31,6 +33,10 @@ public class Projects extends HashSet<ProjectVersion> {
return newProjects;
}
public ProjectVersion releaseTrain(ReleaserProperties properties) {
return this.forName(properties.getMetaRelease().getReleaseTrainProjectName());
}
@Override public boolean add(ProjectVersion projectVersion) {
if (projectVersion == null) {
return false;

View File

@@ -59,8 +59,7 @@ public class PostReleaseActions implements Closeable {
}
File file = this.projectGitHandler.cloneTestSamplesProject();
ProjectVersion projectVersion = new ProjectVersion(file);
String releaseTrainVersion =
projects.forName(this.properties.getMetaRelease().getReleaseTrainProjectName()).version;
String releaseTrainVersion = projects.releaseTrain(this.properties).version;
Projects newProjects = addVersionForTestsProject(projects, projectVersion, releaseTrainVersion);
this.projectPomUpdater
.updateProjectFromReleaseTrain(file, newProjects, projectVersion, false);
@@ -180,8 +179,7 @@ public class PostReleaseActions implements Closeable {
}
File file = this.projectGitHandler.cloneReleaseTrainDocumentationProject();
ProjectVersion projectVersion = new ProjectVersion(file);
String releaseTrainVersion =
projects.forName(this.properties.getMetaRelease().getReleaseTrainProjectName()).version;
String releaseTrainVersion = projects.releaseTrain(this.properties).version;
Projects newProjects = addVersionForTestsProject(projects, projectVersion, releaseTrainVersion);
this.projectPomUpdater
.updateProjectFromReleaseTrain(file, newProjects, projectVersion, false);

View File

@@ -13,6 +13,7 @@ import java.time.format.DateTimeFormatter;
import java.util.Arrays;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.stream.Collectors;
import org.springframework.cloud.release.internal.git.ProjectGitHandler;
@@ -32,6 +33,8 @@ class ReleaseNotesTemplateGenerator {
private final Projects projects;
private final NotesGenerator notesGenerator;
static final Map<String, File> CACHE = new ConcurrentHashMap<>();
ReleaseNotesTemplateGenerator(Template template, String releaseVersion,
File blogOutput, Projects projects, ProjectGitHandler handler) {
this.template = template;
@@ -41,7 +44,13 @@ class ReleaseNotesTemplateGenerator {
this.notesGenerator = new NotesGenerator(handler);
}
File releseNotes() {
File releaseNotes() {
File cached = CACHE.get(this.releaseVersion);
if (cached != null) {
log.info("Found an existing entry [{}] in the cache "
+ "for version [{}]", cached, this.releaseVersion);
return cached;
}
try {
Map<String, Object> map = ImmutableMap.<String, Object>builder()
.put("date", LocalDate.now().format(DateTimeFormatter.ISO_DATE))
@@ -50,7 +59,9 @@ class ReleaseNotesTemplateGenerator {
.build();
String blog = this.template.apply(map);
Files.write(this.blogOutput.toPath(), blog.getBytes());
return this.blogOutput;
File output = this.blogOutput;
CACHE.put(this.releaseVersion, output);
return output;
}
catch (IOException e) {
log.warn("Exception occurred while trying to generate release notes", e);

View File

@@ -87,12 +87,12 @@ public class TemplateGenerator implements ReleaserPropertiesAware {
String releaseVersion = parsedVersion(projects);
Template template = template(RELEASE_NOTES_TEMPLATE);
return new ReleaseNotesTemplateGenerator(template, releaseVersion,
output, projects, this.handler).releseNotes();
output, projects, this.handler).releaseNotes();
}
private String parsedVersion(Projects projects) {
if (this.props.getMetaRelease().isEnabled()) {
return projects.forName(this.props.getMetaRelease().getReleaseTrainProjectName()).version;
return projects.releaseTrain(this.props).version;
}
String version = this.props.getPom().getBranch();
if (version.startsWith("v")) {

View File

@@ -0,0 +1,29 @@
package org.springframework.cloud.release.internal.docs;
import java.io.File;
import java.net.URISyntaxException;
import org.assertj.core.api.BDDAssertions;
import org.junit.Test;
/**
* @author Marcin Grzejszczak
*/
public class ReleaseTrainContentsParserTests {
File finchley = new File(
ReleaseTrainContentsParserTests.class
.getResource("/projects/spring-cloud-wiki/Spring-Cloud-Finchley-Release-Notes.md")
.toURI());
public ReleaseTrainContentsParserTests() throws URISyntaxException {
}
@Test
public void should_retrieve_latest_release_version_name() {
String releaseTrain = new ReleaseTrainContentsParser()
.latestReleaseTrainFromWiki(this.finchley);
BDDAssertions.then(releaseTrain).isEqualTo("Finchley.SR2");
}
}

View File

@@ -1,7 +1,9 @@
package org.springframework.cloud.release.internal.docs;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Files;
import org.assertj.core.api.BDDAssertions;
import org.eclipse.jgit.api.errors.GitAPIException;
@@ -16,6 +18,7 @@ import org.springframework.cloud.release.internal.git.ProjectGitHandler;
import org.springframework.cloud.release.internal.pom.ProjectVersion;
import org.springframework.cloud.release.internal.pom.Projects;
import org.springframework.cloud.release.internal.pom.TestUtils;
import org.springframework.cloud.release.internal.template.TemplateGenerator;
import org.springframework.util.FileSystemUtils;
/**
@@ -24,10 +27,17 @@ import org.springframework.util.FileSystemUtils;
public class ReleaseTrainContentsUpdaterTests {
ReleaserProperties properties = new ReleaserProperties();
ProjectGitHandler projectGitHandler = new ProjectGitHandler(this.properties);
ProjectGitHandler projectGitHandler = new ProjectGitHandler(this.properties) {
@Override
public String milestoneUrl(ProjectVersion releaseVersion) {
return "http://foo.com";
}
};
TemplateGenerator templateGenerator = new TemplateGenerator(this.properties, this.projectGitHandler);
ReleaseTrainContentsUpdater updater = new ReleaseTrainContentsUpdater(this.properties,
this.projectGitHandler);
this.projectGitHandler, templateGenerator);
File springCloudRepo;
File wikiRepo;
@Rule public TemporaryFolder tmp = new TemporaryFolder();
File temporaryFolder;
@@ -35,8 +45,9 @@ public class ReleaseTrainContentsUpdaterTests {
public void setup() throws Exception {
this.temporaryFolder = this.tmp.newFolder();
TestUtils.prepareLocalRepo();
FileSystemUtils.copyRecursively(file("/projects/spring-cloud"), this.temporaryFolder);
this.springCloudRepo = this.temporaryFolder;
FileSystemUtils.copyRecursively(file("/projects"), this.temporaryFolder);
this.springCloudRepo = new File(this.temporaryFolder, "spring-cloud/");
this.wikiRepo = new File(this.temporaryFolder, "spring-cloud-wiki/");
}
private File file(String relativePath) throws URISyntaxException {
@@ -74,6 +85,82 @@ public class ReleaseTrainContentsUpdaterTests {
.contains("Updating project page to release train [Edgware.SR7]");
}
@Test
public void should_do_nothing_when_switch_is_off_for_wiki_update() {
this.properties.getGit().setUpdateReleaseTrainWiki(false);
File file = this.updater.updateReleaseTrainWiki(oldReleaseTrain());
BDDAssertions.then(file).isNull();
}
@Test
public void should_do_nothing_when_switch_is_off_for_meta_release() {
this.properties.getGit().setUpdateReleaseTrainWiki(true);
this.properties.getMetaRelease().setEnabled(false);
File file = this.updater.updateReleaseTrainWiki(oldReleaseTrain());
BDDAssertions.then(file).isNull();
}
@Test
public void should_not_update_the_contents_of_wiki_repo_when_release_train_smaller() throws GitAPIException, IOException {
this.properties.getMetaRelease().setEnabled(true);
this.properties.getGit().setReleaseTrainWikiUrl(this.wikiRepo.getAbsolutePath() + "/");
File file = this.updater.updateReleaseTrainWiki(oldReleaseTrain());
BDDAssertions.then(file).isNotNull();
BDDAssertions.then(edgwareWikiEntryContent(file))
.doesNotContain("# Edgware.SR7")
.doesNotContain("Spring Cloud Consul `2.0.1.RELEASE` ([issues](http://foo.com))");
BDDAssertions.then(GitTestUtils.openGitProject(file).log().call().iterator().next().getShortMessage())
.doesNotContain("Updating project page to release train");
}
@Test
public void should_update_the_contents_of_wiki_when_release_train_greater() throws GitAPIException, IOException {
this.properties.getMetaRelease().setEnabled(true);
this.properties.getGit().setReleaseTrainWikiUrl(this.wikiRepo.getAbsolutePath() + "/");
File file = this.updater.updateReleaseTrainWiki(newReleaseTrain());
BDDAssertions.then(file).isNotNull();
BDDAssertions.then(edgwareWikiEntryContent(file))
.contains("# Edgware.SR7")
.contains("Spring Cloud Consul `2.0.1.RELEASE` ([issues](http://foo.com))");
BDDAssertions.then(GitTestUtils.openGitProject(file).log().call().iterator().next().getShortMessage())
.contains("Updating project page to release train [Edgware.SR7]");
}
@Test
public void should_generate_the_contents_of_wiki_when_release_train_missing() throws GitAPIException, IOException {
this.properties.getMetaRelease().setEnabled(true);
this.properties.getGit().setReleaseTrainWikiUrl(this.wikiRepo.getAbsolutePath() + "/");
File file = this.updater.updateReleaseTrainWiki(freshNewReleaseTrain());
BDDAssertions.then(file).isNotNull();
BDDAssertions.then(greenwichWikiEntryContent(file))
.contains("# Greenwich.RELEASE")
.contains("Spring Cloud Consul `2.0.1.RELEASE` ([issues](http://foo.com))");
BDDAssertions.then(GitTestUtils.openGitProject(file).log().call().iterator().next().getShortMessage())
.contains("Updating project page to release train [Greenwich.RELEASE]");
}
private String edgwareWikiEntryContent(File file) throws IOException {
return string(file, "Spring-Cloud-Edgware-Release-Notes.md");
}
private String greenwichWikiEntryContent(File file) throws IOException {
return string(file, "Spring-Cloud-Greenwich-Release-Notes.md");
}
private String string(File file, String s) throws IOException {
return new String(Files.readAllBytes(new File(file, s).toPath()));
}
Projects oldReleaseTrain() {
return new Projects(
new ProjectVersion("spring-cloud-aws", "3.0.0.RELEASE"),
@@ -123,4 +210,29 @@ public class ReleaseTrainContentsUpdaterTests {
new ProjectVersion("spring-cloud-openfeign", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-function", "1.0.0.RELEASE"));
}
Projects freshNewReleaseTrain() {
return new Projects(
new ProjectVersion("spring-cloud-aws", "3.0.0.RELEASE"),
new ProjectVersion("spring-cloud-bus", "2.0.0.RELEASE"),
new ProjectVersion("spring-cloud-cli", "2.0.0.RELEASE"),
new ProjectVersion("spring-cloud-commons", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-contract", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-config", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-netflix", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-security", "2.0.0.RELEASE"),
new ProjectVersion("spring-cloud-cloudfoundry", "2.0.0.RELEASE"),
new ProjectVersion("spring-cloud-consul", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-sleuth", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-stream", "Elmhurst.SR1"),
new ProjectVersion("spring-cloud-zookeeper", "2.0.0.RELEASE"),
new ProjectVersion("spring-boot", "2.0.4.RELEASE"),
new ProjectVersion("spring-cloud-task", "2.0.0.RELEASE"),
// newer release train
new ProjectVersion("spring-cloud-release", "Greenwich.RELEASE"),
new ProjectVersion("spring-cloud-vault", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-gateway", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-openfeign", "2.0.1.RELEASE"),
new ProjectVersion("spring-cloud-function", "1.0.0.RELEASE"));
}
}

View File

@@ -29,7 +29,7 @@ public class SpringCloudGhPagesParserTests {
@Test
public void should_parse_the_components_table() {
ReleaseTrainContents contents = new ReleaseTrainContentsParser()
.parse(this.rawHtml);
.parseProjectPage(this.rawHtml);
BDDAssertions.then(contents).isNotNull();
BDDAssertions.then(contents.title).isEqualTo(
@@ -60,7 +60,7 @@ public class SpringCloudGhPagesParserTests {
@Test
public void should_not_parse_the_components_table_when_markers_are_not_found() {
ReleaseTrainContents contents = new ReleaseTrainContentsParser()
.parse(this.wrongHtml);
.parseProjectPage(this.wrongHtml);
BDDAssertions.then(contents).isNull();
BDDAssertions.then(capture.toString())

View File

@@ -89,6 +89,23 @@ public class ProjectVersionTests {
then(projectVersion(version).bumpedVersion()).isEqualTo("Edgware.BUILD-SNAPSHOT");
}
@Test
public void should_return_true_for_a_valid_version() {
then(projectVersion("1.0.1.BUILD-SNAPSHOT").isValid()).isTrue();
then(projectVersion("1.0.3.RC1").isValid()).isTrue();
then(projectVersion("1.0.4.M1").isValid()).isTrue();
then(projectVersion("Finchley.BUILD-SNAPSHOT").isValid()).isTrue();
then(projectVersion("Finchley.SR1").isValid()).isTrue();
}
@Test
public void should_return_false_for_an_invalid_version() {
then(projectVersion("1").isValid()).isFalse();
then(projectVersion("1.").isValid()).isFalse();
then(projectVersion("1.0.4.").isValid()).isFalse();
then(projectVersion("Some random text").isValid()).isFalse();
}
@Test
public void should_throw_exception_if_version_is_not_long_enough_when_bumping_snapshots() {
String version = "1.0";
@@ -98,6 +115,23 @@ public class ProjectVersionTests {
.hasMessageContaining("Version is invalid");
}
@Test
public void should_throw_exception_when_trying_to_get_major_from_invalid_version() {
String version = "1.0";
thenThrownBy(() -> projectVersion(version).major())
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("Version is invalid");
}
@Test
public void should_get_major_from_version() {
then(projectVersion("2.0.1.BUILD-SNAPSHOT").major()).isEqualTo("2");
then(projectVersion("2.0.1.M1").major()).isEqualTo("2");
then(projectVersion("2.0.1.RC1").major()).isEqualTo("2");
then(projectVersion("Finchley.SR1").major()).isEqualTo("Finchley");
}
@Test
public void should_not_bump_version_by_patch_version_when_non_ga_or_sr() {
then(projectVersion("1.0.1.BUILD-SNAPSHOT").postReleaseSnapshotVersion()).isEqualTo("1.0.1.BUILD-SNAPSHOT");

View File

@@ -11,6 +11,8 @@ import java.util.Set;
import org.junit.Test;
import org.springframework.cloud.release.internal.ReleaserProperties;
/**
* @author Marcin Grzejszczak
*/
@@ -171,6 +173,30 @@ public class ProjectsTests {
then(projects.forNameStartingWith("asd")).isEmpty();
}
@Test
public void should_return_version_for_release_train() {
ReleaserProperties properties = new ReleaserProperties();
properties.getMetaRelease().setReleaseTrainProjectName("release-train");
Set<ProjectVersion> projectVersions = new HashSet<>();
projectVersions.add(new ProjectVersion("release-train", "1.0.0"));
Projects projects = new Projects(projectVersions);
then(projects.releaseTrain(properties).version).isEqualTo("1.0.0");
}
@Test
public void should_throw_exception_when_release_train_project() {
ReleaserProperties properties = new ReleaserProperties();
properties.getMetaRelease().setReleaseTrainProjectName("release-train");
Set<ProjectVersion> projectVersions = new HashSet<>();
projectVersions.add(new ProjectVersion("foo", "1.0.0"));
Projects projects = new Projects(projectVersions);
thenThrownBy(() -> projects.releaseTrain(properties))
.isInstanceOf(IllegalStateException.class)
.hasMessageContaining("Project with name [release-train] is not present");
}
private File file(String relativePath) {
try {
return new File(ProjectsTests.class.getResource(relativePath).toURI());

View File

@@ -9,6 +9,7 @@ public class TestUtils {
public static void prepareLocalRepo() throws IOException {
prepareLocalRepo("target/test-classes/projects/", "spring-cloud");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-wiki");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-core-tests");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-release");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-consul");

View File

@@ -0,0 +1,28 @@
package org.springframework.cloud.release.internal.template;
import java.io.File;
import com.github.jknack.handlebars.Template;
import org.assertj.core.api.BDDAssertions;
import org.junit.Test;
import org.mockito.BDDMockito;
import static org.junit.Assert.*;
/**
* @author Marcin Grzejszczak
*/
public class ReleaseNotesTemplateGeneratorTests {
@Test
public void should_grab_notes_from_cache_if_present() {
Template template = BDDMockito.mock(Template.class);
ReleaseNotesTemplateGenerator generator =
new ReleaseNotesTemplateGenerator(template, "Foo.RELEASE", null, null, null);
ReleaseNotesTemplateGenerator.CACHE.put("Foo.RELEASE", new File("."));
BDDAssertions.then(generator.releaseNotes()).isNotNull();
BDDMockito.then(template).shouldHaveZeroInteractions();
}
}

View File

@@ -0,0 +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.
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:
- link:Spring-Cloud-Angel-Release-Notes[Angel]
- link:Spring-Cloud-Brixton-Release-Notes[Brixton]
- link:Spring-Cloud-Camden-Release-Notes[Camden]
- link:Spring-Cloud-Dalston-Release-Notes[Dalston]
- link:Spring-Cloud-Edgware-Release-Notes[Edgware]
- link:Spring-Cloud-Finchley-Release-Notes[Finchley]

View File

@@ -0,0 +1,38 @@
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)
- Routing (ribbon, zuul, spring-cloud-netflix)
- Service-to-service calls (feign, ribbon, spring-cloud-netflix)
- Load balancing (ribbon, spring-cloud-netflix)
- Circuit Breakers (hystrix, spring-cloud-netflix)
- Distributed messaging (RabbitMQ, spring-cloud-bus)
== 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.
=== 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).
=== 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.
=== 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").
=== 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 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

@@ -0,0 +1,95 @@
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.
=== 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.)
=== 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.
=== Spring Cloud Task
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).
== Highlights
Some of the highlights of the Brixton release train are:
* Spring Boot 1.3.x and Spring Framework 4.2.x support
* 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 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 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 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
public class MyConfiguration {
@LoadBalanced
@Bean
RestTemplate restTemplate() {
return new RestTemplate();
}
}
```
Please note the correct BOM to use is `spring-cloud-dependencies` not `spring-cloud-starter-parent` (see Getting Started below).
=== 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`.
|===
|Angel | Brixton (with AMQP) | Brixton (with Kafka) |
| spring-cloud-starter-bus-amqp | spring-cloud-starter-bus-amqp |spring-cloud-starter-bus-kafka |
| spring-cloud-netflix-hystrix-amqp | spring-cloud-netflix-hystrix-stream spring-cloud-starter-stream-rabbit |spring-cloud-netflix-hystrix-stream spring-cloud-starter-stream-kafka |
| spring-cloud-starter-turbine-amqp | spring-cloud-starter-turbine-stream spring-cloud-starter-stream-rabbit |spring-cloud-starter-turbine-stream spring-cloud-starter-stream-kafka |
|===
NOTE: There is still a `spring-cloud-netflix-hystrix-amqp` in the Brixton release, but it might be removed in future versions, so please use `spring-cloud-netflix-hystrix-stream` and the binder of your choice instead.
== Brixton.SR6
- 2016/09/21 - AWS version `1.1.3.RELEASE`
- 2016/09/21 - Commons version `1.1.3.RELEASE` https://github.com/spring-cloud/spring-cloud-commons/milestone/18?closed=1[(issues)]
- 2016/09/21 - Cloudfoundry version `1.0.1.RELEASE`
- 2016/09/08 - Netflix version `1.1.6.RELEASE` https://github.com/spring-cloud/spring-cloud-netflix/milestone/26?closed=1[(issues)]
- 2016/09/06 - Security version `1.1.3.RELEASE` https://github.com/spring-cloud/spring-cloud-security/milestone/13?closed=1[(issues)]
- 2016/09/21 - Sleuth version `1.0.0.RELEASE` https://github.com/spring-cloud/spring-cloud-sleuth/milestone/15?closed=1[(issues)]
- 2016/09/21 - Zookeeper version `1.0.3.RELEASE` https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/7?closed=1[(issues)]
== Brixton.SR7
- 2016/11/23 - Netflix version `1.1.7.RELEASE` https://github.com/spring-cloud/spring-cloud-netflix/milestone/30?closed=1[(issues)]
- 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).

View File

@@ -0,0 +1,157 @@
Spring Cloud Camden builds on Spring Boot 1.4.x.
# Camden.SR7
* Spring Cloud Netflix `1.2.7.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/39?closed=1)
* Spring Cloud Sleuth `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/24?closed=1) Contains bug fixes, added an option to adjust spans before reporting them, fixed async support
* Spring Cloud Contract `1.0.5.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/11?closed=1). Contains bug fixes, documentation update, consumer stub co-dependency feature
* Spring Cloud AWS `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-aws/milestone/15?closed=1)
* Spring Cloud Security `1.1.4.RELEASE` Contains documentation fixes.
* Spring Cloud Consul `1.1.4.RELEASE` Excludes Spring Core from Spring Retry dependency.
# Camden.SR6
* Spring Cloud Commons `1.1.8.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/21?closed=1)
* Spring Cloud Stream `Brooklyn.SR3` [(issue)](https://github.com/spring-cloud/spring-cloud-stream/issues/810)
* Spring Cloud Bus `1.2.2` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/19?closed=1)
* Spring Cloud Config `1.2.3.RELEASE` [(issue)](https://github.com/spring-cloud/spring-cloud-config/issues/638)
* Spring Cloud Netflix `1.2.6.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/38?closed=1)
* Spring Cloud Consul `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/14?closed=1)
* Spring Cloud Zookeeper `1.0.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/8?closed=1)
* Spring Cloud Sleuth `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/22?closed=1)
* Spring Cloud Contract `1.0.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/9?closed=1)
# Camden.SR5
Adds Boot 1.5 compatibility and breaks Boot 1.3 compatibility
See [this gist](https://gist.github.com/spencergibb/80a134b4738c78ca64e4d0c77214fcb6) for a workaround for "MIME type may not contain reserved characters" errors using Zuul URL mappings with mime-types with character encoding.
* 2017/02/03 - Spring Cloud Build `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-build/milestone/12?closed=1)
* Spring Cloud Stream `Brooklyn.SR2`[(blog post)](https://spring.io/blog/2017/01/20/spring-cloud-stream-brooklyn-sr2-and-chelsea-m1-released)
* Spring Cloud Netflix `1.2.5.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/36?closed=1)
* Spring Cloud Sleuth `1.1.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/21?closed=1)
# Camden.SR4
* 2017/01/09 - Spring Cloud Commons `1.1.7.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/21?closed=1)
* 2017/01/11 - Spring Cloud Netflix `1.2.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/35?closed=1)
* 2017/01/12 - Spring Cloud Sleuth `1.1.1.RELEASE`. The [(1.0.x issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/19?closed=1) and [(1.1.x issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/20?closed=1). All features merged to 1.0.x are also present in 1.1.x. Major changes:
* Continues spans instead of creating new ones (this change was required to happen due to issues with async communication and view controller based one) [#474](https://github.com/spring-cloud/spring-cloud-sleuth/pulls/474)
* Added `spring.instance_id` tag to know which server exactly the span originates from [#488](https://github.com/spring-cloud/spring-cloud-sleuth/pull/488)
* Support for non-web apps got fixed [#32](https://github.com/spring-cloud/spring-cloud-sleuth/issues/32)
* Parent-ID is added to MDC so you can reference it in the logs if you want to [#480](https://github.com/spring-cloud/spring-cloud-sleuth/issues/480)
* 2017/01/12 - Spring Cloud Contract `1.0.3.RELEASE`. The [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/8?closed=1). Major changes:
* Added `stubMatchers` and `testMatchers` to the DSL [#185](https://github.com/spring-cloud/spring-cloud-contract/issues/185)
* Fixed the Explicit mode (thanks to this you can work with context paths properly) [#179](https://github.com/spring-cloud/spring-cloud-contract/issues/179) [#117](https://github.com/spring-cloud/spring-cloud-contract/issues/117)
* Added environment property for every dependency [#147](https://github.com/spring-cloud/spring-cloud-contract/issues/147)
# Camden.SR3
* 2016/11/23 - Spring Cloud Commons `1.1.6.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/20?closed=1)
* 2016/11/23 - Spring Cloud Config `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/26?closed=1)
* 2016/11/23 - Spring Cloud Netflix `1.2.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/33?closed=1)
* 2016/11/28 - Spring Cloud Consul `1.1.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/13?closed=1)
* 2016/11/24 - Spring Cloud Contract `1.0.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/7?closed=1)
* 2016/11/24 - Spring Cloud Sleuth `1.1.0.RELEASE`. The [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/17?closed=1) are taken from `1.0.11.RELEASE` since `1.1.x` should differ from `1.0.x` only by dependencies. The features should be the same.
# Camden.SR2
* 2016/11/01 - Spring Cloud Netflix `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/32?closed=1)
* 2016/10/18 - Spring Cloud Consul `1.1.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/12?closed=1)
* 2016/11/01 - Spring Cloud CLI `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-cli/milestone/12?closed=1)
* 2016/10/31 - Spring Cloud Streams `Brooklyn.SR1` [(issues)](https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/milestone/5?closed=1)
# Camden.SR1
- 2016/09/21 - AWS version `1.1.3.RELEASE`
- 2016/09/21 - Bus version `1.2.1.RELEASE`
- 2016/10/17 - Commons version `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/19?closed=1)
- 2016/10/17 - Contract version `1.0.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/6?closed=1)
- 2016/10/17 - Config version `1.2.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/25?closed=1)
- 2016/10/17 - Netflix version `1.2.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/29?closed=1)
- 2016/09/06 - Security version `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/13?closed=1)
- 2016/10/17 - Sleuth version `1.0.10.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/16?closed=1)
- 2016/09/21 - Stream version `Brooklyn.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-stream-starters/wiki/Brooklyn-Release-Notes)
- 2016/09/08 - Task version `1.0.3.RELEASE`
- 2016/09/21 - Zookeeper version `1.0.3.RELEASE`
# Camden.RELEASE
## New projects
It adds the following new projects:
### Spring Cloud Contract
- 2016/09/23 - Updated to version `1.0.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/5?closed=1)
- 2016/09/14 - Updated to version `1.0.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/3?closed=1)
- 2016/08/29 - Released version `1.0.0.M2` ([M1 issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/1?closed=1), [M2 issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/2?closed=1))
What you always need is confidence in pushing new features into a new application or service in a distributed system. This project provides support for Consumer Driven Contracts and service schemas in Spring applications, covering a range of options for writing tests, publishing them as assets, asserting that a contract is kept by producers and consumers, for HTTP and message-based interactions.
The migration guide between milestones is available [here](https://github.com/spring-cloud/spring-cloud-contract/wiki/1.0.0-Migration-Guides)
## Existing projects
It has the following changes from existing applications
### Spring Cloud Stream
- 2016/09/21 - Updated to version `Brooklyn.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-stream/milestone/16?closed=1)
- 2016/09/14 - Updated to version `Brooklyn.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-stream/milestone/12?closed=1)
- 2016/08/29 - Updated to version `Brooklyn.M1`
You can check out the detailed [release notes here](https://github.com/spring-cloud/spring-cloud-stream-starters/wiki/Brooklyn-Release-Notes)
### Spring Cloud Bus
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/17?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/16?closed=1)
- 2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/14?closed=1).
### Spring Cloud Config
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/24?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/23?closed=1)
2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/20?closed=1).
Notable changes:
- Documentation updates
- Placeholder resolution fixes
### Spring Cloud Netflix
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/28?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/27?closed=1)
- 2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/22?closed=1)
Notable changes:
- Customize Ribbon component classes using properties
- Feign upgrade (moves to community maintained openfeign)
- Zuul fixes
Note: There was an XXE vulnerability in xstream (which is used by Eureka), so please upgrade to the Camden release train 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).
### Spring Cloud Consul
- 2016/09/22 - Updated to version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/11?closed=1)
- 2016/09/14 - Updated to version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/10?closed=1)
- 2016/08/29 - Updated to version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/9?closed=1)
Notable changes:
- Documentation updates
- Consul Bus rewritten as a Stream Binder
### Spring Cloud CLI
- 2016/09/26 - Updated to version `1.2.0.RC1`
[(issues)](https://github.com/spring-cloud/spring-cloud-cli/milestone/9?closed=1)
Notable changes:
- Created launcher (via `spring cloud` cli command)

View File

@@ -0,0 +1,207 @@
Spring Cloud Dalston builds on Spring Boot 1.5.x.
# Dalston.SR5
2017-12-26
- Spring Cloud Contract `1.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/22?closed=1))
- Spring Cloud Cloudfoundry `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/7?closed=1))
- Spring Cloud Sleuth `1.2.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/35?closed=1))
- Spring Cloud Consul `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/24?closed=1))
- Spring Cloud Stream `Chelsea.SR2`
- Spring Cloud Aws `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/17?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Bus `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/21?closed=1))
- Spring Cloud Config `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/38?closed=1))
- Spring Cloud Zookeeper `1.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/16?closed=1))
- Spring Cloud Netflix `1.3.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/51?closed=1))
- Spring Cloud Vault `1.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/7?closed=1))
- Spring Cloud Commons `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/35?closed=1))
# Dalston.SR4
2017-10-03
- Spring Cloud Commons `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/31?closed=1))
- Spring Cloud Netflix `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/50?closed=1))
- Spring Cloud Contract `1.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/19?closed=1))
- Spring Cloud Sleuth `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/32?closed=1))
- Spring Cloud Config `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/35?closed=1))
# Dalston.SR3
2017-08-21
- Spring Cloud Netflix `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/46?closed=1))
- Spring Cloud Contract `1.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/18?closed=1))
- Spring Cloud Sleuth `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/31?closed=1))
- Spring Cloud Zookeeper `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/13?closed=1))
# Dalston.SR2
2017-07-28
- Spring Cloud Commons `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/28?closed=1))
- Spring Cloud Config `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/34?closed=1))
- Spring Cloud Contract `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/16?closed=1))
- Spring Cloud Netflix `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/44?closed=1))
- Spring Cloud Sleuth `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/28?closed=1))
- Spring Cloud Vault `1.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/7?closed=1))
# Dalston.SR1
2017-05-24
- Spring Cloud Aws `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/17?closed=1))
- Spring Cloud Bus `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/21?closed=1))
- Spring Cloud Commons `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/27?closed=1)) ([1.2.1 issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/26?closed=1))
- Spring Cloud Config `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/33?closed=1))
- Spring Cloud Consul `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/18?closed=1))
- Spring Cloud Contract `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/14?closed=1))
- Spring Cloud Netflix `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/41?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Sleuth `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/27))
- Spring Cloud Stream `Chelsea.SR2` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.SR2))
- Spring Cloud Vault `1.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/6?closed=1))
- Spring Cloud Zookeeper `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/12?closed=1))
# Dalston.RELEASE
## New projects
The following are new projects:
### Spring Cloud Vault Config
- 2017/01/27 - Released version `1.0.0.M2` ([M1 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/1?closed=1), [M2 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/2?closed=1))
- 2017/03/16 - Released version `1.0.0.RC1` ([RC1 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/4?closed=1))
- 2017/04/10 - Released version `1.0.0.RELEASE` ([RELEASE issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/3?closed=1))
Spring Cloud Vault Config provides client-side support for externalized secret management in a distributed system via [Hashicorp Vault](https://www.vaultproject.io/).
## Existing projects
It has the following changes from existing applications
### Spring Cloud AWS
- 2017/01/26 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-aws/milestone/13?closed=1)
- 2017/03/16 - Released version `1.2.0.RC1`
- 2017/04/06 - Released version `1.2.0.RELEASE`
### Spring Cloud Build
- 2017/01/09 - Released version `1.3.1.M1`
- 2017/03/06 - Released version `1.3.1.RELEASE`
Notable changes:
- Spring Boot 1.5.x is the minimum required version
### Spring Cloud Bus
- 2017/01/26 - Released version `1.3.0.M1`
- 2017/04/05 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/20?closed=1)
### Spring Cloud Cloudfoundry
- 2017/01/27 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/6?closed=1)
- 2017/04/10 - Released version `1.1.0.RELEASE`
### Spring Cloud Commons
- 2017/01/26 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/17?closed=1)
- 2017/03/15 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/23?closed=1)
- 2017/04/05 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/25?closed=1)
Notable changes:
- `@EnableDiscoveryClient(autoRegister=false)`
- `ServiceRegistry` API
- `@LoadBalanced` `AsyncRestTemplate` support
- Configuration driven `DiscoveryClient`
### Spring Cloud Config
- 2017/01/27 - Released version `1.3.0.M2` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/28?closed=1)
- 2017/03/16 - Released version `1.3.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/29?closed=1)
- 2017/04/07 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/32?closed=1)
Notable changes:
- Hashicorp Vault backend
- Multiple backends at once (Composite)
- AWS Codecommit git authentication
### Spring Cloud Consul
- 2017/01/27 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/15?closed=1)
- 2017/03/16 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/16?closed=1)
- 2017/04/10 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/17?closed=1)
Notable changes:
- Implements new `ServiceRegistry` API
- Deregister zombie services
- Supports ACL for Service Discovery
### Spring Cloud Contract
- 2017/01/30 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/4?closed=1)
- 2017/03/17 - Released version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/10?closed=1)
- 2017/04/11 - Released version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/12?closed=1)
Notable changes:
- Support Pact contracts
- Pluggability enhancements
### Spring Cloud Netflix
- 2017/01/27 - Released version `1.3.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/31?closed=1)
- 2017/03/16 - Released version `1.3.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/37closed=1)
- 2017/04/7 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/40?closed=1)
Notable changes:
- `ServiceRegistry` implementation
- Feign clients no longer wrap methods in Hystrix commands by default ([#1277](https://github.com/spring-cloud/spring-cloud-netflix/issues/1277)). You must have Hystrix on the classpath and also set `feign.hystrix.enabled=true` to have Feign automatically wrap methods in Hystrix commands.
### Spring Cloud Security
- 2017/01/27 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/14?closed=1)
- 2017/03/17 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/15?closed=1)
- 2017/04/10 - Released version `1.2.0.RELEASE`
### Spring Cloud Sleuth
- 2017/01/30 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/18?closed=1)
- 2017/03/17 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/23?closed=1)
- 2017/04/11 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/25?closed=1)
Notable changes:
- Baggage API
- Annotation based span creation / continuation
### Spring Cloud Stream
- 2017/01/11 - Released version `Chelsea.M1` [(blog)](https://spring.io/blog/2017/01/20/spring-cloud-stream-brooklyn-sr2-and-chelsea-m1-released)
- 2017/03/13 - Released version `Chelsea.RC1` [(blog)](https://spring.io/blog/2017/03/16/spring-cloud-stream-chelsea-rc1-released) [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.RC1)
- 2017/04/04 - Released version `Chelsea.RELEASE` [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.RELEASE)
- 2017/03/13 - Released version `Chelsea.SR1` [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.SR1)
### Spring Cloud Task
- 2017/01/10 - Released version `1.1.2.RELEASE` [(blog)](https://spring.io/blog/2016/11/22/spring-cloud-task-1-1-0-release-is-now-available)
### Spring Cloud Zookeeper
- 2017/01/27 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/9?closed=1)
- 2017/03/16 - Released version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/10?closed=1)
- 2017/04/10 - Released version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/11?closed=1)
Notable changes:
- `ServiceRegistry` implementation
- Mark instances `OUT_OF_SERVICE`

View File

@@ -0,0 +1,148 @@
Spring Cloud Edgware builds on Spring Boot 1.5.x.
# Renamed starters
A number of starters did not follow normal Spring Cloud naming conventions. In Edgware, use of the deprecated starter will log a warning with the name of the new starter to use in its place. Below is a table of the deprecated starters and their replacements
| Deprecated | Edgware Starter |
| ------------- | ------------- |
| spring-cloud-starter-archaius | spring-cloud-starter-netflix-archaius |
| spring-cloud-starter-atlas | spring-cloud-starter-netflix-atlas |
| spring-cloud-starter-eureka | spring-cloud-starter-netflix-eureka-client |
| spring-cloud-starter-eureka-server | spring-cloud-starter-netflix-eureka-server |
| spring-cloud-starter-feign | spring-cloud-starter-openfeign |
| spring-cloud-starter-hystrix | spring-cloud-starter-netflix-hystrix |
| spring-cloud-starter-hystrix-dashboard | spring-cloud-starter-netflix-hystrix-dashboard |
| spring-cloud-starter-ribbon | spring-cloud-starter-netflix-ribbon |
| spring-cloud-starter-spectator | spring-cloud-starter-netflix-spectator |
| spring-cloud-starter-turbine | spring-cloud-starter-netflix-turbine |
| spring-cloud-starter-turbine-amqp | DELETED |
| spring-cloud-starter-turbine-stream | spring-cloud-starter-netflix-turbine-stream |
| spring-cloud-starter-zuul | spring-cloud-starter-netflix-zuul |
# Edgware.SR5
2018-10-16
- Spring Cloud Commons `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
- Spring Cloud Config `1.4.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A1.4.5.RELEASE))
- Spring Cloud Netflix `1.4.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.6.RELEASE))
- Spring Cloud Sleuth `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
- Spring Cloud Contract `1.2.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.6.RELEASE))
- Spring Cloud Vault `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A1.1.2))
- Spring Cloud Consul `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
# Edgware.SR4
2018-06-29
**spring-boot-autoconfigure-processor** - All of the projects below have a new optional dependency, `spring-boot-autoconfigure-processor`. See Spring Cloud Commons issue [#377](https://github.com/spring-cloud/spring-cloud-commons/issues/377).
- Spring Cloud Commons `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A1.3.4.RELEASE))
- Spring Cloud AWS `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/23?closed=1))
- Spring Cloud Bus `1.3.4.RELEASE`
- Spring Cloud Config `1.4.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A1.4.4.RELEASE))
- Spring Cloud Netflix `1.4.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.5.RELEASE))
- Spring Cloud Security `1.2.3.RELEASE`
- Spring Cloud Consul `1.3.4.RELEASE`
- Spring Cloud Zookeeper `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A1.2.2.RELEASE))
- Spring Cloud Sleuth `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.4.RELEASE))
- Spring Cloud CloudFoundry `1.1.2.RELEASE`
- Spring Cloud Contract `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.5.RELEASE))
- Spring Cloud Task `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/issues?q=is%3Aclosed+milestone%3A1.2.3.RELEASE))
- Spring Cloud Vault `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A1.1.1))
- Spring Cloud Gateway `1.0.1.RELEASE`
- Spring Cloud Function `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/7?closed=1))
# Edgware.SR3
2018-03-27
- Spring Cloud Zookeeper `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A1.2.1.RELEASE))
- Spring Cloud Config `1.4.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/45?closed=1))
- Spring Cloud Commons `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/45?closed=1))
- Spring Cloud Sleuth `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.3.RELEASE))
- Spring Cloud Contract `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.4.RELEASE))
- Spring Cloud Netflix `1.4.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.4.RELEASE))
- Spring Cloud Consul `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A1.3.3.RELEASE))
# Edgware.SR2
2018-02-09
- Spring Cloud Bus `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/26?closed=1))
- Spring Cloud Config `1.4.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/43?closed=1))
- Spring Cloud Commons `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/41?closed=1))
- Spring Cloud Sleuth `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/41?closed=1))
- Spring Cloud Contract `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/29?closed=1))
- Spring Cloud Netflix `1.4.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/57?closed=1))
- Spring Cloud Consul `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/27?closed=1))
# Edgware.SR1
2018-01-16
- Spring Cloud Config `1.4.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/40?closed=1))
- Spring Cloud Commons `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/39?closed=1))
- Spring Cloud Stream `Ditmars.SR3`
- Spring Cloud Sleuth `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/40?closed=1))
- Spring Cloud Gateway `1.0.1.RELEASE`
- Spring Cloud Contract `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/27?closed=1))
- Spring Cloud Security `1.2.2.RELEASE`
- Spring Cloud Netflix `1.4.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/54?closed=1))
- Spring Cloud Consul `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/26?closed=1))
# Edgware.RELEASE
2017-11-27
- Spring Cloud Config `1.4.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/39?closed=1))
- Spring Cloud Task `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/19?closed=1))
- Spring Cloud Commons `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/36?closed=1))
- Spring Cloud Stream `Ditmars.RELEASE`
- Spring Cloud Zookeeper `1.2.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/17?closed=1))
- Spring Cloud Sleuth `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/36?closed=1))
- Spring Cloud Gateway `1.0.0.RELEASE`
- Spring Cloud Cloudfoundry `1.1.0.RELEASE`
- Spring Cloud Contract `1.2.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/24?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Aws `1.2.2.RELEASE`
- Spring Cloud Vault `1.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/13?closed=1))
- Spring Cloud Netflix `1.4.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/52?closed=1))
- Spring Cloud Bus `1.3.2.RELEASE`
- Spring Cloud Consul `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/22?closed=1))
# Edgware.RC1
2017-10-24
- Spring Cloud Bus `1.3.2.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/22?closed=1))
- Spring Cloud Task `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/19?closed=1))
- Spring Cloud Netflix `1.4.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/48?closed=1))
- Spring Cloud Consul `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/19?closed=1))
- Spring Cloud Contract `1.2.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/20?closed=1))
- Spring Cloud Sleuth `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/33?closed=1))
- Spring Cloud Stream `Ditmars.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vDitmars.RELEASE))
- Spring Cloud Dependencies `1.3.5.RELEASE`
- Spring Cloud Aws `1.2.2.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/18?closed=1))
- Spring Cloud Config `1.4.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/37?closed=1))
- Spring Cloud Zookeeper `1.2.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/15?closed=1))
- Spring Cloud Gateway `1.0.0.RC1`
- Spring Cloud Cloudfoundry `1.1.0.RELEASE`
- Spring Cloud Commons `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/32?closed=1))
- Spring Cloud Build `1.3.5.RELEASE`
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Vault `1.1.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/10?closed=1))
# Edgware.M1
2017-08-29
- Spring Cloud Commons `1.3.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/29?closed=1))
- Spring Cloud Stream `Ditmars.M2` ([issues](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vDitmars.M2))
- Spring Cloud Config `1.4.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/36?closed=1))
- Spring Cloud Contract `1.2.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/13?closed=1))
- Spring Cloud Netflix `1.4.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/45?closed=1))
- Spring Cloud Zookeeper `1.2.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/14?closed=1))
- Spring Cloud Sleuth `1.3.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/29?closed=1))
- 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

@@ -0,0 +1,216 @@
Spring Cloud Finchley builds on Spring Boot 2.0.x and is not compatible with 1.x.y.
# Finchley.SR2
2018-10-23
- Based on Spring Boot 2.0.6.RELEASE
- Spring Cloud Gateway `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Sleuth `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Config `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Netflix `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=milestone%3A2.0.2.RELEASE+is%3Aclosed))
- Spring Cloud Commons `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Contract `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Vault `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A2.0.2))
- Spring Cloud OpenFeign `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud AWS `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Cloud Foundry `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
# Finchley.SR1
2018-07-31
- Based on Spring Boot 2.0.4.RELEASE
- Spring Cloud Consul `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Gateway `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Sleuth `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Config `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Netflix `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=milestone%3A2.0.1.RELEASE+is%3Aclosed))
- Spring Cloud Commons `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Contract `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Stream `Elmhurst.SR1` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.SR1))
- Spring Cloud Vault `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A2.0.1))
- Spring Cloud Openfeign `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
# Finchley.RELEASE
2018-06-18
- Based on Spring Boot 2.0.3.RELEASE
- Spring Cloud Consul `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/31?closed=1))
- Spring Cloud Gateway `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/14?closed=1))
- Spring Cloud Function `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/7?closed=1))
- Spring Cloud Zookeeper `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/22?closed=1))
- Spring Cloud Sleuth `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/50?closed=1))
- Spring Cloud Aws `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/22?closed=1))
- Spring Cloud Config `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/50?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.RELEASE`
- Spring Cloud Security `2.0.0.RELEASE`
- Spring Cloud Netflix `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/64?closed=1))
- Spring Cloud Task `2.0.0.RELEASE` ([Blog Post](https://spring.io/blog/2018/05/07/spring-cloud-task-2-0-0-release-is-now-available))
- Spring Cloud Commons `2.0.0.RELEASE`
- Spring Cloud Contract `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/39?closed=1))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Vault `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/14?closed=1))
- Spring Cloud Bus `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/30?closed=1))
- Spring Cloud Openfeign `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/3?closed=1))
# Finchley.RC2
2018-05-29
- Based on Spring Boot `2.0.2.RELEASE`
- Spring Cloud Bus `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Commons `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Config `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Consul `2.0.0.RC2` (just dependency and documentation updates)
- Spring Cloud Contract `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=milestone%3A2.0.0.RC2+is%3Aclosed))
- Spring Cloud Gateway `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Netflix `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Sleuth `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Task `2.0.0.RELEASE` ([Blog Post](https://spring.io/blog/2018/05/07/spring-cloud-task-2-0-0-release-is-now-available))
- Spring Cloud Function `1.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-function/issues?q=is%3Aclosed+milestone%3A1.0.0.RC2))
# Finchley.RC1
2018-04-24
- Based on Spring Boot `2.0.1.RELEASE`
- Spring Cloud Bus `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud CloudFoundry `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Commons `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/46?closed=1))
- Spring Cloud Config `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Consul `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Contract `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=milestone%3A2.0.0.RC1+is%3Aclosed))
- Spring Cloud Gateway `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Netflix `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Sleuth `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Task `2.0.0.RC1` ([Blog Post](https://spring.io/blog/2018/04/16/spring-cloud-task-2-0-0-rc1-is-now-available))
- Spring Cloud Zookeeper `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
# Finchley.M9
2018-03-22
- Based on Spring Boot `2.0.0.RELEASE`
- Spring Cloud Bus `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Gateway `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/11?closed=1))
- Spring Cloud Commons `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/44?closed=1))
- Spring Cloud Config `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/46?closed=1))
- Spring Cloud Contract `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/32?closed=1))
- Spring Cloud Sleuth `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/45?closed=1))
- Spring Cloud Netflix `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/60?closed=1))
- Spring Cloud OpenFeign `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/1?closed=1))
- Spring Cloud Zookeeper `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/20?closed=1))
- Spring Cloud Consul `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/28?closed=1))
- Spring Cloud Stream `Elmhurst.RC3` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RC3))
# Finchley.M8
2018-03-02
- Based on Spring Boot `2.0.0.RELEASE`
- Spring Cloud Gateway `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/10?closed=1))
- Spring Cloud Bus `2.0.0.M7`
- Spring Cloud Security `2.0.0.M3`
- Spring Cloud Commons `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/43?closed=1))
- Spring Cloud Config `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/44?closed=1))
- Spring Cloud Stream `Elmhurst.RC2` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RC2))
# Finchley.M7
2018-02-27
- Based on Spring Boot `2.0.0.RC2`
- All of Feign code from Spring Cloud Netflix has been moved to a new project, Spring Cloud OpenFeign
- There is a known issue with the Hystrix Webflux endpoint when using Spring Boot 2.0.0.RC2. You can follow this [issue](https://github.com/reactor/reactor-core/issues/1091) in Reactor for more information.
- Spring Cloud Zookeeper `2.0.0.M6` Uses Spring Cloud OpenFeign
- Spring Cloud Sleuth `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/43?closed=1))
- Spring Cloud Consul `2.0.0.M6` Uses Spring Cloud OpenFeign
- Spring Cloud Gateway `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/9?closed=1))
- Spring Cloud Netflix `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/59?closed=1))
- Spring Cloud Contract `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/31?closed=1))
- Spring Cloud Stream `Elmhurst.RC1` [Release Announcement](https://spring.io/blog/2018/02/23/spring-cloud-stream-elmhurst-rc1-2-0-0-rc1-release-announcement)
- Spring Cloud Bus `2.0.0.M6` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Config `2.0.0.M7` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Aws `2.0.0.M4` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Commons `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/42?closed=1))
- Spring Cloud Vault `2.0.0.M6` Spring Boot 2.0.0.RC2 Compatibility Changes and Spring Vault 2.0.0.RELEASE
- Spring Cloud OpenFeign `2.0.0.M1`
# Finchley.M6
2018-02-12
- Based on Spring Boot `2.0.0.RC1`
- Spring Cloud Zookeeper `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/18?closed=1))
- Spring Cloud Sleuth `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/39?closed=1))
- Spring Cloud Consul `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/25?closed=1))
- Spring Cloud Gateway `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/8?closed=1))
- Spring Cloud Netflix `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/55?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/8?closed=1))
- Spring Cloud Contract `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/28?closed=1))
- Spring Cloud Stream `Elmhurst.M4`
- Spring Cloud Bus `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/25?closed=1))
- Spring Cloud Config `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/42?closed=1))
- Spring Cloud Aws `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/20?closed=1))
- Spring Cloud Commons `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/40?closed=1))
- Spring Cloud Vault `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/15?closed=1))
# Finchley.M5
2017-12-02
- Based on Spring Boot `2.0.0.M7`
- Spring Cloud Consul `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/23?closed=1))
- Spring Cloud Sleuth `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/38?closed=1))
- Spring Cloud Gateway `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/6?closed=1))
- Spring Cloud Zookeeper `2.0.0.M4`
- Spring Cloud Cloudfoundry `2.0.0.M2`
- Spring Cloud Netflix `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/53?closed=1))
- Spring Cloud Contract `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/25?closed=1))
- Spring Cloud Bus `2.0.0.M4`
- Spring Cloud Config `2.0.0.M5`
- Spring Cloud Commons `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/38?closed=1))
# Finchley.M4
2017-11-17
- Based on Spring Boot `2.0.0.M6`
- Spring Cloud Consul `2.0.0.M3`
- Spring Cloud Gateway `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/5?closed=1))
- Spring Cloud Zookeeper `2.0.0.M3`
- Spring Cloud Sleuth `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/37?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.M1`
- Spring Cloud Config `2.0.0.M4`
- Spring Cloud Netflix `2.0.0.M4`
- Spring Cloud Contract `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/23?closed=1))
- Spring Cloud Security `2.0.0.M1`
- Spring Cloud Stream `Elmhurst.M3`
- Spring Cloud Bus `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/24?closed=1))
- Spring Cloud Task `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/20?closed=1))
- Spring Cloud Aws `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/19?closed=1))
- Spring Cloud Vault `2.0.0.M4`
- Spring Cloud Commons `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/37?closed=1))
# Finchley.M3
2017-10-30
- Spring Cloud Dependencies `2.0.0.M4`
- Spring Cloud Sleuth `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/30?closed=1))
- Spring Cloud Gateway `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/4?closed=1))
- Spring Cloud Config `2.0.0.M3`
- Spring Cloud Cloudfoundry `2.0.0.M1`
- Spring Cloud Build `2.0.0.M4`
- Spring Cloud Consul `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/20?closed=1))
- Spring Cloud Netflix `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/49?closed=1))
- Spring Cloud Security `2.0.0.M1`
- Spring Cloud Contract `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/17?closed=1))
- Spring Cloud Bus `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/23?closed=1))
- Spring Cloud Aws `2.0.0.M1`
- Spring Cloud Stream `Elmhurst.M2`
- 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))

View File

@@ -0,0 +1,5 @@
| Spring IO Release Train | Spring Boot Version | Spring Cloud Release Train |
| ----------------------- | ------------------- | -------------------------- |
| Athens | 1.4.x | Camden |
| Brussels | 1.5.x | Dalston & Edgware |
| Cairo | 2.0.x | Finchley |

View File

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

View File

@@ -0,0 +1,13 @@
[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

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

View File

@@ -0,0 +1,15 @@
#!/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

@@ -0,0 +1,24 @@
#!/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

@@ -0,0 +1,8 @@
#!/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

@@ -0,0 +1,14 @@
#!/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

@@ -0,0 +1,49 @@
#!/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

@@ -0,0 +1,53 @@
#!/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

@@ -0,0 +1,169 @@
#!/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

@@ -0,0 +1,24 @@
#!/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

@@ -0,0 +1,42 @@
#!/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

@@ -0,0 +1,128 @@
#!/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

@@ -0,0 +1,6 @@
# 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

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
3fa536308bcdaf5c4670c0c438ead6b3cad990da

View File

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

View File

@@ -84,8 +84,8 @@ class ReleaserConfiguration {
@Bean
DocumentationUpdater documentationUpdater(ProjectGitHandler projectGitHandler,
ReleaserProperties properties) {
return new DocumentationUpdater(projectGitHandler, properties);
ReleaserProperties properties, TemplateGenerator templateGenerator) {
return new DocumentationUpdater(projectGitHandler, properties, templateGenerator);
}
@Bean

View File

@@ -134,7 +134,7 @@ public class SpringReleaser {
Projects projects = projectsAndVersion == null ?
projectsToUpdateForFixedVersions() : projectsAndVersion.projectVersions;
ProjectVersion version = projects.containsProject(this.properties.getMetaRelease().getReleaseTrainProjectName()) ?
projects.forName(this.properties.getMetaRelease().getReleaseTrainProjectName()) : versionFromBranch();
projects.releaseTrain(this.properties) : versionFromBranch();
if (options.metaRelease) {
this.properties.getPom().setBranch(version.version);
}

View File

@@ -95,6 +95,12 @@ class Tasks {
args -> {
args.releaser.updateAllSamples(args.projects);
},TaskType.POST_RELEASE);
static Task UPDATE_RELEASE_TRAIN_WIKI = task("updateReleaseTrainWiki", "uw",
"UPDATE RELEASE TRAIN WIKI",
"Update release train wiki page",
args -> {
args.releaser.updateReleaseTrainWiki(args.projects);
},TaskType.POST_RELEASE);
static final List<Task> DEFAULT_TASKS_PER_PROJECT = Stream.of(
Tasks.UPDATING_POMS,
@@ -115,6 +121,7 @@ class Tasks {
Tasks.UPDATE_RELEASE_TRAIN_DOCUMENTATION,
Tasks.UPDATE_DOCUMENTATION,
Tasks.UPDATE_SPRING_PROJECT_PAGE,
Tasks.UPDATE_RELEASE_TRAIN_WIKI,
Tasks.UPDATE_ALL_SAMPLES
).collect(Collectors.toList());

View File

@@ -6,6 +6,7 @@ import java.io.IOException;
import org.springframework.cloud.release.internal.ReleaserProperties;
import org.springframework.cloud.release.internal.git.ProjectGitHandler;
import org.springframework.cloud.release.internal.pom.Projects;
import org.springframework.cloud.release.internal.template.TemplateGenerator;
/**
* @author Marcin Grzejszczak
@@ -19,8 +20,8 @@ public class TestDocumentationUpdater extends DocumentationUpdater {
public static class TestReleaseContentsUpdater extends ReleaseTrainContentsUpdater {
public TestReleaseContentsUpdater(ReleaserProperties properties, ProjectGitHandler handler) {
super(properties, handler);
public TestReleaseContentsUpdater(ReleaserProperties properties, ProjectGitHandler handler, TemplateGenerator templateGenerator) {
super(properties, handler, templateGenerator);
}
@Override

View File

@@ -9,6 +9,7 @@ public class TestUtils {
public static void prepareLocalRepo() throws IOException {
prepareLocalRepo("target/test-classes/projects/", "spring-cloud");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-wiki");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-release");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-release-with-snapshot");
prepareLocalRepo("target/test-classes/projects/", "spring-cloud-consul");

View File

@@ -49,6 +49,7 @@ import org.springframework.cloud.release.internal.sagan.Project;
import org.springframework.cloud.release.internal.sagan.Release;
import org.springframework.cloud.release.internal.sagan.SaganClient;
import org.springframework.cloud.release.internal.sagan.SaganUpdater;
import org.springframework.cloud.release.internal.template.ReleaseNotesTemplateGeneratorCacheClearer;
import org.springframework.cloud.release.internal.template.TemplateGenerator;
import org.springframework.context.ApplicationContext;
import org.springframework.util.FileSystemUtils;
@@ -85,6 +86,7 @@ public class AcceptanceTests {
BDDMockito.given(this.saganClient.getProject(anyString()))
.willReturn(newProject());
Task.stepSkipper = () -> false;
ReleaseNotesTemplateGeneratorCacheClearer.clear();
}
@After
@@ -287,6 +289,7 @@ public class AcceptanceTests {
SpringReleaser releaser = metaReleaser(versions);
this.releaserProperties.getMetaRelease().getProjectsToSkip().add("spring-cloud-release");
this.releaserProperties.getMetaRelease().getProjectsToSkip().add("spring-cloud-consul");
this.releaserProperties.getGit().setUpdateReleaseTrainWiki(false);
File temporaryDestination = tmp.newFolder();
this.releaserProperties.getGit().setCloneDestinationDir(temporaryDestination.getAbsolutePath());
@@ -318,6 +321,7 @@ public class AcceptanceTests {
});
thenSaganWasCalled();
thenDocumentationWasUpdated();
thenWikiPageWasUpdated();
}
@Test
@@ -345,6 +349,7 @@ public class AcceptanceTests {
});
thenSaganWasCalled();
thenDocumentationWasUpdated();
thenWikiPageWasUpdated();
}
private void thenDocumentationWasUpdated() {
@@ -353,6 +358,11 @@ public class AcceptanceTests {
.anyString());
}
private void thenWikiPageWasUpdated() {
BDDMockito.then(documentationUpdater).should()
.updateReleaseTrainWiki(BDDMockito.any(Projects.class));
}
// issue #74
@Test
public void should_perform_a_release_of_sc_build() throws Exception {
@@ -621,7 +631,7 @@ public class AcceptanceTests {
SaganUpdater saganUpdater = new SaganUpdater(this.saganClient);
DocumentationUpdater documentationUpdater = new TestDocumentationUpdater(properties,
new TestDocumentationUpdater.TestProjectDocumentationUpdater(properties, handler, "Brixton.SR1"),
new TestDocumentationUpdater.TestReleaseContentsUpdater(properties, handler)) {
new TestDocumentationUpdater.TestReleaseContentsUpdater(properties, handler, templateGenerator)) {
@Override public File updateDocsRepo(ProjectVersion currentProject,
String springCloudReleaseBranch) {
File file = super.updateDocsRepo(currentProject, springCloudReleaseBranch);
@@ -644,7 +654,7 @@ public class AcceptanceTests {
SaganUpdater saganUpdater = Mockito.spy(new SaganUpdater(this.saganClient));
DocumentationUpdater documentationUpdater = Mockito.spy(new TestDocumentationUpdater(properties,
new TestDocumentationUpdater.TestProjectDocumentationUpdater(properties, handler, "Brixton.SR1"),
new TestDocumentationUpdater.TestReleaseContentsUpdater(properties, handler) {
new TestDocumentationUpdater.TestReleaseContentsUpdater(properties, handler, templateGenerator) {
@Override
public File updateProjectRepo(Projects projects) {
File file = super.updateProjectRepo(projects);
@@ -681,6 +691,8 @@ public class AcceptanceTests {
releaserProperties.getPom().setBranch(branch);
releaserProperties.getGit().setSpringProjectUrl(
tmpFile("spring-cloud").getAbsolutePath() + "/");
releaserProperties.getGit().setReleaseTrainWikiUrl(
tmpFile("spring-cloud-wiki").getAbsolutePath() + "/");
this.releaserProperties = releaserProperties;
return releaserProperties;
}
@@ -702,6 +714,8 @@ public class AcceptanceTests {
releaserProperties.getMetaRelease().setEnabled(true);
releaserProperties.getGit().setSpringProjectUrl(
tmpFile("spring-cloud").getAbsolutePath() + "/");
releaserProperties.getGit().setReleaseTrainWikiUrl(
tmpFile("spring-cloud-wiki").getAbsolutePath() + "/");
releaserProperties.setFixedVersions(versions);
this.releaserProperties = releaserProperties;
return releaserProperties;

View File

@@ -0,0 +1,11 @@
package org.springframework.cloud.release.internal.template;
/**
* @author Marcin Grzejszczak
*/
public class ReleaseNotesTemplateGeneratorCacheClearer {
public static void clear() {
ReleaseNotesTemplateGenerator.CACHE.clear();
}
}

View File

@@ -0,0 +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.
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:
- link:Spring-Cloud-Angel-Release-Notes[Angel]
- link:Spring-Cloud-Brixton-Release-Notes[Brixton]
- link:Spring-Cloud-Camden-Release-Notes[Camden]
- link:Spring-Cloud-Dalston-Release-Notes[Dalston]
- link:Spring-Cloud-Edgware-Release-Notes[Edgware]
- link:Spring-Cloud-Finchley-Release-Notes[Finchley]

View File

@@ -0,0 +1,38 @@
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)
- Routing (ribbon, zuul, spring-cloud-netflix)
- Service-to-service calls (feign, ribbon, spring-cloud-netflix)
- Load balancing (ribbon, spring-cloud-netflix)
- Circuit Breakers (hystrix, spring-cloud-netflix)
- Distributed messaging (RabbitMQ, spring-cloud-bus)
== 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.
=== 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).
=== 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.
=== 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").
=== 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 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

@@ -0,0 +1,95 @@
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.
=== 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.)
=== 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.
=== Spring Cloud Task
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).
== Highlights
Some of the highlights of the Brixton release train are:
* Spring Boot 1.3.x and Spring Framework 4.2.x support
* 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 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 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 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
public class MyConfiguration {
@LoadBalanced
@Bean
RestTemplate restTemplate() {
return new RestTemplate();
}
}
```
Please note the correct BOM to use is `spring-cloud-dependencies` not `spring-cloud-starter-parent` (see Getting Started below).
=== 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`.
|===
|Angel | Brixton (with AMQP) | Brixton (with Kafka) |
| spring-cloud-starter-bus-amqp | spring-cloud-starter-bus-amqp |spring-cloud-starter-bus-kafka |
| spring-cloud-netflix-hystrix-amqp | spring-cloud-netflix-hystrix-stream spring-cloud-starter-stream-rabbit |spring-cloud-netflix-hystrix-stream spring-cloud-starter-stream-kafka |
| spring-cloud-starter-turbine-amqp | spring-cloud-starter-turbine-stream spring-cloud-starter-stream-rabbit |spring-cloud-starter-turbine-stream spring-cloud-starter-stream-kafka |
|===
NOTE: There is still a `spring-cloud-netflix-hystrix-amqp` in the Brixton release, but it might be removed in future versions, so please use `spring-cloud-netflix-hystrix-stream` and the binder of your choice instead.
== Brixton.SR6
- 2016/09/21 - AWS version `1.1.3.RELEASE`
- 2016/09/21 - Commons version `1.1.3.RELEASE` https://github.com/spring-cloud/spring-cloud-commons/milestone/18?closed=1[(issues)]
- 2016/09/21 - Cloudfoundry version `1.0.1.RELEASE`
- 2016/09/08 - Netflix version `1.1.6.RELEASE` https://github.com/spring-cloud/spring-cloud-netflix/milestone/26?closed=1[(issues)]
- 2016/09/06 - Security version `1.1.3.RELEASE` https://github.com/spring-cloud/spring-cloud-security/milestone/13?closed=1[(issues)]
- 2016/09/21 - Sleuth version `1.0.0.RELEASE` https://github.com/spring-cloud/spring-cloud-sleuth/milestone/15?closed=1[(issues)]
- 2016/09/21 - Zookeeper version `1.0.3.RELEASE` https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/7?closed=1[(issues)]
== Brixton.SR7
- 2016/11/23 - Netflix version `1.1.7.RELEASE` https://github.com/spring-cloud/spring-cloud-netflix/milestone/30?closed=1[(issues)]
- 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).

View File

@@ -0,0 +1,157 @@
Spring Cloud Camden builds on Spring Boot 1.4.x.
# Camden.SR7
* Spring Cloud Netflix `1.2.7.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/39?closed=1)
* Spring Cloud Sleuth `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/24?closed=1) Contains bug fixes, added an option to adjust spans before reporting them, fixed async support
* Spring Cloud Contract `1.0.5.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/11?closed=1). Contains bug fixes, documentation update, consumer stub co-dependency feature
* Spring Cloud AWS `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-aws/milestone/15?closed=1)
* Spring Cloud Security `1.1.4.RELEASE` Contains documentation fixes.
* Spring Cloud Consul `1.1.4.RELEASE` Excludes Spring Core from Spring Retry dependency.
# Camden.SR6
* Spring Cloud Commons `1.1.8.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/21?closed=1)
* Spring Cloud Stream `Brooklyn.SR3` [(issue)](https://github.com/spring-cloud/spring-cloud-stream/issues/810)
* Spring Cloud Bus `1.2.2` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/19?closed=1)
* Spring Cloud Config `1.2.3.RELEASE` [(issue)](https://github.com/spring-cloud/spring-cloud-config/issues/638)
* Spring Cloud Netflix `1.2.6.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/38?closed=1)
* Spring Cloud Consul `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/14?closed=1)
* Spring Cloud Zookeeper `1.0.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/8?closed=1)
* Spring Cloud Sleuth `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/22?closed=1)
* Spring Cloud Contract `1.0.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/9?closed=1)
# Camden.SR5
Adds Boot 1.5 compatibility and breaks Boot 1.3 compatibility
See [this gist](https://gist.github.com/spencergibb/80a134b4738c78ca64e4d0c77214fcb6) for a workaround for "MIME type may not contain reserved characters" errors using Zuul URL mappings with mime-types with character encoding.
* 2017/02/03 - Spring Cloud Build `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-build/milestone/12?closed=1)
* Spring Cloud Stream `Brooklyn.SR2`[(blog post)](https://spring.io/blog/2017/01/20/spring-cloud-stream-brooklyn-sr2-and-chelsea-m1-released)
* Spring Cloud Netflix `1.2.5.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/36?closed=1)
* Spring Cloud Sleuth `1.1.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/21?closed=1)
# Camden.SR4
* 2017/01/09 - Spring Cloud Commons `1.1.7.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/21?closed=1)
* 2017/01/11 - Spring Cloud Netflix `1.2.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/35?closed=1)
* 2017/01/12 - Spring Cloud Sleuth `1.1.1.RELEASE`. The [(1.0.x issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/19?closed=1) and [(1.1.x issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/20?closed=1). All features merged to 1.0.x are also present in 1.1.x. Major changes:
* Continues spans instead of creating new ones (this change was required to happen due to issues with async communication and view controller based one) [#474](https://github.com/spring-cloud/spring-cloud-sleuth/pulls/474)
* Added `spring.instance_id` tag to know which server exactly the span originates from [#488](https://github.com/spring-cloud/spring-cloud-sleuth/pull/488)
* Support for non-web apps got fixed [#32](https://github.com/spring-cloud/spring-cloud-sleuth/issues/32)
* Parent-ID is added to MDC so you can reference it in the logs if you want to [#480](https://github.com/spring-cloud/spring-cloud-sleuth/issues/480)
* 2017/01/12 - Spring Cloud Contract `1.0.3.RELEASE`. The [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/8?closed=1). Major changes:
* Added `stubMatchers` and `testMatchers` to the DSL [#185](https://github.com/spring-cloud/spring-cloud-contract/issues/185)
* Fixed the Explicit mode (thanks to this you can work with context paths properly) [#179](https://github.com/spring-cloud/spring-cloud-contract/issues/179) [#117](https://github.com/spring-cloud/spring-cloud-contract/issues/117)
* Added environment property for every dependency [#147](https://github.com/spring-cloud/spring-cloud-contract/issues/147)
# Camden.SR3
* 2016/11/23 - Spring Cloud Commons `1.1.6.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/20?closed=1)
* 2016/11/23 - Spring Cloud Config `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/26?closed=1)
* 2016/11/23 - Spring Cloud Netflix `1.2.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/33?closed=1)
* 2016/11/28 - Spring Cloud Consul `1.1.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/13?closed=1)
* 2016/11/24 - Spring Cloud Contract `1.0.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/7?closed=1)
* 2016/11/24 - Spring Cloud Sleuth `1.1.0.RELEASE`. The [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/17?closed=1) are taken from `1.0.11.RELEASE` since `1.1.x` should differ from `1.0.x` only by dependencies. The features should be the same.
# Camden.SR2
* 2016/11/01 - Spring Cloud Netflix `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/32?closed=1)
* 2016/10/18 - Spring Cloud Consul `1.1.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/12?closed=1)
* 2016/11/01 - Spring Cloud CLI `1.2.2.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-cli/milestone/12?closed=1)
* 2016/10/31 - Spring Cloud Streams `Brooklyn.SR1` [(issues)](https://github.com/spring-cloud/spring-cloud-stream-binder-rabbit/milestone/5?closed=1)
# Camden.SR1
- 2016/09/21 - AWS version `1.1.3.RELEASE`
- 2016/09/21 - Bus version `1.2.1.RELEASE`
- 2016/10/17 - Commons version `1.1.4.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/19?closed=1)
- 2016/10/17 - Contract version `1.0.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/6?closed=1)
- 2016/10/17 - Config version `1.2.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/25?closed=1)
- 2016/10/17 - Netflix version `1.2.1.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/29?closed=1)
- 2016/09/06 - Security version `1.1.3.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/13?closed=1)
- 2016/10/17 - Sleuth version `1.0.10.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/16?closed=1)
- 2016/09/21 - Stream version `Brooklyn.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-stream-starters/wiki/Brooklyn-Release-Notes)
- 2016/09/08 - Task version `1.0.3.RELEASE`
- 2016/09/21 - Zookeeper version `1.0.3.RELEASE`
# Camden.RELEASE
## New projects
It adds the following new projects:
### Spring Cloud Contract
- 2016/09/23 - Updated to version `1.0.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/5?closed=1)
- 2016/09/14 - Updated to version `1.0.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/3?closed=1)
- 2016/08/29 - Released version `1.0.0.M2` ([M1 issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/1?closed=1), [M2 issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/2?closed=1))
What you always need is confidence in pushing new features into a new application or service in a distributed system. This project provides support for Consumer Driven Contracts and service schemas in Spring applications, covering a range of options for writing tests, publishing them as assets, asserting that a contract is kept by producers and consumers, for HTTP and message-based interactions.
The migration guide between milestones is available [here](https://github.com/spring-cloud/spring-cloud-contract/wiki/1.0.0-Migration-Guides)
## Existing projects
It has the following changes from existing applications
### Spring Cloud Stream
- 2016/09/21 - Updated to version `Brooklyn.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-stream/milestone/16?closed=1)
- 2016/09/14 - Updated to version `Brooklyn.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-stream/milestone/12?closed=1)
- 2016/08/29 - Updated to version `Brooklyn.M1`
You can check out the detailed [release notes here](https://github.com/spring-cloud/spring-cloud-stream-starters/wiki/Brooklyn-Release-Notes)
### Spring Cloud Bus
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/17?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/16?closed=1)
- 2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/14?closed=1).
### Spring Cloud Config
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/24?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/23?closed=1)
2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/20?closed=1).
Notable changes:
- Documentation updates
- Placeholder resolution fixes
### Spring Cloud Netflix
- 2016/09/22 - Updated to version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/28?closed=1)
- 2016/09/14 - Updated to version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/27?closed=1)
- 2016/08/29 - Updated to version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/22?closed=1)
Notable changes:
- Customize Ribbon component classes using properties
- Feign upgrade (moves to community maintained openfeign)
- Zuul fixes
Note: There was an XXE vulnerability in xstream (which is used by Eureka), so please upgrade to the Camden release train 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).
### Spring Cloud Consul
- 2016/09/22 - Updated to version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/11?closed=1)
- 2016/09/14 - Updated to version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/10?closed=1)
- 2016/08/29 - Updated to version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/9?closed=1)
Notable changes:
- Documentation updates
- Consul Bus rewritten as a Stream Binder
### Spring Cloud CLI
- 2016/09/26 - Updated to version `1.2.0.RC1`
[(issues)](https://github.com/spring-cloud/spring-cloud-cli/milestone/9?closed=1)
Notable changes:
- Created launcher (via `spring cloud` cli command)

View File

@@ -0,0 +1,207 @@
Spring Cloud Dalston builds on Spring Boot 1.5.x.
# Dalston.SR5
2017-12-26
- Spring Cloud Contract `1.1.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/22?closed=1))
- Spring Cloud Cloudfoundry `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/7?closed=1))
- Spring Cloud Sleuth `1.2.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/35?closed=1))
- Spring Cloud Consul `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/24?closed=1))
- Spring Cloud Stream `Chelsea.SR2`
- Spring Cloud Aws `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/17?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Bus `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/21?closed=1))
- Spring Cloud Config `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/38?closed=1))
- Spring Cloud Zookeeper `1.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/16?closed=1))
- Spring Cloud Netflix `1.3.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/51?closed=1))
- Spring Cloud Vault `1.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/7?closed=1))
- Spring Cloud Commons `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/35?closed=1))
# Dalston.SR4
2017-10-03
- Spring Cloud Commons `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/31?closed=1))
- Spring Cloud Netflix `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/50?closed=1))
- Spring Cloud Contract `1.1.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/19?closed=1))
- Spring Cloud Sleuth `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/32?closed=1))
- Spring Cloud Config `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/35?closed=1))
# Dalston.SR3
2017-08-21
- Spring Cloud Netflix `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/46?closed=1))
- Spring Cloud Contract `1.1.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/18?closed=1))
- Spring Cloud Sleuth `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/31?closed=1))
- Spring Cloud Zookeeper `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/13?closed=1))
# Dalston.SR2
2017-07-28
- Spring Cloud Commons `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/28?closed=1))
- Spring Cloud Config `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/34?closed=1))
- Spring Cloud Contract `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/16?closed=1))
- Spring Cloud Netflix `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/44?closed=1))
- Spring Cloud Sleuth `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/28?closed=1))
- Spring Cloud Vault `1.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/7?closed=1))
# Dalston.SR1
2017-05-24
- Spring Cloud Aws `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/17?closed=1))
- Spring Cloud Bus `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/21?closed=1))
- Spring Cloud Commons `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/27?closed=1)) ([1.2.1 issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/26?closed=1))
- Spring Cloud Config `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/33?closed=1))
- Spring Cloud Consul `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/18?closed=1))
- Spring Cloud Contract `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/14?closed=1))
- Spring Cloud Netflix `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/41?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Sleuth `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/27))
- Spring Cloud Stream `Chelsea.SR2` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.SR2))
- Spring Cloud Vault `1.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/6?closed=1))
- Spring Cloud Zookeeper `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/12?closed=1))
# Dalston.RELEASE
## New projects
The following are new projects:
### Spring Cloud Vault Config
- 2017/01/27 - Released version `1.0.0.M2` ([M1 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/1?closed=1), [M2 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/2?closed=1))
- 2017/03/16 - Released version `1.0.0.RC1` ([RC1 issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/4?closed=1))
- 2017/04/10 - Released version `1.0.0.RELEASE` ([RELEASE issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/3?closed=1))
Spring Cloud Vault Config provides client-side support for externalized secret management in a distributed system via [Hashicorp Vault](https://www.vaultproject.io/).
## Existing projects
It has the following changes from existing applications
### Spring Cloud AWS
- 2017/01/26 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-aws/milestone/13?closed=1)
- 2017/03/16 - Released version `1.2.0.RC1`
- 2017/04/06 - Released version `1.2.0.RELEASE`
### Spring Cloud Build
- 2017/01/09 - Released version `1.3.1.M1`
- 2017/03/06 - Released version `1.3.1.RELEASE`
Notable changes:
- Spring Boot 1.5.x is the minimum required version
### Spring Cloud Bus
- 2017/01/26 - Released version `1.3.0.M1`
- 2017/04/05 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-bus/milestone/20?closed=1)
### Spring Cloud Cloudfoundry
- 2017/01/27 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/6?closed=1)
- 2017/04/10 - Released version `1.1.0.RELEASE`
### Spring Cloud Commons
- 2017/01/26 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/17?closed=1)
- 2017/03/15 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/23?closed=1)
- 2017/04/05 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-commons/milestone/25?closed=1)
Notable changes:
- `@EnableDiscoveryClient(autoRegister=false)`
- `ServiceRegistry` API
- `@LoadBalanced` `AsyncRestTemplate` support
- Configuration driven `DiscoveryClient`
### Spring Cloud Config
- 2017/01/27 - Released version `1.3.0.M2` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/28?closed=1)
- 2017/03/16 - Released version `1.3.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/29?closed=1)
- 2017/04/07 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-config/milestone/32?closed=1)
Notable changes:
- Hashicorp Vault backend
- Multiple backends at once (Composite)
- AWS Codecommit git authentication
### Spring Cloud Consul
- 2017/01/27 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/15?closed=1)
- 2017/03/16 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/16?closed=1)
- 2017/04/10 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-consul/milestone/17?closed=1)
Notable changes:
- Implements new `ServiceRegistry` API
- Deregister zombie services
- Supports ACL for Service Discovery
### Spring Cloud Contract
- 2017/01/30 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/4?closed=1)
- 2017/03/17 - Released version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/10?closed=1)
- 2017/04/11 - Released version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-contract/milestone/12?closed=1)
Notable changes:
- Support Pact contracts
- Pluggability enhancements
### Spring Cloud Netflix
- 2017/01/27 - Released version `1.3.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/31?closed=1)
- 2017/03/16 - Released version `1.3.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/37closed=1)
- 2017/04/7 - Released version `1.3.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-netflix/milestone/40?closed=1)
Notable changes:
- `ServiceRegistry` implementation
- Feign clients no longer wrap methods in Hystrix commands by default ([#1277](https://github.com/spring-cloud/spring-cloud-netflix/issues/1277)). You must have Hystrix on the classpath and also set `feign.hystrix.enabled=true` to have Feign automatically wrap methods in Hystrix commands.
### Spring Cloud Security
- 2017/01/27 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/14?closed=1)
- 2017/03/17 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-security/milestone/15?closed=1)
- 2017/04/10 - Released version `1.2.0.RELEASE`
### Spring Cloud Sleuth
- 2017/01/30 - Released version `1.2.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/18?closed=1)
- 2017/03/17 - Released version `1.2.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/23?closed=1)
- 2017/04/11 - Released version `1.2.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/25?closed=1)
Notable changes:
- Baggage API
- Annotation based span creation / continuation
### Spring Cloud Stream
- 2017/01/11 - Released version `Chelsea.M1` [(blog)](https://spring.io/blog/2017/01/20/spring-cloud-stream-brooklyn-sr2-and-chelsea-m1-released)
- 2017/03/13 - Released version `Chelsea.RC1` [(blog)](https://spring.io/blog/2017/03/16/spring-cloud-stream-chelsea-rc1-released) [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.RC1)
- 2017/04/04 - Released version `Chelsea.RELEASE` [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.RELEASE)
- 2017/03/13 - Released version `Chelsea.SR1` [(release notes)](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vChelsea.SR1)
### Spring Cloud Task
- 2017/01/10 - Released version `1.1.2.RELEASE` [(blog)](https://spring.io/blog/2016/11/22/spring-cloud-task-1-1-0-release-is-now-available)
### Spring Cloud Zookeeper
- 2017/01/27 - Released version `1.1.0.M1` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/9?closed=1)
- 2017/03/16 - Released version `1.1.0.RC1` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/10?closed=1)
- 2017/04/10 - Released version `1.1.0.RELEASE` [(issues)](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/11?closed=1)
Notable changes:
- `ServiceRegistry` implementation
- Mark instances `OUT_OF_SERVICE`

View File

@@ -0,0 +1,148 @@
Spring Cloud Edgware builds on Spring Boot 1.5.x.
# Renamed starters
A number of starters did not follow normal Spring Cloud naming conventions. In Edgware, use of the deprecated starter will log a warning with the name of the new starter to use in its place. Below is a table of the deprecated starters and their replacements
| Deprecated | Edgware Starter |
| ------------- | ------------- |
| spring-cloud-starter-archaius | spring-cloud-starter-netflix-archaius |
| spring-cloud-starter-atlas | spring-cloud-starter-netflix-atlas |
| spring-cloud-starter-eureka | spring-cloud-starter-netflix-eureka-client |
| spring-cloud-starter-eureka-server | spring-cloud-starter-netflix-eureka-server |
| spring-cloud-starter-feign | spring-cloud-starter-openfeign |
| spring-cloud-starter-hystrix | spring-cloud-starter-netflix-hystrix |
| spring-cloud-starter-hystrix-dashboard | spring-cloud-starter-netflix-hystrix-dashboard |
| spring-cloud-starter-ribbon | spring-cloud-starter-netflix-ribbon |
| spring-cloud-starter-spectator | spring-cloud-starter-netflix-spectator |
| spring-cloud-starter-turbine | spring-cloud-starter-netflix-turbine |
| spring-cloud-starter-turbine-amqp | DELETED |
| spring-cloud-starter-turbine-stream | spring-cloud-starter-netflix-turbine-stream |
| spring-cloud-starter-zuul | spring-cloud-starter-netflix-zuul |
# Edgware.SR5
2018-10-16
- Spring Cloud Commons `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
- Spring Cloud Config `1.4.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A1.4.5.RELEASE))
- Spring Cloud Netflix `1.4.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.6.RELEASE))
- Spring Cloud Sleuth `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
- Spring Cloud Contract `1.2.6.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.6.RELEASE))
- Spring Cloud Vault `1.1.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A1.1.2))
- Spring Cloud Consul `1.3.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A1.3.5.RELEASE))
# Edgware.SR4
2018-06-29
**spring-boot-autoconfigure-processor** - All of the projects below have a new optional dependency, `spring-boot-autoconfigure-processor`. See Spring Cloud Commons issue [#377](https://github.com/spring-cloud/spring-cloud-commons/issues/377).
- Spring Cloud Commons `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A1.3.4.RELEASE))
- Spring Cloud AWS `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/23?closed=1))
- Spring Cloud Bus `1.3.4.RELEASE`
- Spring Cloud Config `1.4.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A1.4.4.RELEASE))
- Spring Cloud Netflix `1.4.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.5.RELEASE))
- Spring Cloud Security `1.2.3.RELEASE`
- Spring Cloud Consul `1.3.4.RELEASE`
- Spring Cloud Zookeeper `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A1.2.2.RELEASE))
- Spring Cloud Sleuth `1.3.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.4.RELEASE))
- Spring Cloud CloudFoundry `1.1.2.RELEASE`
- Spring Cloud Contract `1.2.5.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.5.RELEASE))
- Spring Cloud Task `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/issues?q=is%3Aclosed+milestone%3A1.2.3.RELEASE))
- Spring Cloud Vault `1.1.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A1.1.1))
- Spring Cloud Gateway `1.0.1.RELEASE`
- Spring Cloud Function `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/7?closed=1))
# Edgware.SR3
2018-03-27
- Spring Cloud Zookeeper `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A1.2.1.RELEASE))
- Spring Cloud Config `1.4.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/45?closed=1))
- Spring Cloud Commons `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/45?closed=1))
- Spring Cloud Sleuth `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A1.3.3.RELEASE))
- Spring Cloud Contract `1.2.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A1.2.4.RELEASE))
- Spring Cloud Netflix `1.4.4.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A1.4.4.RELEASE))
- Spring Cloud Consul `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A1.3.3.RELEASE))
# Edgware.SR2
2018-02-09
- Spring Cloud Bus `1.3.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/26?closed=1))
- Spring Cloud Config `1.4.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/43?closed=1))
- Spring Cloud Commons `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/41?closed=1))
- Spring Cloud Sleuth `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/41?closed=1))
- Spring Cloud Contract `1.2.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/29?closed=1))
- Spring Cloud Netflix `1.4.3.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/57?closed=1))
- Spring Cloud Consul `1.3.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/27?closed=1))
# Edgware.SR1
2018-01-16
- Spring Cloud Config `1.4.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/40?closed=1))
- Spring Cloud Commons `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/39?closed=1))
- Spring Cloud Stream `Ditmars.SR3`
- Spring Cloud Sleuth `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/40?closed=1))
- Spring Cloud Gateway `1.0.1.RELEASE`
- Spring Cloud Contract `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/27?closed=1))
- Spring Cloud Security `1.2.2.RELEASE`
- Spring Cloud Netflix `1.4.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/54?closed=1))
- Spring Cloud Consul `1.3.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/26?closed=1))
# Edgware.RELEASE
2017-11-27
- Spring Cloud Config `1.4.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/39?closed=1))
- Spring Cloud Task `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/19?closed=1))
- Spring Cloud Commons `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/36?closed=1))
- Spring Cloud Stream `Ditmars.RELEASE`
- Spring Cloud Zookeeper `1.2.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/17?closed=1))
- Spring Cloud Sleuth `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/36?closed=1))
- Spring Cloud Gateway `1.0.0.RELEASE`
- Spring Cloud Cloudfoundry `1.1.0.RELEASE`
- Spring Cloud Contract `1.2.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/24?closed=1))
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Aws `1.2.2.RELEASE`
- Spring Cloud Vault `1.1.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/13?closed=1))
- Spring Cloud Netflix `1.4.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/52?closed=1))
- Spring Cloud Bus `1.3.2.RELEASE`
- Spring Cloud Consul `1.3.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/22?closed=1))
# Edgware.RC1
2017-10-24
- Spring Cloud Bus `1.3.2.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/22?closed=1))
- Spring Cloud Task `1.2.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/19?closed=1))
- Spring Cloud Netflix `1.4.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/48?closed=1))
- Spring Cloud Consul `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/19?closed=1))
- Spring Cloud Contract `1.2.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/20?closed=1))
- Spring Cloud Sleuth `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/33?closed=1))
- Spring Cloud Stream `Ditmars.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vDitmars.RELEASE))
- Spring Cloud Dependencies `1.3.5.RELEASE`
- Spring Cloud Aws `1.2.2.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/18?closed=1))
- Spring Cloud Config `1.4.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/37?closed=1))
- Spring Cloud Zookeeper `1.2.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/15?closed=1))
- Spring Cloud Gateway `1.0.0.RC1`
- Spring Cloud Cloudfoundry `1.1.0.RELEASE`
- Spring Cloud Commons `1.3.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/32?closed=1))
- Spring Cloud Build `1.3.5.RELEASE`
- Spring Cloud Security `1.2.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-security/milestone/16?closed=1))
- Spring Cloud Vault `1.1.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/10?closed=1))
# Edgware.M1
2017-08-29
- Spring Cloud Commons `1.3.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/29?closed=1))
- Spring Cloud Stream `Ditmars.M2` ([issues](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vDitmars.M2))
- Spring Cloud Config `1.4.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/36?closed=1))
- Spring Cloud Contract `1.2.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/13?closed=1))
- Spring Cloud Netflix `1.4.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/45?closed=1))
- Spring Cloud Zookeeper `1.2.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/14?closed=1))
- Spring Cloud Sleuth `1.3.0.M1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/29?closed=1))
- 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

@@ -0,0 +1,216 @@
Spring Cloud Finchley builds on Spring Boot 2.0.x and is not compatible with 1.x.y.
# Finchley.SR2
2018-10-23
- Based on Spring Boot 2.0.6.RELEASE
- Spring Cloud Gateway `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Sleuth `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Config `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Netflix `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=milestone%3A2.0.2.RELEASE+is%3Aclosed))
- Spring Cloud Commons `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Contract `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud Vault `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A2.0.2))
- Spring Cloud OpenFeign `2.0.2.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.0.2.RELEASE))
- Spring Cloud AWS `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Cloud Foundry `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
# Finchley.SR1
2018-07-31
- Based on Spring Boot 2.0.4.RELEASE
- Spring Cloud Consul `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Gateway `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Sleuth `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Config `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Netflix `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=milestone%3A2.0.1.RELEASE+is%3Aclosed))
- Spring Cloud Commons `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Contract `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
- Spring Cloud Stream `Elmhurst.SR1` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.SR1))
- Spring Cloud Vault `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/issues?q=is%3Aclosed+milestone%3A2.0.1))
- Spring Cloud Openfeign `2.0.1.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/issues?q=is%3Aclosed+milestone%3A2.0.1.RELEASE))
# Finchley.RELEASE
2018-06-18
- Based on Spring Boot 2.0.3.RELEASE
- Spring Cloud Consul `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/31?closed=1))
- Spring Cloud Gateway `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/14?closed=1))
- Spring Cloud Function `1.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-function/milestone/7?closed=1))
- Spring Cloud Zookeeper `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/22?closed=1))
- Spring Cloud Sleuth `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/50?closed=1))
- Spring Cloud Aws `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/22?closed=1))
- Spring Cloud Config `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/50?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.RELEASE`
- Spring Cloud Security `2.0.0.RELEASE`
- Spring Cloud Netflix `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/64?closed=1))
- Spring Cloud Task `2.0.0.RELEASE` ([Blog Post](https://spring.io/blog/2018/05/07/spring-cloud-task-2-0-0-release-is-now-available))
- Spring Cloud Commons `2.0.0.RELEASE`
- Spring Cloud Contract `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/39?closed=1))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Vault `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/14?closed=1))
- Spring Cloud Bus `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/30?closed=1))
- Spring Cloud Openfeign `2.0.0.RELEASE` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/3?closed=1))
# Finchley.RC2
2018-05-29
- Based on Spring Boot `2.0.2.RELEASE`
- Spring Cloud Bus `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Commons `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-commons/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Config `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Consul `2.0.0.RC2` (just dependency and documentation updates)
- Spring Cloud Contract `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=milestone%3A2.0.0.RC2+is%3Aclosed))
- Spring Cloud Gateway `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Netflix `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Sleuth `2.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.0.RC2))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Task `2.0.0.RELEASE` ([Blog Post](https://spring.io/blog/2018/05/07/spring-cloud-task-2-0-0-release-is-now-available))
- Spring Cloud Function `1.0.0.RC2` ([issues](https://github.com/spring-cloud/spring-cloud-function/issues?q=is%3Aclosed+milestone%3A1.0.0.RC2))
# Finchley.RC1
2018-04-24
- Based on Spring Boot `2.0.1.RELEASE`
- Spring Cloud Bus `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud CloudFoundry `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Commons `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/46?closed=1))
- Spring Cloud Config `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-config/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Consul `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-consul/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Contract `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-contract/issues?q=milestone%3A2.0.0.RC1+is%3Aclosed))
- Spring Cloud Gateway `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Netflix `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Sleuth `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Stream `Elmhurst.RELEASE` ([Release Notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RELEASE))
- Spring Cloud Task `2.0.0.RC1` ([Blog Post](https://spring.io/blog/2018/04/16/spring-cloud-task-2-0-0-rc1-is-now-available))
- Spring Cloud Zookeeper `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
# Finchley.M9
2018-03-22
- Based on Spring Boot `2.0.0.RELEASE`
- Spring Cloud Bus `2.0.0.RC1` ([issues](https://github.com/spring-cloud/spring-cloud-bus/issues?q=is%3Aclosed+milestone%3A2.0.0.RC1))
- Spring Cloud Gateway `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/11?closed=1))
- Spring Cloud Commons `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/44?closed=1))
- Spring Cloud Config `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/46?closed=1))
- Spring Cloud Contract `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/32?closed=1))
- Spring Cloud Sleuth `2.0.0.M9` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/45?closed=1))
- Spring Cloud Netflix `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/60?closed=1))
- Spring Cloud OpenFeign `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-openfeign/milestone/1?closed=1))
- Spring Cloud Zookeeper `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/20?closed=1))
- Spring Cloud Consul `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/28?closed=1))
- Spring Cloud Stream `Elmhurst.RC3` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RC3))
# Finchley.M8
2018-03-02
- Based on Spring Boot `2.0.0.RELEASE`
- Spring Cloud Gateway `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/10?closed=1))
- Spring Cloud Bus `2.0.0.M7`
- Spring Cloud Security `2.0.0.M3`
- Spring Cloud Commons `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/43?closed=1))
- Spring Cloud Config `2.0.0.M8` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/44?closed=1))
- Spring Cloud Stream `Elmhurst.RC2` ([release notes](https://github.com/spring-cloud/spring-cloud-stream-starters/releases/tag/vElmhurst.RC2))
# Finchley.M7
2018-02-27
- Based on Spring Boot `2.0.0.RC2`
- All of Feign code from Spring Cloud Netflix has been moved to a new project, Spring Cloud OpenFeign
- There is a known issue with the Hystrix Webflux endpoint when using Spring Boot 2.0.0.RC2. You can follow this [issue](https://github.com/reactor/reactor-core/issues/1091) in Reactor for more information.
- Spring Cloud Zookeeper `2.0.0.M6` Uses Spring Cloud OpenFeign
- Spring Cloud Sleuth `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/43?closed=1))
- Spring Cloud Consul `2.0.0.M6` Uses Spring Cloud OpenFeign
- Spring Cloud Gateway `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/9?closed=1))
- Spring Cloud Netflix `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/59?closed=1))
- Spring Cloud Contract `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/31?closed=1))
- Spring Cloud Stream `Elmhurst.RC1` [Release Announcement](https://spring.io/blog/2018/02/23/spring-cloud-stream-elmhurst-rc1-2-0-0-rc1-release-announcement)
- Spring Cloud Bus `2.0.0.M6` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Config `2.0.0.M7` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Aws `2.0.0.M4` Spring Boot 2.0.0.RC2 Compatibility Changes
- Spring Cloud Commons `2.0.0.M7` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/42?closed=1))
- Spring Cloud Vault `2.0.0.M6` Spring Boot 2.0.0.RC2 Compatibility Changes and Spring Vault 2.0.0.RELEASE
- Spring Cloud OpenFeign `2.0.0.M1`
# Finchley.M6
2018-02-12
- Based on Spring Boot `2.0.0.RC1`
- Spring Cloud Zookeeper `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-zookeeper/milestone/18?closed=1))
- Spring Cloud Sleuth `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/39?closed=1))
- Spring Cloud Consul `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/25?closed=1))
- Spring Cloud Gateway `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/8?closed=1))
- Spring Cloud Netflix `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/55?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-cloudfoundry/milestone/8?closed=1))
- Spring Cloud Contract `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/28?closed=1))
- Spring Cloud Stream `Elmhurst.M4`
- Spring Cloud Bus `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/25?closed=1))
- Spring Cloud Config `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-config/milestone/42?closed=1))
- Spring Cloud Aws `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/20?closed=1))
- Spring Cloud Commons `2.0.0.M6` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/40?closed=1))
- Spring Cloud Vault `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-vault/milestone/15?closed=1))
# Finchley.M5
2017-12-02
- Based on Spring Boot `2.0.0.M7`
- Spring Cloud Consul `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/23?closed=1))
- Spring Cloud Sleuth `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/38?closed=1))
- Spring Cloud Gateway `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/6?closed=1))
- Spring Cloud Zookeeper `2.0.0.M4`
- Spring Cloud Cloudfoundry `2.0.0.M2`
- Spring Cloud Netflix `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/53?closed=1))
- Spring Cloud Contract `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/25?closed=1))
- Spring Cloud Bus `2.0.0.M4`
- Spring Cloud Config `2.0.0.M5`
- Spring Cloud Commons `2.0.0.M5` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/38?closed=1))
# Finchley.M4
2017-11-17
- Based on Spring Boot `2.0.0.M6`
- Spring Cloud Consul `2.0.0.M3`
- Spring Cloud Gateway `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/5?closed=1))
- Spring Cloud Zookeeper `2.0.0.M3`
- Spring Cloud Sleuth `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/37?closed=1))
- Spring Cloud Cloudfoundry `2.0.0.M1`
- Spring Cloud Config `2.0.0.M4`
- Spring Cloud Netflix `2.0.0.M4`
- Spring Cloud Contract `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/23?closed=1))
- Spring Cloud Security `2.0.0.M1`
- Spring Cloud Stream `Elmhurst.M3`
- Spring Cloud Bus `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/24?closed=1))
- Spring Cloud Task `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-task/milestone/20?closed=1))
- Spring Cloud Aws `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-aws/milestone/19?closed=1))
- Spring Cloud Vault `2.0.0.M4`
- Spring Cloud Commons `2.0.0.M4` ([issues](https://github.com/spring-cloud/spring-cloud-commons/milestone/37?closed=1))
# Finchley.M3
2017-10-30
- Spring Cloud Dependencies `2.0.0.M4`
- Spring Cloud Sleuth `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-sleuth/milestone/30?closed=1))
- Spring Cloud Gateway `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-gateway/milestone/4?closed=1))
- Spring Cloud Config `2.0.0.M3`
- Spring Cloud Cloudfoundry `2.0.0.M1`
- Spring Cloud Build `2.0.0.M4`
- Spring Cloud Consul `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-consul/milestone/20?closed=1))
- Spring Cloud Netflix `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-netflix/milestone/49?closed=1))
- Spring Cloud Security `2.0.0.M1`
- Spring Cloud Contract `2.0.0.M3` ([issues](https://github.com/spring-cloud/spring-cloud-contract/milestone/17?closed=1))
- Spring Cloud Bus `2.0.0.M2` ([issues](https://github.com/spring-cloud/spring-cloud-bus/milestone/23?closed=1))
- Spring Cloud Aws `2.0.0.M1`
- Spring Cloud Stream `Elmhurst.M2`
- 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))

View File

@@ -0,0 +1,5 @@
| Spring IO Release Train | Spring Boot Version | Spring Cloud Release Train |
| ----------------------- | ------------------- | -------------------------- |
| Athens | 1.4.x | Camden |
| Brussels | 1.5.x | Dalston & Edgware |
| Cairo | 2.0.x | Finchley |

View File

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

View File

@@ -0,0 +1,13 @@
[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

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

View File

@@ -0,0 +1,15 @@
#!/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

@@ -0,0 +1,24 @@
#!/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

@@ -0,0 +1,8 @@
#!/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

@@ -0,0 +1,14 @@
#!/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

@@ -0,0 +1,49 @@
#!/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

@@ -0,0 +1,53 @@
#!/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

@@ -0,0 +1,169 @@
#!/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

@@ -0,0 +1,24 @@
#!/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

@@ -0,0 +1,42 @@
#!/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

@@ -0,0 +1,128 @@
#!/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

@@ -0,0 +1,6 @@
# 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

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
3fa536308bcdaf5c4670c0c438ead6b3cad990da

View File

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