Releases: elastic/elasticsearch-php
Releases · elastic/elasticsearch-php
Release 7.0.0
- 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-Agentin each HTTP request #898 - Simplified the logging methods
logRequestFail($request, $response, $exception)
andlogRequestSuccess($request, $response)inElasticsearch\Connections\Connection
#876 - Fix
json_encodefor 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
Release 6.7.1
- Added
track_total_hitsinsearchendpoint 0c9ff47
Release 6.7.0
Fixes
- Removed requirement of
{type}part inindices.put_mapping, see new API specification here - Added
seq_no_primary_termparameter inbulkendpoint #884 - Added
include_type_name,if_primary_term,if_seq_noindeleteendpoint #884 - Added
include_type_nameinget,index,indices.create,indices.field.get,indices.get,indices.mapping.get,indices.mapping.getfield,indices.mapping.put,indices.rollover,indices.template.get,indices.template.putendpoints #884 - Added
seq_no_primary_terminsearchendpoint #884 - Added
if_primary_term', 'if_seq_noinupdateendpoint #884
Testing
- Fix tests for PHP 7 with ES 6.7 [5401479
Docs
- [DOCS] Fix doc links in README [5a1782d]
Release 6.5.0
Fixes
- Remove
_suggestendpoint, which has disappeared from ES6 #763 - Fix
SearchHitIteratorkey duplicates #872 - Fixing script get and delete by removing
langfrom endpoint url #814 - Fix
SearchResponseIteratoris scrolling the first page twice #871, issue #595
Docs
- [DOCS] Add reference to
parse_url()for Extended Host Configuration #778 - [DOCS] Update php version requirement #757
- [DOCS] Update
community.asciidoc, addedElasticSearchQueryDSLproject #749 - [DOCS] Proper return type array for get method for
IndicesNamespace#651 - [DOCS] Fix full docs link #862
Testing
- Fix integration tests using docker #867