Skip to content

Releases: ongr-io/ElasticsearchDSL

v6.0.1

03 May 09:59
Compare
Choose a tag to compare

Change in this release

  • Minor fixes
  • Added weight option to the decay function #262

v5.0.3

03 May 09:58
83c4732
Compare
Choose a tag to compare

Change in this release

  • Minor fixes
  • Added weight option to the decay function #262

v6.0.0

11 Apr 12:53
Compare
Choose a tag to compare

Changes in this release

New stable version for Elasticsaerch 6.

  • Supports Symfony 3.x and 4.x
  • elasticsearch/elasticsearch moved to composer required dev dependencies
  • Dropped PHP 5 support
  • Added Elasticsearch 6 support

v6.0.0-beta

09 Mar 14:26
Compare
Choose a tag to compare
v6.0.0-beta Pre-release
Pre-release

Changes in this release

  • Dropped PHP 5 support
  • Added Elasticsearch 6 support

v5.0.2

04 Apr 12:14
Compare
Choose a tag to compare

Changes in this release

  • Allow lower random_compat version (#228)
  • Adding missing '_source_exclude' and '_source_include' parameters to URI whitelist (#229)

5.0.1

03 Feb 06:58
Compare
Choose a tag to compare

Changes in this release

  • Added missing scroll param to URL params (#202)

5.0.0

30 Jan 15:04
Compare
Choose a tag to compare

Changes in this release

New major version. The most important change is to add support for Elasticseach >=5.

To upgrade from 2.x to 5.x:

  • Namespace for some queries were changed. Queries were consolidated to a domain like Elasticsearch does. All queries were grouped to Compound, FullText, Geo, Joining, Span, Specialized and TermLevel.
  • Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::getStoredFields().
  • PHP version support changed to >=5.6
  • Added elasticsearch\elasticsearch to required dependency list in the composer.json.
  • Deprecated aggregations removed. Check if the namespace is correct. All aggregations grouped to Bucketing, Metric and Pipeline namespaces.
  • Search::getQueryParams() changed to Search::getUriParams(). All setter's for request URI parameters removed in favor of uriParams container. You can add URI parameters by addUriParam, and this function also has validation.
  • FilterEndpoint was removed due to deprecated filters in elasticsearch.

v2.2.2

30 Jan 07:37
Compare
Choose a tag to compare

Changes in this release

  • Changed query structure by grouping queries. #195

Like aggs, all queries are grouped to its domain level namespace (compound, term, etc). In 5.0 it will be removed.

v2.2.1

26 Jan 21:52
Compare
Choose a tag to compare

Changes in this release

  • Fixed function score for 2.x elastic.
  • Fixed bug in nested and reverse nested aggregations. (#173)
  • Fixed bool query key assign for some OS to avoid duplication.

v2.2.0

11 Nov 09:44
Compare
Choose a tag to compare

Changes in this release

  • Added support for elasticsearch 5.0 #166
  • Added functional tests to test library on elasticsearch 2.4 and 5.0

Notice

ONGR\ElasticsearchDSL\Query\MatchAllQuery:toArray() now returns \std() instead of empty array. This is because elasticsearch 5.0 client now doesn't accept empty array.