- Requirement of PHP 7.1 instead of 7.0 that is not supported since 1st Jan 2019 #897
- Code refactoring using type hints and return type declarations where possible #897
- Update vendor libraries (PHPUnit 7.5, Symfony YAML 4.3, etc) #897
- Updated all the API endpoints using the latest 7.0.0 specs of Elasticsearch #897
- Added the
User-Agent
in each HTTP request #898 - Simplified the logging methods
logRequestFail($request, $response, $exception)
andlogRequestSuccess($request, $response)
inElasticsearch\Connections\Connection
#876 - Fix
json_encode
for unicode(emoji) characters 856 - Fix HTTP port specification using CURLOPT_PORT, not anymore in the host 782
Breaking changes
-
Requirement of PHP 7.1 instead of 7.0 that is not supported since 1 Jan 2019.
See PHP supported version for more information. -
Elasticsearch 7.0 deprecated APIs that accept types, introduced new typeless
APIs, and removed support for the default mapping. Read this blog post for more information. -
Added type hints and return type declarations where possible #897