Releases: elastic/elasticsearch-php
Releases · elastic/elasticsearch-php
Release 7.0.1
- Fixed
SniffingConnectionPool
removing the return type ofConnection::sniff()
#899
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-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
Release 6.7.1
- Added
track_total_hits
insearch
endpoint 0c9ff47
Release 6.7.0
Fixes
- Removed requirement of
{type}
part inindices.put_mapping
, see new API specification here - Added
seq_no_primary_term
parameter inbulk
endpoint #884 - Added
include_type_name
,if_primary_term
,if_seq_no
indelete
endpoint #884 - Added
include_type_name
inget
,index
,indices.create
,indices.field.get
,indices.get
,indices.mapping.get
,indices.mapping.getfield
,indices.mapping.put
,indices.rollover
,indices.template.get
,indices.template.put
endpoints #884 - Added
seq_no_primary_term
insearch
endpoint #884 - Added
if_primary_term', 'if_seq_no
inupdate
endpoint #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
_suggest
endpoint, which has disappeared from ES6 #763 - Fix
SearchHitIterator
key duplicates #872 - Fixing script get and delete by removing
lang
from endpoint url #814 - Fix
SearchResponseIterator
is 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
, addedElasticSearchQueryDSL
project #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