From 1d90a7ff4fb1936dc4376f09d723af75714f6f05 Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Wed, 13 May 2020 17:19:26 +0200 Subject: [PATCH] Updated README, CHANGELOG and version to 7.7.0 --- CHANGELOG.md | 13 +++++++++++++ README.md | 20 +++++++++++++++++++- src/Elasticsearch/Client.php | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58eb7f3a2..2d0982ac8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## Release 7.7.0 + +- Removed setId() into endpoints, fixed `util/GenerateEndpoints.php` + [#1026](https://github.com/elastic/elasticsearch-php/pull/1026) +- Fixes JsonErrorException with code instead of message + [#1022](https://github.com/elastic/elasticsearch-php/pull/1022) +- Better exception message for Could not parse URI + [#1016](https://github.com/elastic/elasticsearch-php/pull/1016) +- Added JUnit log for PHPUnit + [88b7e1c](https://github.com/elastic/elasticsearch-php/commit/88b7e1ce80a5a52c1d64d00c55fef77097bbd8a9) +- Added the XPack endpoints + [763d91a](https://github.com/elastic/elasticsearch-php/commit/763d91a3d506075316b84a38b2bed7a098da5028) + ## Release 7.6.1 - Fixed issue with `guzzlehttp/ringphp` and `guzzle/streams` diff --git a/README.md b/README.md index 9f3586a09..0dd1bc13b 100755 --- a/README.md +++ b/README.md @@ -9,7 +9,25 @@ Official low-level client for Elasticsearch. Its goal is to provide common groun To maintain consistency across all the low-level clients (Ruby, Python, etc.), clients accept simple associative arrays as parameters. All parameters, from the URI to the document body, are defined in the associative array. -Starting from version 7.4.0, all the endpoints (and namespaces) are autogenerated using the [util/GenerateEndpoints.php](https://github.com/elastic/elasticsearch-php/blob/master/util/GenerateEndpoints.php) script. This script reads the [Elasticsearch API specs](https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api) and generated the PHP classes for all the endpoints. +Starting from version `7.4.0`, all the endpoints (and namespaces) are autogenerated using the [util/GenerateEndpoints.php](https://github.com/elastic/elasticsearch-php/blob/master/util/GenerateEndpoints.php) script. This script reads the [Elasticsearch API specs](https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api) and generated the PHP classes for all the endpoints. + +Starting from version `7.7.0` we included also the [XPack endpoints](https://www.elastic.co/what-is/open-x-pack) of Elasticsearch. +These APIs are related to: + +- [Cross-cluster replication](https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-apis.html) +- [Graph explorer](https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html) +- [Info](https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html) +- [Licensing](https://www.elastic.co/guide/en/elasticsearch/reference/current/licensing-apis.html) +- [Machine learning anomaly detection](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html) +- [Machine learning data frame analytics](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-df-analytics-apis.html) +- [Migration](https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api.html) +- [Reload search analyzers](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-reload-analyzers.html) +- [Rollup](https://www.elastic.co/guide/en/elasticsearch/reference/current/rollup-apis.html) +- [Security](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api.html) +- [Snapshot lifecycle management](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-lifecycle-management-api.html) +- [Transform](https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-apis.html) +- [Usage](https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html) +- [Watcher](https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api.html) Table of Contents ================= diff --git a/src/Elasticsearch/Client.php b/src/Elasticsearch/Client.php index d90316da7..78ceb76f3 100644 --- a/src/Elasticsearch/Client.php +++ b/src/Elasticsearch/Client.php @@ -53,7 +53,7 @@ */ class Client { - const VERSION = '7.7'; + const VERSION = '7.7.0'; /** * @var Transport