This release is compatible with Elasticsearch 2.x and was tested with elasticsearch 2.2.1.
Added
- Add an “AwsAuthV4” transport that automatically signs requests using credentials from the environment or from the client config. This allows using Elastica with Amazon ElasticSearch Service domains that are restricted to IAM roles or policies. https://github.com/ruflin/Elastica/pull/1056
- Update elasticsearch build dependency to elasticsearch 2.2.1
Improvements
Elastica\Exception\InvalidExceptionwill be thrown if you try using anElastica\Aggregation\AbstractSimpleAggregationwithout setting either thefieldorscriptparam.Elastica\Index->deleteByQuery($query, $options)$query param can be a queryarrayagainElastica\Query\MoreLikeThis->toArray()now supports providing a non-indexed document as an input to perform the comparison.Elastica\Statuswill lazy load the_statsat when it is needed. https://github.com/ruflin/Elastica/pull/1058