Releases: ongr-io/ElasticsearchDSL
Releases · ongr-io/ElasticsearchDSL
v6.0.1
v5.0.3
v6.0.0
v6.0.0-beta
Changes in this release
- Dropped PHP 5 support
- Added Elasticsearch 6 support
v5.0.2
5.0.1
5.0.0
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
andTermLevel
. Search::setFields()
andSearch::getFields()
were changed toSearch::setStoredFields()
andSearch::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
andPipeline
namespaces. Search::getQueryParams()
changed toSearch::getUriParams()
. All setter's for request URI parameters removed in favor ofuriParams
container. You can add URI parameters byaddUriParam
, and this function also has validation.FilterEndpoint
was removed due to deprecated filters in elasticsearch.
v2.2.2
v2.2.1
v2.2.0
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.