Backward Compatibility Breaks
- Changed
Elastica\Query\MatchQuery::setFieldParam()
signature to allow passing bool, float or int #1941 - Changed
Elastica\Query\MatchPhraseQuery::setFieldParam()
signature to allow passing bool, float or int #1944
Added
- Excluded
docker
directory in.gitattributes
#1938
Changed
- Included
Content-Type
HTTP header every time, whatever the content of the body is #1780 - Changed
Elastica\Status::indexExists()
,Elastica\Status::aliasExists()
andElastica\Status::getIndicesWithAlias()
signatures #1929 - Replaced
call_user_func()
andcall_user_func_array()
by direct calls #1923 - Replaced legacy constant
CURLINFO_HTTP_CODE
byCURLINFO_RESPONSE_CODE
#1931 - Updated
php-cs-fixer
to2.18.3
#1915 - Updated
composer-normalize
to2.13.3
#1927
Deprecated
- Deprecated
Elastica\Transport\HttpAdapter
class #1940
Fixed
- Fixed wrong
ltrim
usage in guzzle transport #1783 - Fixed
_seq_no
and_primary_term
wrong initialization #1920 - Fixed
Elastica\Connection\StrategyInterface
instance checks #1921 - Fixed various PHPDoc annotations #1922
- Fixed numeric index names are returned as
int
inElastica\Status::getIndexNames()
#1928 - Fixed using raw array in
post_filter
#1950