Release 3.2.2

@ruflin ruflin released this Aug 23, 2016 · 190 commits to master since this release

Bugfixes

  • Set HTTP headers on each request preventing server error if persistent connection is enabled and compression enabled and later disabled for the same connection.
  • Removed int type hinting in setMinimumMatch (Terms Query): it should also allow string. #1151

Added

  • Elastica\QueryBuilder\DSL\Query::geo_distance
  • Elastica\Aggregation\GeoCentroid #1150
  • Multi value field param for decay function.
  • Elastica\Client::getVersion #1152

Improvements

  • Set PHP 7.0 as default development version
  • Get the root reason from Elasticsearch's error JSON, when available #1111
  • Optimize memory usage for Http Adapter #1161

Changed

  • Remove JSON_ELASTICSEARCH constant as not needed anymore