You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`{type}` part in `indices.put_mapping` API is not required anymore, see new specification [here](https://github.com/elastic/elasticsearch/blob/v6.7.0/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json)
- Updated all the API endpoints using the [latest 7.0.0 specs](https://github.com/elastic/elasticsearch/tree/v7.0.0/rest-api-spec/src/main/resources/rest-api-spec/api) of Elasticsearch [#897](https://github.com/elastic/elasticsearch-php/pull/897)
10
+
- Added the `User-Agent` in each HTTP request [#898](https://github.com/elastic/elasticsearch-php/pull/898)
11
+
- Simplified the logging methods `logRequestFail($request, $response, $exception)`
12
+
and `logRequestSuccess($request, $response)` in `Elasticsearch\Connections\Connection`
- Fix `json_encode` for unicode(emoji) characters [856](https://github.com/elastic/elasticsearch-php/pull/856)
15
+
- Fix HTTP port specification using CURLOPT_PORT, not anymore in the host [782](https://github.com/elastic/elasticsearch-php/pull/782)
16
+
17
+
### Testing
18
+
19
+
1
20
## Release 6.7.1
2
21
3
22
- Added `track_total_hits` in `search` endpoint [0c9ff47](https://github.com/elastic/elasticsearch-php/commit/9f4f0dfa331c4f50d2c88c0068afd3062e6ea353)
- If you are using Elasticsearch 7.x, use Elasticsearch-PHP 7.0 branch.
39
41
- If you are using Elasticsearch 6.6 to 6.7, use Elasticsearch-PHP 6.7.x branch.
40
42
- If you are using Elasticsearch 6.0 to 6.5, use Elasticsearch-PHP 6.5.x branch.
41
43
- If you are using Elasticsearch 5.x, use Elasticsearch-PHP 5.0 branch.
@@ -51,12 +53,12 @@ Installation via Composer
51
53
-------------------------
52
54
The recommended method to install _Elasticsearch-PHP_ is through [Composer](http://getcomposer.org).
53
55
54
-
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch, for instance for ES 6.7):
56
+
1. Add `elasticsearch/elasticsearch` as a dependency in your project's `composer.json` file (change version to suit your version of Elasticsearch, for instance for ES 7.0):
55
57
56
58
```json
57
59
{
58
60
"require": {
59
-
"elasticsearch/elasticsearch": "^6.7"
61
+
"elasticsearch/elasticsearch": "^7.0"
60
62
}
61
63
}
62
64
```
@@ -90,11 +92,12 @@ You can find out more on how to install Composer, configure autoloading, and oth
90
92
91
93
PHP Version Requirement
92
94
----
93
-
Version 6.0 of this library requires at least PHP version 7.0.0 to function. In addition, it requires the native JSON
95
+
Version 7.0 of this library requires at least PHP version 7.1 to function. In addition, it requires the native JSON
0 commit comments