File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,14 @@ The following functions has been removed:
37
37
- ` ClientBuilder::setSniffOnStart() `
38
38
- ` ClientBuilder::includePortInHostHeader() `
39
39
40
+ We removed the special ` client ` parameter passed in ` $params ` endpoints. In details:
41
+
42
+ - ` $params['client']['never_retry'] `
43
+ - ` $params['client']['verbose'] `
44
+ - ` $params['client']['port_in_header'] `
45
+ - ` $params['client']['future'] ` , you can set HTTP async using ` Client::setAsync(true) `
46
+ - ` $params['client']['ignore'] ` , you can disable the Exception using ` Client::setResponseException(false) `
47
+
40
48
# 7.17
41
49
42
50
- We changed the signature of ` Elasticsearch\Common\EmptyLogger::log ` adding the ` void ` return type.
Original file line number Diff line number Diff line change @@ -93,13 +93,14 @@ for HTTP client communications.
93
93
94
94
We tried to reduce the BC breaks as much as possible with ` 7.x ` but there are some (big) differences:
95
95
96
- - we changed the namespace, now everything is under ` Elastic\Elasticsearch ` ;
96
+ - we changed the namespace, now everything is under ` Elastic\Elasticsearch `
97
97
- we used the [ elastic-transport-php] ( https://github.com/elastic/elastic-transport-php ) library for HTTP communications;
98
98
- we changed the ` Exception ` model, using the namespace ` Elastic\Elasticsearch\Exception ` . All the exceptions extends the
99
- ` ElasticsearchException ` interface, as in 7.x;
99
+ ` ElasticsearchException ` interface, as in 7.x
100
100
- we changed the response type of each endpoints using an [ Elasticsearch] ( src/Response/Elasticsearch.php ) response class.
101
101
This class wraps a a [ PSR-7] ( https://www.php-fig.org/psr/psr-7/ ) response allowing the access of the body response
102
102
as array or object. This means you can access the API response as in 7.x, no BC break here! :angel :
103
+ - we changed the ` ConnectionPool ` in ` NodePool ` . The ` connection ` naming was ambigous since the objects are nodes (hosts)
103
104
104
105
You can have a look at the [ BREAKING_CHANGES] ( BREAKING_CHANGES.md ) file for more information.
105
106
You can’t perform that action at this time.
0 commit comments