Skip to content

Releases: elastic/elasticsearch-php

Release 7.0.1

17 Jun 14:45
Compare
Choose a tag to compare
  • Fixed SniffingConnectionPool removing the return type of Connection::sniff() #899

Release 7.0.0

13 Jun 15:39
Compare
Choose a tag to compare
  • 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)
    and logRequestSuccess($request, $response) in Elasticsearch\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

20 May 14:19
Compare
Choose a tag to compare
  • Added track_total_hits in search endpoint 0c9ff47

Release 6.7.0

29 Apr 15:20
Compare
Choose a tag to compare

Fixes

  • Removed requirement of {type} part in indices.put_mapping, see new API specification here
  • Added seq_no_primary_term parameter in bulk endpoint #884
  • Added include_type_name, if_primary_term, if_seq_no in delete endpoint #884
  • Added include_type_name in get, 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 in search endpoint #884
  • Added if_primary_term', 'if_seq_noin update endpoint #884

Testing

  • Fix tests for PHP 7 with ES 6.7 [5401479

Docs

Release 6.5.0

24 Apr 09:05
Compare
Choose a tag to compare

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, added ElasticSearchQueryDSL 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