From 60d62e5b2d1c728d7cbbeb7ed9a284303ea4acd4 Mon Sep 17 00:00:00 2001 From: Oliver Eilhard Date: Wed, 10 Apr 2019 22:10:18 +0200 Subject: [PATCH] Release version 7.0.0 --- .travis.yml | 2 +- ISSUE_TEMPLATE.md | 1 + README.md | 4 ++-- docker-compose.yml | 4 ++-- ping.go | 6 +++--- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e4976c426..023ca5dba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ services: before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" && ! $(which nc) ]] ; then sudo apt-get install -y netcat ; fi - sudo sysctl -w vm.max_map_count=262144 -# - docker run -d --rm -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" -e "bootstrap.memory_lock=true" -e "ES_JAVA_OPTS=-Xms1g -Xmx1g" docker.elastic.co/elasticsearch/elasticsearch:7.0.0-rc1 elasticsearch -Enetwork.host=_local_,_site_ -Enetwork.publish_host=_local_ +# - docker run -d --rm -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" -e "bootstrap.memory_lock=true" -e "ES_JAVA_OPTS=-Xms1g -Xmx1g" docker.elastic.co/elasticsearch/elasticsearch:7.0.0 elasticsearch -Enetwork.host=_local_,_site_ -Enetwork.publish_host=_local_ - docker-compose pull - docker-compose up -d - go get -u github.com/google/go-cmp/cmp diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index 4cc4eba68..11d6e2ca1 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -3,6 +3,7 @@ your issue/question without further inquiry. Thank you. ### Which version of Elastic are you using? +[ ] elastic.v7 (for Elasticsearch 7.x) [ ] elastic.v6 (for Elasticsearch 6.x) [ ] elastic.v5 (for Elasticsearch 5.x) [ ] elastic.v3 (for Elasticsearch 2.x) diff --git a/README.md b/README.md index f055c28c0..63758bd09 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,9 @@ import "github.com/olivere/elastic/v7" ### Elastic 7.0 -Elastic 7.0 targets Elasticsearch 7.x which [is currently at rc1](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/release-notes-7.0.0-rc1.html). +Elastic 7.0 targets Elasticsearch 7.x which [was released on April 10th 2019](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/release-notes-7.0.0.html). -As always with major version, there are a lot of [breaking changes](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/release-notes-7.0.0-rc1.html#breaking-7.0.0-rc1). +As always with major version, there are a lot of [breaking changes](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/release-notes-7.0.0.html#breaking-7.0.0). We will use this as an opportunity to [clean up and refactor Elastic](https://github.com/olivere/elastic/blob/release-branch.v7/CHANGELOG-7.0.md), as we already did in earlier (major) releases. diff --git a/docker-compose.yml b/docker-compose.yml index 03ab0a594..c6230493c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: elasticsearch: - image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.0-rc1 + image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.0.0 hostname: elasticsearch environment: - cluster.name=elasticsearch @@ -27,7 +27,7 @@ services: ports: - 9200:9200 platinum: - image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0-rc1 + image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0 hostname: elasticsearch-platinum environment: - cluster.name=platinum diff --git a/ping.go b/ping.go index 9b77266a1..43b832c3d 100644 --- a/ping.go +++ b/ping.go @@ -30,11 +30,11 @@ type PingResult struct { Name string `json:"name"` ClusterName string `json:"cluster_name"` Version struct { - Number string `json:"number"` // e.g. "7.0.0-rc1" + Number string `json:"number"` // e.g. "7.0.0" BuildFlavor string `json:"build_flavor"` // e.g. "oss" or "default" BuildType string `json:"build_type"` // e.g. "docker" - BuildHash string `json:"build_hash"` // e.g. "486505d" - BuildDate string `json:"build_date"` // e.g. "2019-03-22T20:26:57.194601Z" + BuildHash string `json:"build_hash"` // e.g. "b7e28a7" + BuildDate string `json:"build_date"` // e.g. "2019-04-05T22:55:32.697037Z" BuildSnapshot bool `json:"build_snapshot"` // e.g. false LuceneVersion string `json:"lucene_version"` // e.g. "8.0.0" MinimumWireCompatibilityVersion string `json:"minimum_wire_compatibility_version"` // e.g. "6.7.0"